From: Stefan Metzmacher Date: Thu, 19 Apr 2007 08:45:29 +0000 (+0000) Subject: r22362: fix the build on othersystems X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~662 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68a681038ca60c83784321979c595def9e74ed41;p=thirdparty%2Fsamba.git r22362: fix the build on othersystems metze --- diff --git a/source/libsmb/clifsinfo.c b/source/libsmb/clifsinfo.c index a7bdeecca91..0bc4f7f2f2f 100644 --- a/source/libsmb/clifsinfo.c +++ b/source/libsmb/clifsinfo.c @@ -483,6 +483,9 @@ static NTSTATUS make_cli_gss_blob(struct smb_trans_enc_state *es, 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@host */ @@ -496,7 +499,7 @@ static NTSTATUS make_cli_gss_blob(struct smb_trans_enc_state *es, ret = gss_import_name(&min, &input_name, - GSS_C_NT_HOSTBASED_SERVICE, + &nt_hostbased_service, &srv_name); if (ret != GSS_S_COMPLETE) {