1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r10372: Having gone to all the effort to uppercase the realm, actually set the

upper-case realm.

Andrew Bartlett
(This used to be commit 3e38456dd5)
This commit is contained in:
Andrew Bartlett 2005-09-21 00:15:56 +00:00 committed by Gerald (Jerry) Carter
parent d9ca09b8b4
commit b1b5e49f98

View File

@ -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)));