Skip to main content
WolfShade
Legend
April 2, 2014
Question

CFLDAP modify example?

  • April 2, 2014
  • 0 replies
  • 579 views

Hello, everyone,

I'm kind of getting the hang of querying LDAP.  Now, I'm trying to learn how to MODIFY an LDAP entry.  I'm attempting to set department to "WebShop" for any entry that has a non-NULL mail attribute.

The following code:

<cfldap action="modify" attributes="department=WebShop" dn="mail=*" server="first.second.tld" username="#request.cfldapun#" password="#request.cfldappw#">

.. is returning an error message:

LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0

The user account that is accessing the AD LDAP has admin privileges for the domain.  What am I doing incorrectly?

V/r,

^_^

This topic has been closed for replies.