Samba4: idmap replication between 2 DC's [SOLVED]

steve steve at steve-ss.com
Thu Jul 19 08:28:35 MDT 2012


On 19/07/12 15:02, steve wrote:
> On 19/07/12 14:50, Sergey Urushkin wrote:
>>
>> 19.07.2012 16:41, steve пишет:
>>> On 19/07/12 13:55, Sergey Urushkin wrote:
>>>>
>>>>
>>>> Steve, could you test it?
>>>>
>>>> Thanks.
>>>>
>>> Hi Sergey,
>>> That's great news. Yes of course I'll test it.
>>> Could you take me through how to apply it?
>>>
>>> As I see it, I remove:
>>>   if (account_type & ATYPE_ACCOUNT) {
>>> and replace with:
>>>   if (account_type == ATYPE_ACCOUNT) {
>>>
>>> Will that do it?
>>>
>>>
>> Hi!
>>
>> Yes it should. Or simply copy all text to a file and then:
>> # cd samba-master
>> # patch -p1 < path/to/file
>>
> Yep. OK
> I commented:
> /*if (account_type & ATYPE_ACCOUNT) { */
> and replaced it with:
>   if (account_type == ATYPE_ACCOUNT) {
>
> Am at 1683/3940 of make at the moment
>
> Looking good. Will be back.
> Cheers,
> Steve

Hi Sergey, hi everyone

The build worked fine. Absolutely perfect. Thank you.

Summary and cleanup:
  idmap_ldb:use rfc2307 = yes

Creating a new posixGroup now no longer writes to idmap.ldb. Both
getent group <group>
and
wbinfo --group-info=<group>
return the same values anywhere in the domain.

I've marked this as [SOLVED] but would it be possible to push it to 
master for others?

I also have a bugzilla:
https://bugzilla.samba.org/show_bug.cgi?id=9045
Should I link to this thread and mark as [RESOLVED]?

Cheers,
Steve


More information about the samba-technical mailing list