summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-11-10 01:31:57 +0000
committerJohn Terpstra <jht@samba.org>1998-11-10 01:31:57 +0000
commit2479fc2238757a64979903a8d79eeb14d99c7b29 (patch)
treeed10fb3d2d9c896b4b690a20e84382749471cad9
parent941f1fcdb9d32600c14d1a533fbadda9d9c33cf7 (diff)
downloadsamba-2479fc2238757a64979903a8d79eeb14d99c7b29.tar.gz
Updating the password script and documenting password sync stuff.
-rw-r--r--packaging/PHT/TurboLinux/smb.conf10
-rw-r--r--packaging/RedHat/smb.conf10
2 files changed, 20 insertions, 0 deletions
diff --git a/packaging/PHT/TurboLinux/smb.conf b/packaging/PHT/TurboLinux/smb.conf
index 1e5b920b11e..bd9a8e15bcc 100644
--- a/packaging/PHT/TurboLinux/smb.conf
+++ b/packaging/PHT/TurboLinux/smb.conf
@@ -65,6 +65,16 @@
; 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
diff --git a/packaging/RedHat/smb.conf b/packaging/RedHat/smb.conf
index 1e5b920b11e..bd9a8e15bcc 100644
--- a/packaging/RedHat/smb.conf
+++ b/packaging/RedHat/smb.conf
@@ -65,6 +65,16 @@
; 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