Samba4 patch for manipulating Unix attributes via ADUC

Gémes Géza geza at kzsdabas.hu
Thu Jul 12 07:41:54 MDT 2012


2012-07-12 15:32 keltezéssel, Andrew Bartlett írta:
> 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
>
Attached

Cheers

Geza Gemes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fake_ypserver.diff
Type: text/x-patch
Size: 21512 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120712/cafa47e2/attachment.bin>


More information about the samba-technical mailing list