[PATCH] msSFU30MaxUidNumber-when-creating-NIS-user

Rowland Penny repenny241155 at gmail.com
Tue May 19 07:43:21 MDT 2015

On 19/05/15 14:07, Rowland Penny wrote:
> This patch makes 'samba-tool user create' work like ADUC when creating 
> a NIS user, it will use the next uidNumber found in the 
> 'msSFU30MaxUidNumber' attribute, if this exists and is populated. If 
> there is no 'msSFU30MaxUidNumber' attribute, then AD is checked for 
> any 'uidNumber' attributes and if any are found, the users 'uidNumber' 
> attribute is set to the highest found + 1. If neither a 
> 'msSFU30MaxUidNumber' or 'uidNumber' attribute is found, then the 
> users 'uidNumber' is set to 10000 (as used by ADUC). Once the first 
> user is created, 'msSFU30MaxUidNumber' is set accordingly.
> Rowland

Lets try again with a patch that doesn't produce an error message when 
you create a normal AD user :-[

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-msSFU30MaxUidNumber-when-creating-NIS-user.patch
Type: text/x-diff
Size: 6983 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150519/c9e4c9f0/attachment.patch>

More information about the samba-technical mailing list