[Samba] ldapcmp failed after windows server 2012 AD joined

Rowland Penny rpenny at samba.org
Fri Mar 25 10:39:58 UTC 2022


On Fri, 2022-03-25 at 18:23 +0800, Adam Xu via samba wrote:
> Hi Rowland,
> 
> Thanks for your quick reply.
> 
> I also got a problem. sometimes when I Comparing [DOMAIN] context:
> 
> some users may have different attribute values in userParameters,such
> as:
> 
> Comparing:
> 'COM=jack,OU=DISABLED USERS,OU=SUZHOU,DC=NTBAOBEI,DC=COM'
> [ldap://DC1]
> 'COM=jack,OU=DISABLED USERS,OU=SUZHOU,DC=NTBAOBEI,DC=COM'
> [ldap://DC4]
>      Difference in attribute values:
>          userParameters =>
> [b' \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 
> \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00
> \x00 
> \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00
> \x00 
> \x00 \x00 \x00 \x00 \x00 \x00 
> \x00P\x00\x04\x00\x1a\x00\x08\x00\x01\x00C\x00t\x00x\x00C\x00f\x00g\x
> 00P\x00r\x00e\x00s\x00e\x00n\x00t\x00551e0bb0\x18\x00\x08\x00\x01\x00
> C\x00t\x00x\x00C\x00f\x00g\x00F\x00l\x00a\x00g\x00s\x001\x0000f0e0f7\
> x12\x00\x08\x00\x01\x00C\x00t\x00x\x00S\x00h\x00a\x00d\x00o\x00w\x000
> 1000000*\x00\x02\x00\x01\x00C\x00t\x00x\x00M\x00i\x00n\x00E\x00n\x00c
> \x00r\x00y\x00p\x00t\x00i\x00o\x00n\x00L\x00e\x00v\x00e\x00l\x0001']
> [b' 
> P\x04\x1a\x08\x01CtxCfgPresent\xe3\x94\xb5\xe6\x94\xb1\xe6\x88\xb0\xe
> 3\x81\xa2\x18\x08\x01CtxCfgFlags1\xe3\x80\xb0\xe3\x81\xa6\xe3\x81\xa5
> \xe3\x9d\xa6\x12\x08\x01CtxShadow\xe3\x84\xb0\xe3\x80\xb0\xe3\x80\xb0
> \xe3\x80\xb0*\x02\x01CtxMinEncryptionLevel\xe3\x84\xb0']
> 
> Can I ignore this too?

Possibly, we seem to have a couple of bugs about this:

https://bugzilla.samba.org/show_bug.cgi?id=9835

https://bugzilla.samba.org/show_bug.cgi?id=8077

Rowland





More information about the samba mailing list