summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-18 20:58:47 +1100
committerStefan Metzmacher <metze@samba.org>2011-10-21 08:43:02 +0200
commit915fe7981b48537bb000ae5f90e630caacf657e0 (patch)
treee463f4820f79027ba8d7024544db4d3e7f415c5b /source3/auth
parent21a434d817895ab228d09fcf0efe83246d97fcca (diff)
downloadsamba-915fe7981b48537bb000ae5f90e630caacf657e0.tar.gz
samba-915fe7981b48537bb000ae5f90e630caacf657e0.tar.bz2
samba-915fe7981b48537bb000ae5f90e630caacf657e0.zip
s3-auth remove auth_ntlmssp_session_info()
Instead, call gensec_session_info() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_ntlmssp.c11
-rw-r--r--source3/auth/proto.h3
2 files changed, 0 insertions, 14 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c
index e22db822ab..b57fda1ea7 100644
--- a/source3/auth/auth_ntlmssp.c
+++ b/source3/auth/auth_ntlmssp.c
@@ -31,17 +31,6 @@
#include "librpc/rpc/dcerpc.h"
#include "lib/param/param.h"
-NTSTATUS auth_ntlmssp_session_info(TALLOC_CTX *mem_ctx,
- struct auth_ntlmssp_state *auth_ntlmssp_state,
- struct auth_session_info **session_info)
-{
- NTSTATUS nt_status;
- nt_status = gensec_session_info(auth_ntlmssp_state->gensec_security,
- mem_ctx,
- session_info);
- return nt_status;
-}
-
static NTSTATUS gensec_ntlmssp3_server_session_info(struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
struct auth_session_info **session_info)
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index a7266d6e60..bc2d58a811 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -69,9 +69,6 @@ NTSTATUS auth_netlogond_init(void);
/* The following definitions come from auth/auth_ntlmssp.c */
-NTSTATUS auth_ntlmssp_session_info(TALLOC_CTX *mem_ctx,
- struct auth_ntlmssp_state *auth_ntlmssp_state,
- struct auth_session_info **session_info);
NTSTATUS auth_ntlmssp_prepare(const struct tsocket_address *remote_address,
struct auth_ntlmssp_state **auth_ntlmssp_state);
NTSTATUS auth_ntlmssp_start(struct auth_ntlmssp_state *auth_ntlmssp_state);