tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dirk Kleinhesselink <dkleinh@phy.ucsf.edu>
Subject: samba password sync on tru64 5.1A
Date: Fri, 21 Mar 2003 15:50:37 -0800 (PST)	[thread overview]
Message-ID: <Pine.OSF.4.21.0303211539510.137399-100000@amadeus.ucsf.edu> (raw)

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



                 reply	other threads:[~2003-03-21 23:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox