Fixes for pdb_ldap:
authorAndrew Bartlett <abartlet@samba.org>
Sat, 2 Nov 2002 03:14:27 +0000 (03:14 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 2 Nov 2002 03:14:27 +0000 (03:14 +0000)
commitcfa1e459d727764feddcfdd8c9c0404282e2d0e8
treef4b69ef2b72e52ec95a978a0e6a2e8cd63837dd6
parent0bb9bc196207fb35c9de6accbe101937a687762f
Fixes for pdb_ldap:

 - Default is now for start-tls, on the ldap (not ldaps) port
 - We check for 'I am currently root' in the right place now, and don't
   accidentily use a cached connection.
 - We don't loop on failure to be root, or some other errors.

 - A bit cleaner error reporting for add/modify.

 - Both the OpenLDAP and manual URI parsing tested.

Andrew Bartlett
source/param/loadparm.c
source/passdb/pdb_ldap.c