summaryrefslogtreecommitdiff
path: root/source4/auth/auth_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_server.c')
-rw-r--r--source4/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_server.c b/source4/auth/auth_server.c
index 36637edd57..6502564dca 100644
--- a/source4/auth/auth_server.c
+++ b/source4/auth/auth_server.c
@@ -206,7 +206,7 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context
* password file.
*/
- if (lp_is_myname(global_loadparm, user_info->domain.str)) {
+ if (lp_is_myname(auth_context->lp_ctx, user_info->domain.str)) {
DEBUG(3,("check_smbserver_security: Requested domain was for this machine.\n"));
return NT_STATUS_LOGON_FAILURE;
}