[Samba] RE: [Samba] "unix password sync" doesn´t work !

Kaleb Pederson kibab at asc.ewu.edu
Fri Jun 14 12:22:03 GMT 2002

I would check out the following:

passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n

type passwd as if you were to change your unix password manually, now make
sure the above text matches up.

You might find that the "ReType*new..." should be "Retype*new...".  If they
don't match up exactly, it won't work.  I know that mine has to be a
lowercase 't' in "Retype".

I'm not sure what the error is, but perhaps that will help.

  -----Original Message-----
  From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Patrick Roberto
  Sent: Friday, June 14, 2002 12:03 PM
  To: Samba
  Subject: [Samba] "unix password sync" doesn´t work !

  Hello ...
  This is my first message to the list  (sorry my bad english :-D)

  I have a recent instalation of RedHat 7.2 in my computer, whithout Samba
.... i installed version 2.2.4 now, but i have a BIG problem ... take a

  - When the option "unix password sync" is set to "No", the users change
their passwords with smbpasswd command ...
  but :
  - When the option "unix password sync" is set to "Yes", i try to change
password with smbpasswd command and have a error:

  [test2 at server test2]$ smbpasswd
  Old SMB password:
  New SMB password:
  Retype new SMB password:
  machine rejected the password change: Error was: RAP86: The
specified password is invalid
  Failed to change password for test2

  look my smb.conf:
   workgroup = MYGROUP
   netbios name = SERVER
   security = USER
   encrypt passwords = Yes
   update encrypted = Yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
   passwd chat debug = Yes
   passwd program = /usr/bin/passwd %u

  I try changing the "passwd chat" option , adding: *Old Pasword* %o\n ..
not sucess !

  Any idea ???

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba mailing list