Remove auth/ntlm as a dependency of GENSEC by means of function pointers.
commit71632a16977a93968b0d520a491a52f635e611a1
authorAndrew Bartlett <abartlet@samba.org>
Thu, 12 Feb 2009 23:24:16 +0000 (13 10:24 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Feb 2009 23:24:16 +0000 (13 10:24 +1100)
tree75604f676004c10bdd9c4ee1cfdf917a90ddfc0b
parent147a2e3440056ec30d8b386901754a58ea3947d1
Remove auth/ntlm as a dependency of GENSEC by means of function pointers.

When starting GENSEC on the server, the auth subsystem context must be
passed in, which now includes function pointers to the key elements.

This should (when the other dependencies are fixed up) allow GENSEC to
exist as a client or server library without bundling in too much of
our server code.

Andrew Bartlett
22 files changed:
source4/auth/auth.h
source4/auth/config.mk
source4/auth/gensec/gensec.c
source4/auth/gensec/gensec.h
source4/auth/gensec/gensec_krb5.c
source4/auth/ntlm/auth.c
source4/auth/ntlmssp/config.mk
source4/auth/ntlmssp/ntlmssp.c
source4/auth/ntlmssp/ntlmssp_server.c
source4/auth/samba_server_gensec.c [new file with mode: 0644]
source4/kdc/kpasswdd.c
source4/ldap_server/ldap_bind.c
source4/rpc_server/config.mk
source4/rpc_server/dcesrv_auth.c
source4/smb_server/smb/config.mk
source4/smb_server/smb/negprot.c
source4/smb_server/smb/sesssetup.c
source4/smb_server/smb2/config.mk
source4/smb_server/smb2/negprot.c
source4/smb_server/smb2/sesssetup.c
source4/torture/rpc/remote_pac.c
source4/utils/ntlm_auth.c