Rowland Penny
2022-Oct-12 11:00 UTC
[Samba] Samba does not replicate attributes added via ldbmodify
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
Ralf Spenneberg
2022-Oct-12 12:19 UTC
[Samba] Samba does not replicate attributes added via ldbmodify
Hi Rowland, Am 12.10.22 um 13:00 schrieb Rowland Penny via samba:> Hmm, I would have done a 'delete' and 'add' for multivalue attributes:Ok. Thanks for the input.> > But as you say, it seems to have worked on one DC but not replicated to > another, very strange.Correct.> > Is replication working correctly except for this problem ?This is the result of samba-tool drs showrepl on the second DC which does not have these attributes. Everything looks ok for me. Default-First-Site-Name\BACKUP-BDC DSA Options: 0x00000001 DSA object GUID: 46747855-ab80-4d57-b8dc-99a124334836 DSA invocationId: b2d505da-e157-4416-b434-c4f0d26f6093 ==== INBOUND NEIGHBORS === CN=Configuration,DC=ad,DC=domain,DC=de Default-First-Site-Name\PRIMARY via RPC DSA object GUID: 92492375-13b4-4b53-9520-9dd6f91e7eae Last attempt @ Wed Oct 12 14:14:05 2022 CEST was successful 0 consecutive failure(s). Last success @ Wed Oct 12 14:14:05 2022 CEST CN=Schema,CN=Configuration,DC=ad,DC=domain,DC=de Default-First-Site-Name\PRIMARY via RPC DSA object GUID: 92492375-13b4-4b53-9520-9dd6f91e7eae Last attempt @ Wed Oct 12 14:14:05 2022 CEST was successful 0 consecutive failure(s). Last success @ Wed Oct 12 14:14:05 2022 CEST DC=ForestDnsZones,DC=ad,DC=domain,DC=de Default-First-Site-Name\PRIMARY via RPC DSA object GUID: 92492375-13b4-4b53-9520-9dd6f91e7eae Last attempt @ Wed Oct 12 14:14:04 2022 CEST was successful 0 consecutive failure(s). Last success @ Wed Oct 12 14:14:04 2022 CEST DC=DomainDnsZones,DC=ad,DC=domain,DC=de Default-First-Site-Name\PRIMARY via RPC DSA object GUID: 92492375-13b4-4b53-9520-9dd6f91e7eae Last attempt @ Wed Oct 12 14:15:56 2022 CEST was successful 0 consecutive failure(s). Last success @ Wed Oct 12 14:15:56 2022 CEST DC=ad,DC=domain,DC=de Default-First-Site-Name\PRIMARY via RPC DSA object GUID: 92492375-13b4-4b53-9520-9dd6f91e7eae Last attempt @ Wed Oct 12 14:14:05 2022 CEST was successful 0 consecutive failure(s). Last success @ Wed Oct 12 14:14:05 2022 CEST Ralf