svn commit: samba r4531 - in branches/SAMBA_4_0/source/libcli/auth: .

abartlet at samba.org abartlet at samba.org
Wed Jan 5 10:21:13 GMT 2005


Author: abartlet
Date: 2005-01-05 10:21:08 +0000 (Wed, 05 Jan 2005)
New Revision: 4531

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

Log:
Include the OID locally, as it seems to be hard to get the includes
right.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/libcli/auth/gensec_gssapi.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/gensec_gssapi.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/gensec_gssapi.c	2005-01-05 03:21:45 UTC (rev 4530)
+++ branches/SAMBA_4_0/source/libcli/auth/gensec_gssapi.c	2005-01-05 10:21:08 UTC (rev 4531)
@@ -130,6 +130,10 @@
 	gss_buffer_desc name_token;
 	OM_uint32 maj_stat, min_stat;
 
+	gss_OID_desc hostbased = {10, 
+				  (void *)discard_const_p(char, "\x2a\x86\x48\x86\xf7\x12"
+							  "\x01\x02\x01\x04")};
+
 	nt_status = gensec_gssapi_start(gensec_security);
 	if (!NT_STATUS_IS_OK(nt_status)) {
 		return nt_status;
@@ -144,7 +148,7 @@
 
 	maj_stat = gss_import_name (&min_stat,
 				    &name_token,
-				    GSS_C_NT_HOSTBASED_SERVICE,
+				    &hostbased,
 				    &gensec_gssapi_state->server_name);
 
 



More information about the samba-cvs mailing list