Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity

Lukasz Zalewski lukas at dcs.qmul.ac.uk
Thu May 27 06:57:57 MDT 2010


On 05/27/2010 01:25 PM, Andrew Bartlett 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.
>
> Andrew Bartlett
>

Hi Andrew,
Indeed, it is a little bit confusing - attached is a new diff, which now 
makes newuser (with additional options) the only newuser command,
and renames newgroupadv to newgroup

Regards

Luk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newusergroup_v3.diff
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100527/a88178a5/attachment.ksh>


More information about the samba-technical mailing list