Next update of VFS modules development guide
[ira/wip.git] / docs-xml / smbdotconf / security / checkpasswordscript.xml
1 <samba:parameter name="check password script"
2                  context="G"
3                                  type="string"
4                  advanced="1" developer="1"
5                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <description>
7     <para>The name of a program that can be used to check password
8     complexity. The password is sent to the program's standrad input.</para>
9  
10     <para>The program must return 0 on good password any other value otherwise.
11     In case the password is considered weak (the program do not return 0) the
12     user will be notified and the password change will fail.</para>
13
14     <para>Note: In the example directory there is a sample program called crackcheck
15     that uses cracklib to checkpassword quality.</para>
16
17 </description>
18
19 <value type="default">Disabled</value>
20 <value type="example">check password script = /usr/local/sbin/crackcheck</value>
21 </samba:parameter>