Hi... Are you sure to use cn=config to store configuration?
That's right.. i'm not using cn=config, the command "slapcat -n0" did not work. If I use this setting (SLAPD_CONF_DIR) it will enable the OLC feature? Is these the right command to "populate" the SLAPD_CONF_DIR? slapcat -f /usr/local/openldap/etc/openldap/slapd.conf -F /usr/local/openldap/etc/openldap/slapd.d -n 0 Another question... We ave samba integrated with OpenLDAP, to make he integration works after the password change i only need to remove the "secrets.tdb" and use the "smbpasswd" to create a new one? 2017-08-16 9:14 GMT-03:00 Clément OUDOT <clement.ou...@savoirfairelinux.com> : > > > 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 >
_______________________________________________ ltb-users mailing list ltb-users@lists.ltb-project.org https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-users