[Samba] Problem with samba+openldap with regard changing passwords from windows

Edmundo Valle Neto edmundo.valle at terra.com.br
Wed Feb 20 17:46:39 GMT 2008


> Here you go...
> http://pastebin.com/f61c911dd - logs
> In answer to your questions...
> Yeah that command works as root on the CLI
> Samba version is 3.0.25b-1.el5_1.4
> No I used the RPM's
> OpenLDAP version...
> slapd -V
> @(#) $OpenLDAP: slapd 2.3.27 (Nov 10 2007 09:24:08) $
> mockbuild at builder6.centos.org:/builddir/build/BUILD/openldap-2.3.27/openldap-2.3.27/build-servers/servers/slapd 
> Many thanks for your help.  It is much appreciated.
> Alan

[2008/02/20 10:06:11, 3] smbd/chgpasswd.c:chat_with_program(430)
  chat_with_program: Dochild for user alan (uid=0,gid=0) (as_root = Yes)
[2008/02/20 10:06:14, 2] smbd/chgpasswd.c:expect(285)
  expect: Success
[2008/02/20 10:06:14, 3] smbd/chgpasswd.c:talktochild(316)
  Response 1 incorrect

Your log is showing that something is going wrong when chating with the 
passwd program.

1. Asking again, have you tried to use only "ldap passwd sync = yes and 
unix password sync = no"? This way the password program is not used.

2. Enable password chat debug "passwd chat debug = yes" and raise the 
log level to 100 in the related debug class, "log level = 3 smb:100". It 
will print even your passwords used in the chat.

You can raise the log level to a specific machine if you have other 
useless traffic together:

Or the error is there or you have a samba version with a broken password 
chat processing (I dont know CentOS).


Edmundo Valle Neto

More information about the samba mailing list