diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-31 16:29:02 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-02-17 10:48:10 +0100 |
commit | 6b573e73fc5d2787ed4165024957501a7c37c27a (patch) | |
tree | 04e4aa89a12b666bb085690f557730f6bd63b07d /source3/auth/auth_generic.c | |
parent | 27fb6f85e7f796cafff5900d3428cc5c2c89e87d (diff) | |
download | samba-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.c | 5 |
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); |