Samba4 patch for manipulating Unix attributes via ADUC

Andrew Bartlett abartlet at samba.org
Thu Jul 12 07:32:58 MDT 2012


On Thu, 2012-07-12 at 15:26 +0200, Gémes Géza wrote:
> 2012-07-12 15:15 keltezéssel, Andrew Bartlett írta:
> > On Thu, 2012-07-12 at 15:13 +0200, Gémes Géza wrote:
> >> 2012-07-12 15:04 keltezéssel, Andrew Bartlett írta:
> >>> On Thu, 2012-07-12 at 14:37 +0200, Gémes Géza wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> It seems, that ADUC has a built in default (both for uids and guids):
> >>>> 10000. After setting the value for a user/group the corresponding
> >>>> msSFU30MaxUidNumber/msSFU30MaxGidNumber gets filled.
> >>>>
> >>>> Shall I remove those attributes from the ldif for now?
> >>> Yes.
> >>>
> >>> Thanks,
> >>>
> >>> Andrew Bartlett
> >>>
> >> What about having maxuid=None and maxgid=None and if the user sets them
> >> at provision the attributes would get set?
> > Let's do that as a separate patch.  I want to think about the help text
> > some more.
> >
> > Thanks,
> >
> > Andrew Bartlett
> >
> Sorry,
> 
> I've sent a wrong patch previously

This is looking good.  Just remove the maxuid/gid stuff from the
provision script and provision(), rather than commenting it out or
explicitly passing None. 

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list