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