Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity

Lukasz Zalewski lukas at
Thu May 27 13:42:18 MDT 2010

On 27/05/2010 16:41, Michael Wood wrote:
> On 27 May 2010 14:25, Andrew Bartlett<abartlet at>  wrote:
>> On Thu, 2010-05-27 at 10:59 +0100, Lukasz Zalewski wrote:
>>> Hi all
>>> This is repost from samba mailing list, but the patch is different
>>> (fixed few bugs)
>>> As per Jelmer's request - in response to bug #7455 attached diff file.
>>> Please let me know what you think and if any modifications need to be
>>> performed
>>> Also i have noticed that when the account is created using AD's Users
>>> and Computers mmc utility the CN="FirstName Initials Surname" - and i
>>> think without those the account will not be created. S4 uses CN=username
>>> syntax which i prefer to be honest, but is this by design?
>> Why is this a separate command?  Surely we can just have options on the
>> existing command?
>> It's great to be able to set these things, but I don't like 'newuseradv'
>> as a name - it will just confuse things.
> I agree.  net is confusing enough as it is :)
> e.g.:
> 	password	Changes/Sets the password on a user account [server connection needed]
> [...]
> 	setpassword	(Re)sets the password on a user account

On the simmilar note,
there is also
	newuser		Creates a new user
	user		User management [server connection needed]

bin/net user
Available subcommands:

what is the difference between the two?



More information about the samba-technical mailing list