svn commit: samba r2332 - in trunk/source/smbd: .

idra at samba.org idra at samba.org
Tue Sep 14 01:10:31 GMT 2004


Author: idra
Date: 2004-09-14 01:10:31 +0000 (Tue, 14 Sep 2004)
New Revision: 2332

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/smbd&rev=2332&nolog=1

Log:

check the script is not a 0 lenght string


Modified:
   trunk/source/smbd/chgpasswd.c


Changeset:
Modified: trunk/source/smbd/chgpasswd.c
===================================================================
--- trunk/source/smbd/chgpasswd.c	2004-09-14 00:21:11 UTC (rev 2331)
+++ trunk/source/smbd/chgpasswd.c	2004-09-14 01:10:31 UTC (rev 2332)
@@ -1047,7 +1047,7 @@
 	}
 
 	/* Use external script to check password complexity */
-	if (lp_check_password_script()) {
+	if (lp_check_password_script() && *(lp_check_password_script())) {
 		int check_ret;
 
 		check_ret = smbrunsecret(lp_check_password_script(), new_passwd);



More information about the samba-cvs mailing list