Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Connection to LDAP server failed

New Here ,
Jun 25, 2010 Jun 25, 2010

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?

866
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 25, 2010 Jun 25, 2010

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 29, 2010 Jun 29, 2010
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources