summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-28 05:19:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:27 -0500
commit2b771cc5a6b7e751f18833a64b7130726750b0de (patch)
treec13711d69f176ba9d2ddaff49096875b16a9c9cf
parent37d53832a4623653f706e77985a79d84bd7c6694 (diff)
downloadsamba-2b771cc5a6b7e751f18833a64b7130726750b0de.tar.gz
samba-2b771cc5a6b7e751f18833a64b7130726750b0de.tar.bz2
samba-2b771cc5a6b7e751f18833a64b7130726750b0de.zip
r25404: fix the build
metze (This used to be commit 7d58d0c0c11005ffb6c03d98d53fea7f1ccbcd07)
-rw-r--r--source4/auth/auth_unix.c4
1 files 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;
}