From 3a516c6b2f4afe2f4e835a1122b13fbb4f0ca4fe Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 29 Aug 2007 15:41:57 +0000 Subject: Add comment about the %o variable not generally being available (This used to be commit cc38ef35de03a5a476e171f2b3ee4875a27bbd39) --- docs/smbdotconf/security/passwdchat.xml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/smbdotconf/security/passwdchat.xml b/docs/smbdotconf/security/passwdchat.xml index 32ae5b3033..da18142dfa 100644 --- a/docs/smbdotconf/security/passwdchat.xml +++ b/docs/smbdotconf/security/passwdchat.xml @@ -1,6 +1,6 @@ @@ -27,13 +27,17 @@ be executed on the NIS master. - - The string can contain the macro %n which is substituted - for the new password. The chat sequence can also contain the standard - macros \n, \r, \t and \s to - give line-feed, carriage-return, tab and space. The chat sequence string can also contain - a '*' which matches any sequence of characters. Double quotes can be used to collect strings with spaces - in them into a single string. + The string can contain the macro %n which is substituted + for the new password. The old passsword (%o) is only available when + has been disabled. + The chat sequence can also contain the standard macros + \n, \r, \t and \s to give line-feed, carriage-return, tab + and space. The chat sequence string can also contain + a '*' which matches any sequence of characters. Double quotes can + be used to collect strings with spaces in them into a single + string. If the send string in any part of the chat sequence is a full stop ".", then no string is sent. Similarly, if the @@ -52,5 +56,5 @@ pam password change *new*password* %n\n*new*password* %n\n *changed* -"*Enter OLD password*" %o\n "*Enter NEW password*" %n\n "*Reenter NEW password*" %n\n "*Password changed*" +"*Enter NEW password*" %n\n "*Reenter NEW password*" %n\n "*Password changed*" -- cgit