summaryrefslogtreecommitdiff
path: root/source4/auth/auth_util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-02 20:56:26 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:11 +0100
commit120ecdb5cb7dbd7c650f3e9fbcefb925f695e0f2 (patch)
treeb7fa447f3959f84417d58a0b60ca8bb0c8de17b1 /source4/auth/auth_util.c
parentda0640518f67545df6a1da30c916fbc452d38a39 (diff)
downloadsamba-120ecdb5cb7dbd7c650f3e9fbcefb925f695e0f2.tar.gz
samba-120ecdb5cb7dbd7c650f3e9fbcefb925f695e0f2.tar.bz2
samba-120ecdb5cb7dbd7c650f3e9fbcefb925f695e0f2.zip
r26233: Pass loadparm context when creating krb5 contexts.
(This used to be commit 7780bf285fdfc30f89409d0436bad0d4b6de5cd4)
Diffstat (limited to 'source4/auth/auth_util.c')
-rw-r--r--source4/auth/auth_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index c3ecfece39..baecb15f1e 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -43,6 +43,7 @@ NTSTATUS auth_get_challenge_not_implemented(struct auth_method_context *ctx, TAL
****************************************************************************/
NTSTATUS map_user_info(TALLOC_CTX *mem_ctx,
+ const char *default_domain,
const struct auth_usersupplied_info *user_info,
struct auth_usersupplied_info **user_info_mapped)
{
@@ -73,7 +74,7 @@ NTSTATUS map_user_info(TALLOC_CTX *mem_ctx,
d++;
domain = d;
} else {
- domain = lp_workgroup(global_loadparm);
+ domain = default_domain;
}
*user_info_mapped = talloc(mem_ctx, struct auth_usersupplied_info);