Le 16/08/2017 à 12:57, playerum a écrit :
Hi,
I tried different orders with my database (bdb) and only fond cn=config
ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b
olcDatabase={0}bdb,cn=config -s sub "(objectClass=olcDatabaseConfig)"
olcRootDN olcRootPW -d4
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldap_build_search_req ATTRS: olcRootDN olcRootPW
No such object (32)
Matched DN: cn=config
Is it possible that olcRootDN and olcRootPW has another name?
Is there somekind of database editor to open the Berkeley DB files?
Are you sure to use cn=config to store configuration? Try "slapcat -n0"
to dump LDIF from cn=config backend.
If you are using OpenLDAP packages from LTB, note that slapd.conf is
used by default. To use cn=config, configure SLAPD_CONF_DIR in
/etc/default/slapd
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
137 boulevard de Magenta - 75010 PARIS
Blog: http://sflx.ca/coudot
_______________________________________________
ltb-users mailing list
ltb-users@lists.ltb-project.org
https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-users