git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fa0ca
)
r22362: fix the build on othersystems
author
Stefan Metzmacher
<metze@samba.org>
Thu, 19 Apr 2007 08:45:29 +0000
(08:45 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:19:29 +0000
(12:19 -0500)
metze
source/libsmb/clifsinfo.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clifsinfo.c
b/source/libsmb/clifsinfo.c
index a7bdeecca9151c635e54f41b9e515f20f44b42fe..0bc4f7f2f2ff0496c5594e087f71ef3e499cf9d2 100644
(file)
--- 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) {