Did you try specifying the DELIMITER in your CFLDAP tag?  I think your
commas are causing the error.

Try using DELIMITER="|" in your CFLDAP tag to have AD consider the
commas to be part of the value.

M!ke

-----Original Message-----
From: Andrew Spear [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 16, 2007 5:35 PM
To: CF-Talk
Subject: Deleting multi-value attributes with CFLDAP

I'm trying to delete a user from an Active Directory group using CFLDAP.
The problem is that it seems you can't specify a name-value pair when
the "ModifyType" parameter is set to "delete".  I need to do this
because the LDAP field is multi-valued.  I noticed that you can do this
when "ModifyType" is set to "add" or "replace".  Here's a snippet of
what I need to do:

dn = "cn=MyGroup,ou=Groups,dc=CompanyA,dc=com"
action = "modify"
modifyType = "delete"
attributes = "member=cn=Doe, John,ou=Users,dc=CompanyA,dc=com"

This will generate an "LDAP Error Code 34" along with the ColdFusion
error.

Any ideas would be appreciated.  Thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283822
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to