summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/security/checkpasswordscript.xml
blob: f0d45ae3784a1cc28616de8651f2f79fe206317e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>