Copy link to clipboard
Copied
I'm using CFLDAP to update 1308 groups inside of Active Directory. First I query a SQL database to pull back 4412 records. I do a query of that query to select distinct rows. This gives me the 1308 rows mentioned earlier. I then use CFLOOP to loop over the 1308 rows to populate groups inside of Active Directory. I keep getting "Connection to LDAP server failed" when I do this. Is there a limit to the number of records you can use for CFLDAP before it looses it's connection? Is there a way to get pass this?
Copy link to clipboard
Copied
Does the username used to start the ColdFusion service have permission to update the AD Database?
Are you explicity including a username and password in your CFLDAP query statement?
Copy link to clipboard
Copied
Does the username used to start the ColdFusion service have permission to update the AD Database? Yes.
Are you explicity including a username and password in your CFLDAP query statement? Yes.
The problem usually occurs when I'm updating about 600 or more records. If I'm updating less than that, I have no problems.