summaryrefslogtreecommitdiff
path: root/source3/auth/auth_generic.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-31 16:29:02 +1100
committerStefan Metzmacher <metze@samba.org>2012-02-17 10:48:10 +0100
commit6b573e73fc5d2787ed4165024957501a7c37c27a (patch)
tree04e4aa89a12b666bb085690f557730f6bd63b07d /source3/auth/auth_generic.c
parent27fb6f85e7f796cafff5900d3428cc5c2c89e87d (diff)
downloadsamba-6b573e73fc5d2787ed4165024957501a7c37c27a.tar.gz
samba-6b573e73fc5d2787ed4165024957501a7c37c27a.tar.bz2
samba-6b573e73fc5d2787ed4165024957501a7c37c27a.zip
s3-auth: Use common gensec_ntlmssp
There is no longer any samba3-specific code left here. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/auth/auth_generic.c')
-rw-r--r--source3/auth/auth_generic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/auth/auth_generic.c b/source3/auth/auth_generic.c
index 559dce19f9..65b83f035f 100644
--- a/source3/auth/auth_generic.c
+++ b/source3/auth/auth_generic.c
@@ -250,13 +250,14 @@ NTSTATUS auth_generic_prepare(TALLOC_CTX *mem_ctx,
return NT_STATUS_NO_MEMORY;
}
- gensec_settings->backends[idx++] = &gensec_ntlmssp3_server_ops;
+ gensec_init();
+
+ gensec_settings->backends[idx++] = gensec_security_by_oid(NULL, GENSEC_OID_NTLMSSP);
#if defined(HAVE_KRB5) && defined(HAVE_GSS_WRAP_IOV)
gensec_settings->backends[idx++] = &gensec_gse_krb5_security_ops;
#endif
- gensec_init();
gensec_settings->backends[idx++] = gensec_security_by_oid(NULL,
GENSEC_OID_SPNEGO);