Invalid DN syntax error connecting to OpenLDAP

General Discussion about LDAP Administrator

Moderator: Support

Invalid DN syntax error connecting to OpenLDAP

Postby robinbowes » Wed Nov 22, 2006 2:39 pm


I'm just configuring LDAP on my internal network and I trying to connect LDAPAdministrator to my OpenLDAP server.

I've installed OpenLDAP-2.3.27 on a FC6 server (followed these instructions: ... ur_network)

The server is running and I can connect locally (using ldapsearch, for example).

However, when I try to connect from LDAPAdministrator I get an error:

"Invalid DN Syntax"

Any idea where to start looking for problems?

Posts: 1
Joined: Wed Nov 22, 2006 2:24 pm

Postby Support » Thu Nov 23, 2006 9:25 am

The most common problem is misunderstanding of what a DN string is. There are two places in an LDAP Administrator profile where you may put a DN string: 1) Base DN 2) User DN. People often confuse User DN and login name. A DN string looks like cn=johnd,ou=users,dc=example,dc=com while login name is just johnd. If you put latter string into User DN field you'll get "Invalid DN Syntax". The same applies to Base DN field. If you are not sure what to put here, it's safe, in most cases, to leave Base DN field empty (LDAP Administrator displays 'RooDSE' string here in such case)

For more details about DN strings you may turn to RFC4514.
Posts: 896
Joined: Sun Aug 12, 2001 12:00 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests