On 24/09/15 19:41, Paul van der Vlis wrote:
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.

Ah, well, that would be :

  --surname=SURNAME     User's surname
  --given-name=GIVEN_NAME
                        User's given name

Rowland




So far I know the username is "sAMAccountName" in Samba terms.

With regards,
Paul van der Vlis.



--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to