summaryrefslogtreecommitdiff
path: root/packaging/RedHat
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
commite4dfd67877e8ae2110613815f204442066993b54 (patch)
treebdf695ad822dfe581a51a5fdb1ffc266923a4035 /packaging/RedHat
parent6d3d5bec637e6a69dac7822f0bbd2d94777a9ee1 (diff)
downloadsamba-e4dfd67877e8ae2110613815f204442066993b54.tar.gz
samba-e4dfd67877e8ae2110613815f204442066993b54.tar.bz2
samba-e4dfd67877e8ae2110613815f204442066993b54.zip
Updating the password script and documenting password sync stuff.
(This used to be commit 2479fc2238757a64979903a8d79eeb14d99c7b29)
Diffstat (limited to 'packaging/RedHat')
-rw-r--r--packaging/RedHat/smb.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging/RedHat/smb.conf b/packaging/RedHat/smb.conf
index 1e5b920b11..bd9a8e15bc 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