From 2b771cc5a6b7e751f18833a64b7130726750b0de Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 28 Sep 2007 05:19:37 +0000 Subject: r25404: fix the build metze (This used to be commit 7d58d0c0c11005ffb6c03d98d53fea7f1ccbcd07) --- source4/auth/auth_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/auth/auth_unix.c b/source4/auth/auth_unix.c index bc2fddee06..faec834d95 100644 --- a/source4/auth/auth_unix.c +++ b/source4/auth/auth_unix.c @@ -599,7 +599,7 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersuppl 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 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersuppl #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; } -- cgit