From e4dfd67877e8ae2110613815f204442066993b54 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Tue, 10 Nov 1998 01:31:57 +0000 Subject: Updating the password script and documenting password sync stuff. (This used to be commit 2479fc2238757a64979903a8d79eeb14d99c7b29) --- packaging/PHT/TurboLinux/smb.conf | 10 ++++++++++ packaging/RedHat/smb.conf | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/packaging/PHT/TurboLinux/smb.conf b/packaging/PHT/TurboLinux/smb.conf index 1e5b920b11..bd9a8e15bc 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 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 -- cgit