[Samba] Full list of options when using samba-tool user create

Mario Pio Russo mariopiorusso at ie.ibm.com
Fri May 1 06:54:30 MDT 2015

Thanks Andrey

Unfortunately those flags are at the moment mandatory for our project, so I
am forced to use them.

"net help ads user add"

is a good tool, I'll look into it thanks!

for the moment I have just done a script with an "ldapmodify" at the end
that updates that missing field, and I'll keep this solution for now,


Mario Pio Russo, System Admin SWG IT Services Dublin, Phone & FAX: +353 1
815 2236, eMail: mariopiorusso at ie.ibm.com
IBM Ireland Product Distribution Limited registered in Ireland with number
92815. Registered Office: IBM House, Shelbourne Road, Ballsbridge, Dublin 4

(Embedded image moved to file: pic38164.gif)

From:	Andrey Repin <anrdaemon at yandex.ru>
To:	Mario Pio Russo/Ireland/IBM at IBMIE, samba at lists.samba.org
Date:	01/05/2015 03:09
Subject:	Re: [Samba] Full list of options when using samba-tool  user

Greetings, Mario Pio Russo!

> Good Day All

> I need the full list of option supported by the command samba-tool create
> user.

> the online help does not provide them all, in fact I see:

> >8

> while I am able to use few extra options like the following:

> --nis-domain  --uid-number  --unix-home

Use of these options (especially --uid-number) is highly discouraged, as
do not increment the internal counter and essentially break the GUI tools
ADUC, leaving the SAM database in a messy state.

> in particular I 'd like know if it is possible to populate the field:

> "displayName"

> at creation time, w/o using an ldappodify after creation .

net help ads user add

With best regards,
Andrey Repin
Friday, May 1, 2015 03:01:32

Sorry for my terrible english...

More information about the samba mailing list