[Samba] Password Sync

Oliver Schulze L. oliver at samera.com.py
Thu Jan 31 08:05:25 GMT 2002


In RedHat Linux 7.1 and samba 2.2.2 this is working fine:
  passwd program = /usr/bin/passwd %u
  passwd chat = *new*password* %n\n *new*password* %n\n *success*
  unix password sync = Yes

To obtain a working passwd chat, run passwd manually and look at the output.
Then, use that output to build the 'passwd chat' string

HTH
Oliver

Listas do Fernando wrote:

>Hi palls
>
>How can I syncronize LINUX and SAMBA passwords?
>I've tried to configure my smb.conf like this:
>
>[global]
>    encrypt passwords = no
>    smb passwrd file = /usr/local/private/smbpasswd
>    unix password file sync = yes
>    passwd program - changepass %u
>
>But doesn't works.
>When I type: # passwd user
>The programa only change the linux local password.
>
>Thanks.
>
>

-- 
Oliver Schulze L.
oliver at samera.com.py
Asuncion-Paraguay







More information about the samba mailing list