diff -Nurbd samba-3.0.34.orig/docs/htmldocs/manpages/smb.conf.5.html samba-3.0.34/docs/htmldocs/manpages/smb.conf.5.html --- samba-3.0.34.orig/docs/htmldocs/manpages/smb.conf.5.html 2009-01-19 11:46:05.000000000 +0100 +++ samba-3.0.34/docs/htmldocs/manpages/smb.conf.5.html 2009-05-27 10:01:21.000000000 +0200 @@ -869,12 +869,12 @@ check password script (G)

The name of a program that can be used to check password - complexity. The password is sent to the program's standrad input.

The program must return 0 on good password any other value otherwise. + complexity. The password is sent to the program's standard input.

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.

Note: In the example directory there is a sample program called crackcheck that uses cracklib to checkpassword quality.

Default: check password script = Disabled -

Example: check password script = check password script = /usr/local/sbin/crackcheck +

Example: check password script = /usr/local/sbin/crackcheck

diff -Nurbd samba-3.0.34.orig/docs/manpages/smb.conf.5 samba-3.0.34/docs/manpages/smb.conf.5 --- samba-3.0.34.orig/docs/manpages/smb.conf.5 2009-01-19 11:44:00.000000000 +0100 +++ samba-3.0.34/docs/manpages/smb.conf.5 2009-05-27 09:59:48.000000000 +0200 @@ -1488,7 +1488,7 @@ check password script (G) .PP .RS 4 -The name of a program that can be used to check password complexity\. The password is sent to the program\'s standrad input\. +The name of a program that can be used to check password complexity\. The password is sent to the program\'s standard input\. .sp 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\. .sp @@ -1498,7 +1498,7 @@ \fI\fIcheck password script\fR\fR\fI = \fR\fIDisabled\fR\fI \fR .sp Example: -\fI\fIcheck password script\fR\fR\fI = \fR\fIcheck password script = /usr/local/sbin/crackcheck\fR\fI \fR +\fI\fIcheck password script\fR\fR\fI = \fR\fI/usr/local/sbin/crackcheck\fR\fI \fR .RE client lanman auth (G) diff -Nurbd samba-3.0.34.orig/docs-xml/smbdotconf/security/checkpasswordscript.xml samba-3.0.34/docs-xml/smbdotconf/security/checkpasswordscript.xml --- samba-3.0.34.orig/docs-xml/smbdotconf/security/checkpasswordscript.xml 2009-01-19 11:40:09.000000000 +0100 +++ samba-3.0.34/docs-xml/smbdotconf/security/checkpasswordscript.xml 2009-05-27 10:04:01.000000000 +0200 @@ -5,7 +5,7 @@ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> The name of a program that can be used to check password - complexity. The password is sent to the program's standrad input. + complexity. The password is sent to the program's standard input. 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 @@ -17,5 +17,5 @@ Disabled -check password script = /usr/local/sbin/crackcheck +/usr/local/sbin/crackcheck