[Samba] SOLVED Can't joint domain per LDAP slave servers
Daniel.Beschorner at facton.de
Thu Jun 3 19:44:42 GMT 2004
Both systems are Linux.
I compiled the LDAP slave Samba with CFLAGS="-O2 -march=i686" and SuSE's GCC
The fine working master got the same CFLAGS but SuSE's GCC 2.95.3.
Without CFLAGS the GCC 3.3.1 works fine too.
Didn't know that optimization (and GCC>3) is that dangerous....
We have a replicated LDAP Samba network.
I tried all versions since 3.0.2a (master and slaves), but only in the
network with the master LDAP server I can join the domain successfully.
The slave's smbd ends up with:
[2004/06/03 19:29:58, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(786)
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2004/06/03 19:29:58, 0] libsmb/smbencrypt.c:decode_pw_buffer(521)
decode_pw_buffer: incorrect password length (-1061250291).
[2004/06/03 19:29:58, 0] libsmb/smbencrypt.c:decode_pw_buffer(522)
decode_pw_buffer: check that 'encrypt passwords = yes'
and "incorrect user name" is displayed by the client.
The machine accounts are manually created.
More information about the samba