Samba4 patch for manipulating Unix attributes via ADUC

Andrew Bartlett abartlet at samba.org
Thu Jul 12 07:37:36 MDT 2012


On Thu, 2012-07-12 at 23:32 +1000, Andrew Bartlett wrote:
> 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. 

And finally, please format it as a git patch, so I can apply it.

ie 
git commit
git format-patch -1

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



More information about the samba-technical mailing list