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

Invalid DN error when using quick start guide (under windows)



Hi,
I attempted to get the server up and running.
I am using the binaries from http://www.fivesight.com/downloads/openldap.asp
I am running Win2K Server.

my slapd.conf file is as vanilla as i could make it.
It reads -------------------------------->>>
include	C:/openldap/schema/core.schema
pidfile	C:/openldap/slapd.pid
argsfile	C:/openldap/slapd.args
database	ldbm
suffix 	"dc=example,dc=com"
rootdn	"cn=Manager,dc=example,dc=com"
rootpw	secret
directory	C:/openldap/openldap-ldbm
index	objectClass	eq
<<-----------------------------------------

But, then i execute:
ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
and i get --------------------------------->>>
C:\openldap>ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
version: 2

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

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

# numResponses: 1
<<-----------------------------------------

I had not expected any errors.
Also i attempt slapadd it has different command line parameters.

Any suggestions or hints?
ps: Yes i am an LDAP newbie - i figure installing a server would be useful.

Geoffrey.