Hello! First off, sorry for my bad english, english is like my 3rd language.
Anyway, I'm currently working on getting a Samba server to work with user security level. The OS I'm using is Debian 4 Etch.
I'm supposed to be able to sync the samba users passwords with /etc/passwd, but how?
In smb.conf I found these lines
Quote:
passwd program = /usr/bin/passwd %u
passwd chat= *Enter\snew\sUnix\spassword:* %n\n *Retype\snew\sUnix\password:* %n\n *password\supdated\ssuccessfully* .
|
But I don't understand how to use it T_T Do I have to put them in a certain script or what?
And I found out I have to have a smb passwd file, so I defined it in the smb.conf with
Quote:
|
smb passwd file = /etc/samba/smbpasswd
|
When I try to change the linux user password by doing
/usr/bin/passwd name
I can change the linux password fine, but it doesn't write into the above defined /etc/samba/passwd.
Can anyone help me? I've been googling the past 2 days and looked around many forums, but so far I didn't find an answer ;;. All I found so far were outdated things from 1998, which don't contain any useful info anyway.