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)
commita66b852ddc495dda484b18d3d97ae1a2d1161254
treeed4cfab6b6fd50cc78bb1ac039e9edb547a1d64d
parent642ee6fb37a10d481424804332228a127316f40c
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
(This used to be commit cfa1e459d727764feddcfdd8c9c0404282e2d0e8)
source3/param/loadparm.c
source3/passdb/pdb_ldap.c