[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch complains about DN having invalid syntax, but same DN works in JXplorer
- To: openldap-technical@openldap.org
- Subject: ldapsearch complains about DN having invalid syntax, but same DN works in JXplorer
- From: John Ragan <john.ragan@gmail.com>
- Date: Sat, 9 Oct 2010 10:48:44 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=pGPZMUR3R1Pa4qAdJjyM+Mx4JAFsVqw4fbAY6kCU7KE=; b=E1gLo/ZXYEiEBrO0eElFO+6+0rgNWk5rFMVb+jH4Vp/2BFCLvPdlfclMH7Rkv/CFcZ 7C3azUUK2WQyfyzqNQEtBw/uuiLMjkaewFk4/WhvhfkRlHArsTNA7ak5GAIbQ2eL2OUs 9EPXMhZSUMfAw2NyCm5vPIMk6+wqLwMzTvxu4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hNN9MWIuqdSiE7Jgvz0ZD8tpdLjQr+x3BCUjs76OLivYH8uWW2hfx3BYVOKQydhR5A lq+QOmxWQljeS8EF1fRN1t77jtiYRX4Rfhs+ZDevi2pK1zMJdccfeubjjpAa7wId+suE 84abbwTkRjkHXSuDB/6T+zal4nXfWgbyEmzjc=
When using ldapsearch as follows:
ldapsearch -x -W -D 'cn=Manager,dc=example,dc=com' -b "" -s base
I get the following after providing my password:
ldap_bind: Invalid DN syntax (34)
additional info: invalid DN
However, if I use this same DN in JXplorer, I am able to authenticate and login just fine.
I have checked the DN numerous times and see nothing obviously wrong. I've retyped things from scratch, removed various options, etc. I commented out all entries in ldap.conf, and my current slapd.conf is set up shown on the bottom page.
What am I missing? Thanks in advance for any help!
ucdata-path ./ucdata
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
pidfile ./run/slapd.pid
argsfile ./run/slapd.args
# loglevel none IT DOES NOT SEEM TO LIKE loglevel for some reason
access to attrs=userPassword
by anonymous auth
by self write
by * none
access to *
by self write
by * none
database bdb
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
directory ./data
index objectClass,cn eq