[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problem with dummy-setup



Hi guys!

I´ve setup openldap like the quickstart guide told me. If i do a ldapsearch i 
get errors like the folowing. Till now i haven´t add any data.

slapd.conf

include /etc/openldap/schema/core.schema

pidfile         /var/state/openldap/slapd.pid
argsfile        /var/state/openldap/args.pid

database ldbm
suffix          "dc=pinguintown,dc=local"
rootdn          "cn=admin,dc=pinguintown,dc=local"

rootpw secret

directory /var/state/openldap/openldap-ldbm

index   objectClass     eq


Now the search:

ldapsearch -x -b `` base `(objectClass=*)` namingContexts
version: 2

#
# filter: (objectclass=*)
# requesting: namingContexts
#

# search result
search: 2
result: 34 Invalid DN syntax
text: invalid DN

# numResponses: 1


Where is my mistake? What I´m wondering about is the empty folder where the 
database resists. Will this be created, when i add the first data?


So long ...


Alex Huth