svn commit: samba r3683 - in branches/SAMBA_3_0/source/utils: .

jerry at samba.org jerry at samba.org
Thu Nov 11 18:11:41 GMT 2004


Author: jerry
Date: 2004-11-11 18:11:40 +0000 (Thu, 11 Nov 2004)
New Revision: 3683

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3683

Log:
BUG 2017: fix testparm reporting for the passwd program string
Modified:
   branches/SAMBA_3_0/source/utils/testparm.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/testparm.c
===================================================================
--- branches/SAMBA_3_0/source/utils/testparm.c	2004-11-11 17:40:49 UTC (rev 3682)
+++ branches/SAMBA_3_0/source/utils/testparm.c	2004-11-11 18:11:40 UTC (rev 3683)
@@ -145,7 +145,7 @@
 			ret = 1;
 		} else 
 		/* check if there's a %u parameter present */
-		if(strstr_m(lp_passwd_chat(), "%u") == NULL) {
+		if(strstr_m(lp_passwd_program(), "%u") == NULL) {
 			fprintf(stderr, "ERROR: the 'passwd program' (%s) requires a '%%u' parameter.\n", lp_passwd_program());
 			ret = 1;
 		}



More information about the samba-cvs mailing list