samba password sync on tru64 5.1A

From: Dirk Kleinhesselink (dkleinh@phy.ucsf.edu)
Date: Fri Mar 21 2003 - 18:50:37 EST


I have a tru64 5.1A system and I have samba 2.2.8 installed. I want to
use the password syncronization feature so that the windows style
passwords can simultaneously be changed with the UNIX password. We run
NIS and I think I've made the proper entries in the samba configuration
file, but it always fails. I've turned on all debugging and I see this
in my logs:

[2003/03/21 11:11:33, 3] smbd/chgpasswd.c:(428)
  Dochild for user djk (uid=0,gid=0)
[2003/03/21 11:11:33, 3] smbd/chgpasswd.c:(209)
  Invoking '/bin/yppasswd djk' as password change program.
[2003/03/21 11:11:34, 3] smbd/chgpasswd.c:(264)
  expect: expected [Old] received [Password unchanged. ] match no
[2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(264)
  expect: expected [Old] received [] match no
[2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(276)
  expect: returning False
[2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(302)
  Response 1 incorrect
[2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(361)
  Child failed to change password: djk
[2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(406)
  The status of the process exiting was 256

It looks like the spawned /bin/yppasswd process does not properly
communcate with the parent process -- when I invoke it in a shell, it
always prompts: Old NIS password:
The response the logs produce is the response I get if I run the yppasswd
program and just press return at each prompt, then the last thing it will
print is: Password unchanged.

Anyone know how to get the password synchronization with samba working ?

Thanks,

Dirk



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:13 EDT