svn commit: samba r10372 - in branches/SAMBA_4_0/source/auth/kerberos: .

abartlet at samba.org abartlet at samba.org
Wed Sep 21 00:15:57 GMT 2005


Author: abartlet
Date: 2005-09-21 00:15:56 +0000 (Wed, 21 Sep 2005)
New Revision: 10372

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10372

Log:
Having gone to all the effort to uppercase the realm, actually set the
upper-case realm.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c
===================================================================
--- branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c	2005-09-20 23:28:22 UTC (rev 10371)
+++ branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c	2005-09-21 00:15:56 UTC (rev 10372)
@@ -84,7 +84,7 @@
 			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)));



More information about the samba-cvs mailing list