summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-09-21 00:15:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:32 -0500
commitb1b5e49f98142daae5423aa5bd17421373f4ed7a (patch)
treeff7a113d28f0be774b25f237bb0e79df2259123d /source4
parentd9ca09b8b45106825bdba49fcd9e5159f0e38af3 (diff)
downloadsamba-b1b5e49f98142daae5423aa5bd17421373f4ed7a.tar.gz
samba-b1b5e49f98142daae5423aa5bd17421373f4ed7a.tar.bz2
samba-b1b5e49f98142daae5423aa5bd17421373f4ed7a.zip
r10372: Having gone to all the effort to uppercase the realm, actually set the
upper-case realm. Andrew Bartlett (This used to be commit 3e38456dd5c40730f3203e89393dad2b97996d56)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/kerberos/krb5_init_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c
index a147a3699a..62260702d5 100644
--- a/source4/auth/kerberos/krb5_init_context.c
+++ b/source4/auth/kerberos/krb5_init_context.c
@@ -84,7 +84,7 @@ static void smb_krb5_debug_wrapper(const char *timestr, const char *msg, void *p
talloc_free(tmp_ctx);
return ENOMEM;
}
- ret = krb5_set_default_realm((*smb_krb5_context)->krb5_context, lp_realm());
+ ret = krb5_set_default_realm((*smb_krb5_context)->krb5_context, upper_realm);
if (ret) {
DEBUG(1,("krb5_set_default_realm failed (%s)\n",
smb_get_krb5_error_message((*smb_krb5_context)->krb5_context, ret, tmp_ctx)));