[Samba] samba 4.5.1 DC: attribute names are upper-case converted on replication

Norbert Hanke norbert.hanke at gmx.ch
Wed Nov 16 23:00:05 UTC 2016


Hi,

I have set up a fresh DC from scratch using samba 4.5.1 with Bind9, 
added another DC, all strictly following the instructions in the samba wiki.

Samba was built from the source tarball on debian/raspbian 8u8 (Jessie), 
Bind9 is 9.9.5-9 coming with the OS.

Everything appears to be in a working order: I can join Windows 
workstations, add Users with RSAT, etc.

Only when comparing the content of the two DCs I get a strange result, 
some attribute names become upper-case on the second DC:


samba-tool ldapcmp ldap://dc1 ldap://dc2 domain --filter=whenChanged

shows countless records like

    Comparing:
'OU=Domain Controllers,DC=ad,DC=sprungweg,DC=ch' [ldap://dc1]
'OU=Domain Controllers,DC=ad,DC=sprungweg,DC=ch' [ldap://dc2]
Attributes found only in ldap://dc1:
ou
Attributes found only in ldap://dc2:
OU
FAILED

and the final result

* Result for [DOMAIN]: FAILURE


SUMMARY
---------

Attributes found only in ldap://dc1:

ou
cn
dc

Attributes found only in ldap://dc2:

OU
CN
DC
ERROR: Compare failed: -1


Is that the expected behaviour, or did I do something wrong?

I assume that the attribute case does not matter, but why does then 
ldapcmp complain about the difference in case?


regards,

Norbert




More information about the samba mailing list