summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-01-07 09:54:41 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:10 -0500
commit18926ba2a2fc1aa967d70bf2db9ceafe720c702e (patch)
treebb2284522aec92fd8e6d6dd4055595ca209d71c6
parenta967ddf3de101e2010695421b6d5373dbc6909f4 (diff)
downloadsamba-18926ba2a2fc1aa967d70bf2db9ceafe720c702e.tar.gz
samba-18926ba2a2fc1aa967d70bf2db9ceafe720c702e.tar.bz2
samba-18926ba2a2fc1aa967d70bf2db9ceafe720c702e.zip
forgot to add docs for this new parameter
(This used to be commit 262449d3975055ca5329bbfc833c5fa05d96b94c)
-rw-r--r--docs/smbdotconf/security/checkpasswordscript.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/smbdotconf/security/checkpasswordscript.xml b/docs/smbdotconf/security/checkpasswordscript.xml
new file mode 100644
index 0000000000..f0d45ae378
--- /dev/null
+++ b/docs/smbdotconf/security/checkpasswordscript.xml
@@ -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>