diff options
author | Jeremy Allison <jra@samba.org> | 2007-03-30 22:19:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:01 -0500 |
commit | b0bcb483697249123f92f5ac477c98b579135887 (patch) | |
tree | b7a6548ed29585e8221261bffd503f1a98b849ce /source3/smbd | |
parent | 1ff60ed7bc75991449900670bc3e6b5b91c9003d (diff) | |
download | samba-b0bcb483697249123f92f5ac477c98b579135887.tar.gz samba-b0bcb483697249123f92f5ac477c98b579135887.tar.bz2 samba-b0bcb483697249123f92f5ac477c98b579135887.zip |
r22013: Move to SSPI framing (sig first in NTLM).
Jeremy
(This used to be commit 22eaed76f01ea9d0184dcaf57adca23abc6330b9)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/seal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c index 0a093d21ab..66ae8419d4 100644 --- a/source3/smbd/seal.c +++ b/source3/smbd/seal.c @@ -91,7 +91,7 @@ static void destroy_auth_ntlmssp(struct smb_srv_trans_enc_ctx *ec) Import a name. ******************************************************************************/ -static NTSTATUS get_gss_creds(const char *service, +static NTSTATUS get_srv_gss_creds(const char *service, const char *name, gss_cred_usage_t cred_type, gss_cred_id_t *p_srv_cred) @@ -154,9 +154,9 @@ static NTSTATUS make_auth_gss(struct smb_srv_trans_enc_ctx *ec) name_to_fqdn(fqdn, global_myname()); strlower_m(fqdn); - status = get_gss_creds("cifs", fqdn, GSS_C_ACCEPT, &srv_cred); + status = get_srv_gss_creds("cifs", fqdn, GSS_C_ACCEPT, &srv_cred); if (!NT_STATUS_IS_OK(status)) { - status = get_gss_creds("host", fqdn, GSS_C_ACCEPT, &srv_cred); + status = get_srv_gss_creds("host", fqdn, GSS_C_ACCEPT, &srv_cred); if (!NT_STATUS_IS_OK(status)) { return nt_status_squash(status); } |