On Tuesday, 30 March 2010 13:13:47 Matt Kassawara wrote:
Starting with Ubuntu Karmic (9.10), the slapd package changed from
creating a typical LDAP administrator account (i.e., username and
password) to using LDAPI and SASL EXTERNAL which automatically provides
LDAP administrator access via the system root account. As root, run
your LDAP utilities with "-Y external -H "ldapi:///" instead of
"-x",
"-D", and "-W" where appropriate. For example, to search your LDAP
directory:
ldapsearch -Y external -H "ldapi:///" -b dc=domain,dc=com
or stick the following in root's ~/.ldaprc:
SASL_MECH EXTERNAL
URI ldapi:///
Regards,
Buchan