Updating the password script and documenting password sync stuff.
authorJohn Terpstra <jht@samba.org>
Tue, 10 Nov 1998 01:31:57 +0000 (01:31 +0000)
committerJohn Terpstra <jht@samba.org>
Tue, 10 Nov 1998 01:31:57 +0000 (01:31 +0000)
(This used to be commit 2479fc2238757a64979903a8d79eeb14d99c7b29)

packaging/PHT/TurboLinux/smb.conf
packaging/RedHat/smb.conf

index 1e5b920b11ed53e690c984a505c4426b3c33ffa3..bd9a8e15bcc3e84f2b1ce7cc7669d967a0c902af 100644 (file)
 ;  encrypt passwords = yes
 ;  smb passwd file = /etc/smbpasswd
 
+# The following are needed to allow password changing from Windows to
+# update the Linux sytsem password also.
+# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
+# NOTE2: You do NOT need these to allow workstations to change only
+#        the encrypted SMB passwords. They allow the Unix password
+#        to be kept in sync with the SMB password.
+;  unix password sync = Yes
+;  passwd program = /usr/bin/passwd %u
+;  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
+
 # Unix users can map to different SMB User names
 ;  username map = /etc/smbusers
 
index 1e5b920b11ed53e690c984a505c4426b3c33ffa3..bd9a8e15bcc3e84f2b1ce7cc7669d967a0c902af 100644 (file)
 ;  encrypt passwords = yes
 ;  smb passwd file = /etc/smbpasswd
 
+# The following are needed to allow password changing from Windows to
+# update the Linux sytsem password also.
+# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
+# NOTE2: You do NOT need these to allow workstations to change only
+#        the encrypted SMB passwords. They allow the Unix password
+#        to be kept in sync with the SMB password.
+;  unix password sync = Yes
+;  passwd program = /usr/bin/passwd %u
+;  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
+
 # Unix users can map to different SMB User names
 ;  username map = /etc/smbusers