Problem with Password sync

Techn. Account bh123 at
Sun Aug 1 08:40:38 GMT 1999

I'm trying to figure out how I can change to SMB password and UNIX password together.
On the Win98 I change the password via :
Control Panel - Passwords - Change Windows password (select also Microsoft Networking)
After a few seconds I get the message 'The password you typed is not correct for MS Networking'

Are there any known problems with password sync ? I read the digest 2112 till 2186, FAQ and docs.
Can someone help me out ?


Situation : 
Server : Red Hat 5.2 with Samba 1.9.18p10
Client : Win98 with Primary Network Logon = Windows Logon

Extract from /etc/smb.conf:
  domain logons = yes
  encrypt passwords = yes
  guest account = nobody
  logon script = logon.bat
  passwd chat = New\sUNIX\spassword* %n\n *Retype\snew\sUNIX\spassword* %n\n
  passwd chat debug = True
  passwd program = /usr/bin/passwd %u
  security = SERVER
  unix password sync = True
  username map = /etc/smbusers
  workgroup = HOME

Output from /usr/bin/passwd:
[root at pc00 root]# passwd bhaezlr
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully

Logging with debug level 100 while trying to  change password:
UNIX user 'bhaezlr' = SMB User 'BART'
Doing SamOEMChangePassword
api_SamOEMChangePassword: Change password for <BART>
Scanning username map /etc/smbusers
Mapped user BART to bhaezlr
get_smbpwd_entry: opening file /etc/smbpasswd
get_smbpwd_entry: search by name: bhaezlr
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: found by name: bhaezlr
get_smbpwd_entry: returning passwd entry for user bhaezlr, uid 501
Password change for user: bhaezlr
pty: try to open ptya0, line was /dev/ptyXX
pty: opened /dev/ptya0
Dochild for user bhaezlr (uid=0,gid=0)
talktochild: chatbuf=[New UNIX password*] responsebuf=[New UNIX password: ]
talktochild: sendbuf=[soon2000!
talktochild: chatbuf=[*Retype new UNIX password*] responsebuf=[
Retype new UNIX password: ]
talktochild: sendbuf=[soon2000!
The process exited while we were waiting

More information about the samba mailing list