Hi,use pam sync
I'm new to Samba so I apologize if this topic has been covered in the past.
I want to sync my UNIX users from /etc/shadow to my Samba users in /etc/samba/smbpasswd
How can I do this automatically?
Thanks!
Tim Mektrakarn Systems Engineer Loud Packet, Inc. 27455 Tierra Alta Way, Suite A Temecula, CA 92590 Mobile: 909.757.5129 Office: 714.263.9090 Fax: 714.263.9001 Email: [EMAIL PROTECTED] Website: www.loudpacket.com
*** http://www.VoIP-Forums.com *** *** http://www.SIP-Forums.com ***
/etc/pam.d/login should have something like this
#%PAM-1.0
# password-sync
#
# A sample PAM configuration that shows the use of pam_smbpass to make
# sure private/smbpasswd is kept in sync when /etc/passwd (/etc/shadow)
# is changed. Useful when an expired password might be changed by an
# application (such as ssh).
auth requisite pam_nologin.so
auth required pam_unix.so
account required pam_unix.so
password requisite pam_cracklib.so retry=3
password requisite pam_unix.so shadow md5 use_authtok try_first_pass
password required pam_smbpass.so nullok use_authtok try_first_pass
session required pam_unix.so
######################################################################################
Regards
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba