Author: jerry Date: 2007-08-29 15:41:57 +0000 (Wed, 29 Aug 2007) New Revision: 1167
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=1167 Log: Add comment about the %o variable not generally being available Modified: trunk/smbdotconf/security/passwdchat.xml Changeset: Modified: trunk/smbdotconf/security/passwdchat.xml =================================================================== --- trunk/smbdotconf/security/passwdchat.xml 2007-08-23 20:43:59 UTC (rev 1166) +++ trunk/smbdotconf/security/passwdchat.xml 2007-08-29 15:41:57 UTC (rev 1167) @@ -1,6 +1,6 @@ <samba:parameter name="passwd chat" context="G" - type="string" + type="string" advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> <description> @@ -27,14 +27,18 @@ be executed on the NIS master. </para> + <para>The string can contain the macro <parameter + moreinfo="none">%n</parameter> which is substituted + for the new password. The old passsword (<parameter + moreinfo="none">%o</parameter>) is only available when + <smbconfoption name="encrypt passwords"/> 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.</para> - <para>The string can contain the macro <parameter moreinfo="none">%n</parameter> 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.</para> - <para>If the send string in any part of the chat sequence is a full stop ".", then no string is sent. Similarly, if the expect string is a full stop then no string is expected.</para> @@ -52,5 +56,5 @@ <related>pam password change</related> <value type="default">*new*password* %n\n*new*password* %n\n *changed*</value> -<value type="example">"*Enter OLD password*" %o\n "*Enter NEW password*" %n\n "*Reenter NEW password*" %n\n "*Password changed*"</value> +<value type="example">"*Enter NEW password*" %n\n "*Reenter NEW password*" %n\n "*Password changed*"</value> </samba:parameter>