convert the LDAP/SASL code to use GSS-SPNEGO if possible
authorAndrew Tridgell <tridge@samba.org>
Fri, 30 Aug 2002 06:59:57 +0000 (06:59 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 30 Aug 2002 06:59:57 +0000 (06:59 +0000)
commitb04e91f660d3b26d23044075d4a7e707eb41462d
tree3983628e26c0e46c849f817a87bc5a9ec5fd978d
parent4aa7dfb7e7f4ad33b8768d20ec2eb9cb3fde6385
convert the LDAP/SASL code to use GSS-SPNEGO if possible

we now do this:

- look for suported SASL mechanisms on the LDAP server
- choose GSS-SPNEGO if possible
- within GSS-SPNEGO choose KRB5 if we can do a kinit
- otherwise use NTLMSSP

This change also means that we no longer rely on having a gssapi
library to do ADS.

todo:
- add TLS/SSL support over LDAP
- change to using LDAP/SSL for password change in ADS
source/include/includes.h
source/libads/ldap.c
source/libads/sasl.c
source/libsmb/cliconnect.c
source/libsmb/clikrb5.c
source/libsmb/clispnego.c
source/utils/net_ads.c