A DN begins with CN=, not DN= as in your code.
 
Also, drop the parenthesis.
 
Change your code to:
 
....dn="#qryLDAPUser.dn#"...
 
m!ke

  _____  

From: Eclectic User [mailto:[EMAIL PROTECTED]
Sent: Mon 8/11/2008 8:00 PM
To: CF-Talk
Subject: cfldap error



<cfldap action="query" name="qryLDAPUser" start="dc=domain,dc=com" 
attributes="uid,cn,sn,ou,o,c,dn"
filter="(uid=#arguments.email#)"
server = "my LDAP server address" password="server password"
username="username">

<cfif qryLDAPUser.recordcount>
  <cfldap
  server = "my LDAP server address"
  action="delete"
  dn="(dn=#qryLDAPUser.dn#)"
  username="username"
  password="server password">
When I run this coldfusion code to delete LDAP user, I get LDAP Error 34. I am 
not sure what is wrong with the DN, please help me. Thanks for any help you 
provide.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310825
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
  • cfldap error Eclectic User
    • RE: cfldap error Dawson, Michael

Reply via email to