[Samba] Samba does not replicate attributes added via ldbmodify

Rowland Penny rpenny at samba.org
Wed Oct 12 11:00:46 UTC 2022



On 12/10/2022 11:24, Ralf Spenneberg via samba wrote:
> Hi Rowland,
> 
> Am 12.10.22 um 12:17 schrieb Rowland Penny via samba:
>>
>>
>>
>> Have you run dbcheck on each database ?
> I just ran it. I had several (4)
> Fixed old DN string on attribute lastKnownParent
> on both.
>>
>> It may help if we could see a sanitised version of the ldif you added.
> 
> Here is an exerpt:
> dn: CN=user1,CN=Users,DC=ad,DC=domain,DC=de
> changetype: modify
> replace: proxyAddresses
> proxyAddresses: smtp:user1 at domain.de
> proxyAddresses: smtp:alias at domain.de
> 

Hmm, I would have done a 'delete' and 'add' for multivalue attributes:

dn: CN=user1,CN=Users,DC=ad,DC=domain,DC=de
changetype: modify
delete: proxyAddresses
proxyAddresses: smtp:user1 at domain.de
-
add: proxyaddresses
proxyAddressses: smtp:alias at domain.de
-

But as you say, it seems to have worked on one DC but not replicated to 
another, very strange.

Is replication working correctly except for this problem ?

Rowland




More information about the samba mailing list