DISREGARD-

They made a slight change that requires the CN attribute title to be  
capitalized in CF8.  I had it as a small cn in the attributes section  
(which worked in CFX7).

Thanks.

Philip L. Hayes


On Oct 14, 2007, at 11:38 PM, Philip Hayes wrote:

Is anybody aware or heard of any bugs with CFLDAP in version 8?  It
started with a client installation, where I test just about
everything" before upgrading to CF8.  I guess I forgot to check CFLDAP.

I have the following code which executes just fine on CF7.

<!--- CUSTOM ADD GROUP CODE --->
<cfset request.ListName = "test3">
        
<cfoutput><cfsavecontent variable="IncAttributes">
objectClass=top
|objectClass=group
|cn=#Request.ListName#
|name=#Request.ListName#
|sAMAccountName=#Request.ListName#
|groupType=-2147483646
</cfsavecontent>
</cfoutput>

<cfldap action="add"
                
DN="CN=#Request.Listname#,OU=Groups,DC=Netname,DC=MyCompanys,DC=com"
                attributes="#IncAttributes#"
                delimiter="|"
                server="10.1.1.67"
                port="389"
                username="netname\myname"
                password="xxxxxxxx" separator="~" >

But when I move the exact file to CF8, I get the following error:
===================
An error has occured while trying to execute add :[LDAP: error code
19 - 00002081: AtrErr: DSID-03151122, #1: 0: 00002081: DSID-03151122,
problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 3 (cn) ].

One or more of the required attributes may be missing or incorrect or
you do not have permissions to execute this operation on the server.

==================


Any ideas on what to do?

Thanks.

Phil Hayes




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291074
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