svn commit: samba r25404 - in branches/SAMBA_4_0/source/auth: .

metze at samba.org metze at samba.org
Fri Sep 28 05:19:38 GMT 2007


Author: metze
Date: 2007-09-28 05:19:37 +0000 (Fri, 28 Sep 2007)
New Revision: 25404

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

Log:
fix the build

metze
Modified:
   branches/SAMBA_4_0/source/auth/auth_unix.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_unix.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_unix.c	2007-09-28 04:21:54 UTC (rev 25403)
+++ branches/SAMBA_4_0/source/auth/auth_unix.c	2007-09-28 05:19:37 UTC (rev 25404)
@@ -599,7 +599,7 @@
 	char *crypted;
 	struct passwd *pws;
 	NTSTATUS nt_status;
-	int level = lp_passwordlevel();
+	int level = lp_passwordlevel(global_loadparm);
 
 	*ret_passwd = NULL;
 
@@ -702,7 +702,7 @@
 #endif
 
 	if (crypted[0] == '\0') {
-		if (!lp_null_passwords()) {
+		if (!lp_null_passwords(global_loadparm)) {
 			DEBUG(2, ("Disallowing %s with null password\n", username));
 			return NT_STATUS_LOGON_FAILURE;
 		}



More information about the samba-cvs mailing list