openldap and samba 4

grimstone office at adaptcom.ro
Mon May 25 10:14:21 GMT 2009


Yes i use the debug option and slapd starts with these errors: (in bold)

bdb_dn2entry("cn=schema,cn=configuration,dc=adaptcom,dc=ro")
=> hdb_dn2id("cn=schema,cn=configuration,dc=adaptcom,dc=ro")
<= hdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found
(-30988)
backend_startup_one: starting "cn=Configuration,dc=adaptcom,dc=ro"
hdb_db_open: database "cn=Configuration,dc=adaptcom,dc=ro":
dbenv_open(/usr/local/samba/private/ldap/db/config).
bdb_dn2entry("cn=configuration,dc=adaptcom,dc=ro")
=> hdb_dn2id("cn=configuration,dc=adaptcom,dc=ro")
<= hdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found
(-30988)
backend_startup_one: starting "dc=adaptcom,dc=ro"
hdb_db_open: database "dc=adaptcom,dc=ro":
dbenv_open(/usr/local/samba/private/ldap/db/user).
bdb_dn2entry("dc=adaptcom,dc=ro")
=> hdb_dn2id("dc=adaptcom,dc=ro")
<= hdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found
(-30988)
slapd starting


Slapd starts and accepts connections


Michael Ströder wrote:
> 
> office at adaptcom.ro wrote:
>> here is the strace....
>> 
>> root at r1:~# strace /usr/local/samba/bin/ldbsearch -H
>> ldapi://%2Fusr%2Flocal%2Fsambba%2Fprivate%2Fldap%2Fldapi -b
>> "dc=adaptcom,dc=ro"
> 
> Speaking about debugging from the OpenLDAP side it would be better if
> you start slapd with command-line parameter -d 9 and watch its debug
> output on the console.
> 
> Ciao, Michael.
> 
> 

-- 
View this message in context: http://www.nabble.com/openldap-and-samba-4-tp23565343p23704596.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.



More information about the samba-technical mailing list