Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LDAP: error code 34 - Invalid DN Syntax

21,973 views
Skip to first unread message

LogicBlast

unread,
Feb 4, 2005, 7:11:15 PM2/4/05
to
I'm recieving this error (LDAP: error code 34 - Invalid DN Syntax) when I'm
trying to verify login info. The following query works fine using LDAP:
<cfldap action='QUERY' name='getUser' attributes='dn'
start='o=parkway' scope='SUBTREE' filter='cn=username'
server='myldapserver.com' > That will return a record fine for user
'username'. When i add the tag attributes of unsername and password like this:
<cfldap action='QUERY' name='getUser' attributes='dn'
start='o=parkway' scope='SUBTREE' filter='cn=username'
server='myldapserver.com' username='#ldapusername#'
password='#ldappassword#'> I get the following error: LDAP: error code 34 -
Invalid DN Syntax Any insight would be greatly appreciated. Thanks in advance!

Sarge

unread,
Feb 11, 2005, 8:04:56 PM2/11/05
to
The invalid DN syntax is probably for the username parameter. You need to bind as a fully qualified DN. So change your username parameter to something like cn=username,ou=my group,dc=mycomany,dc=com.

LogicBlast

unread,
Feb 15, 2005, 12:09:15 PM2/15/05
to
That worked perfect. Thanks!

ni...@realeyes.com

unread,
Aug 30, 2012, 4:18:25 PM8/30/12
to
On Friday, February 11, 2005 6:04:56 PM UTC-7, Sarge wrote:
> The invalid DN syntax is probably for the username parameter. You need to bind as a fully qualified DN. So change your username parameter to something like cn=username,ou=my group,dc=mycomany,dc=com.

Bless your soul! That was also the answer to my troubles. I'd been banging my head against that for a while.
0 new messages