openldap and samba 4
office at adaptcom.ro
office at adaptcom.ro
Mon May 25 11:43:38 GMT 2009
samba was setup with:
./configure --enable-developer --enable-debug
provision:
setup/provision-backend --realm=adaptcom.ro --domain=adaptcom
--ldap-admin-pass=adaptro --ldap-backend-type=openldap
--server-role='domain controller'
slapd starts with:
/usr/local/libexec/slapd -d9 -f /usr/local/samba/private/ldap/slapd.conf -h
ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi
On Mon, 25 May 2009 12:38:55 +0200, Michael Ströder <michael at stroeder.com>
wrote:
> grimstone wrote:
>> 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)
>
> It seems the dynamic configuration is used in your case (slapd -F?).
> I'm using the static configuration with slapd.conf file (slapd -f).
>
> How do you provision the whole stuff? Which command-line parameters?
> How do you start slapd? Which command-line parameters?
>
> Ciao, Michael.
More information about the samba-technical
mailing list