Ralf Spenneberg
2022-Oct-12 10:24 UTC
[Samba] Samba does not replicate attributes added via ldbmodify
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> > Also, have you tried explicitly asking for the attribute, some > attributes are only shown if you ask for them in this way.Well on the first dc it works fine using ldbsearch -H /var/lib/samba/private/sam.ldb '(proxyaddresses=*)' dn proxyaddresses On the second the set attributes are not shown. Thanks a lot for your help. Ralf
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