We have a problem at work where CFLDAP for whatever reason will not communicate with our LDAP servers via the standard non-secure port. It will however work on the secure port so our "fix" currently has been to change all LDAP calls from the CF8 test server to use the secure port number. Offhand I am unsure what our LDAP servers are, pretty certain it is not Active Directory though.
On 10/14/07, Philip Hayes <[EMAIL PROTECTED]> 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 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

