summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-19 08:45:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:29 -0500
commitf2da00aadcf3a47d9f6a0662c97c36be32172c1a (patch)
tree1ec42954336098525d4dbf2cc4566b6863a6620f /source3/libsmb
parent5cee3be0140a7acbd3b75a4d7aa0fbaff8c12960 (diff)
downloadsamba-f2da00aadcf3a47d9f6a0662c97c36be32172c1a.tar.gz
samba-f2da00aadcf3a47d9f6a0662c97c36be32172c1a.tar.bz2
samba-f2da00aadcf3a47d9f6a0662c97c36be32172c1a.zip
r22362: fix the build on othersystems
metze (This used to be commit 68a681038ca60c83784321979c595def9e74ed41)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clifsinfo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c
index a7bdeecca9..0bc4f7f2f2 100644
--- a/source3/libsmb/clifsinfo.c
+++ b/source3/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) {