forgot to add docs for this new parameter
authorSimo Sorce <idra@samba.org>
Fri, 7 Jan 2005 09:54:41 +0000 (09:54 +0000)
committerGerald W. Carter <jerry@samba.org>
Wed, 23 Apr 2008 16:51:32 +0000 (11:51 -0500)
docs/smbdotconf/security/checkpasswordscript.xml [new file with mode: 0644]

diff --git a/docs/smbdotconf/security/checkpasswordscript.xml b/docs/smbdotconf/security/checkpasswordscript.xml
new file mode 100644 (file)
index 0000000..f0d45ae
--- /dev/null
@@ -0,0 +1,21 @@
+<samba:parameter name="check password script"
+                 context="G"
+                                type="string"
+                 advanced="1" developer="1"
+                 xmlns:samba="http://samba.org/common">
+<description>
+    <para>The name of a program that can be used to check password
+    complexity. The password is sent to the program's standrad input.</para>
+    <para>The program must return 0 on good password any other value otherwise.
+    In case the password is considered weak (the program do not return 0) the
+    user will be notified and the password change will fail.</para>
+
+    <para>Note: In the example directory there is a sample program called crackcheck
+    that uses cracklib to checkpassword quality</para>.
+
+</description>
+
+<value type="default">Disabled</value>
+<value type="example">check password script = /usr/local/sbin/crackcheck</value>
+</samba:parameter>