Results 1 to 1 of 1
I want to integrate SAMBA with PAM and the local user system. Samba with user security but i dont want to add users with smbpasswd and set passwords thru smbpasswd. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-27-2004 #1
- Join Date
- Apr 2003
Samba with sercurity=user but with PAM integration?
I want to integrate SAMBA with PAM and the local user system. Samba with user security but i dont want to add users with smbpasswd and set passwords thru smbpasswd.
If i change a users password with passwd, it shall automaticly change the samba password also. I know that shall be possible but dont find any good howtos. I´m using Samba 3, and this is my smb.conf
# Global parameters [global] unix password sync = yes passwd program = /usr/bin/passwd %u netbios name = TESTSERVER workgroup = STANDALONE server string = Linux Samba server server string = TESTSERVER security = user syslog = 0 log file = /var/log/samba/log.%m max log size = 0 local master = No read only = No case sensitive = Yes dos filetime resolution = Yes log level = 2 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd [test] comment = Test share for standalone path = /var/kalle browseable = yes writable = yes create mask = 0644 valid users = +adminRegards