s4-param make lpcfg_sam_name() cope with PDC and BDC roles
[Samba.git] / docs-xml / smbdotconf / security / checkpasswordscript.xml
blob13449976ad09243015168b8274252bcd5e8f1c40
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 standard input.</para>
9  
10     <para>The program must return 0 on a good password, or any other value
11     if the password is bad.
12     In case the password is considered weak (the program does not return 0) the
13     user will be notified and the password change will fail.</para>
15     <para>Note: In the example directory is a sample program called <command moreinfo="none">crackcheck</command>
16     that uses cracklib to check the password quality.</para>
18 </description>
20 <value type="default">Disabled</value>
21 <value type="example">/usr/local/sbin/crackcheck</value>
22 </samba:parameter>