Op 24-09-15 om 19:13 schreef Rowland Penny: > On 24/09/15 16:57, Paul van der Vlis wrote: >> Op 24-09-15 om 08:27 schreef Martin Simovic: >> >>> samba-tool has these options, invoke help to list all of them. >> I found an option "--mail-address=" for samba-tool what works, but it is >> not documented in the man-page or in the help (Samba 4.1.17). > > As far as I am aware, setting the mail address has always been there: > > root@dc01:~# samba -V > Version 4.1.17-Debian > > samba-tool user create --help > --mail-address=MAIL_ADDRESS > User's email address
Ah, thanks! > I did not found an option to set the common name in samba-tool. I will > search further, thanks for you help! > > --use-username-as-cn Force use of username as user's CN I want e.g. "john" as username and "John Doe" as CN. so not the same. So far I know the username is "sAMAccountName" in Samba terms. With regards, Paul van der Vlis. -- Paul van der Vlis Linux systeembeheer Groningen https://www.vandervlis.nl/ -- users@sogo.nu https://inverse.ca/sogo/lists