svn commit: samba r22362 - in branches/SAMBA_3_0/source/libsmb: .

metze at samba.org metze at samba.org
Thu Apr 19 08:45:30 GMT 2007


Author: metze
Date: 2007-04-19 08:45:29 +0000 (Thu, 19 Apr 2007)
New Revision: 22362

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

Log:
fix the build on othersystems

metze
Modified:
   branches/SAMBA_3_0/source/libsmb/clifsinfo.c


Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clifsinfo.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clifsinfo.c	2007-04-19 08:37:16 UTC (rev 22361)
+++ branches/SAMBA_3_0/source/libsmb/clifsinfo.c	2007-04-19 08:45:29 UTC (rev 22362)
@@ -483,6 +483,9 @@
 	OM_uint32 ret_flags = 0;
 	NTSTATUS status = NT_STATUS_OK;
 
+	gss_OID_desc nt_hostbased_service =
+	{10, CONST_DISCARD(char *,"\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x04")};
+
 	memset(&tok_out, '\0', sizeof(tok_out));
 
 	/* Get a ticket for the service at host */
@@ -496,7 +499,7 @@
 
 	ret = gss_import_name(&min,
 				&input_name,
-				GSS_C_NT_HOSTBASED_SERVICE,
+				&nt_hostbased_service,
 				&srv_name);
 
 	if (ret != GSS_S_COMPLETE) {



More information about the samba-cvs mailing list