diff options
-rw-r--r-- | packaging/PHT/TurboLinux/smb.conf | 10 | ||||
-rw-r--r-- | packaging/RedHat/smb.conf | 10 |
2 files changed, 20 insertions, 0 deletions
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 |