[Date Prev][Date Next]
ldap_simple_bind_s fails intermittently, when run in an loop
- To: <email@example.com>
- Subject: ldap_simple_bind_s fails intermittently, when run in an loop
- From: <firstname.lastname@example.org>
- Date: Thu, 22 Jan 2009 21:05:16 +0530
- Content-class: urn:content-classes:message
- Thread-index: Acl8pwYuyOzkkHb7Qv+AZWI3j9mFQw==
- Thread-topic: ldap_simple_bind_s fails intermittently, when run in an loop
I am trying to use
openldap api's to connect to ldap from my code.
I tried to connect
to ldap server 1,00,000 times(just intiliazing , binding and
to the ldap server works fine, but after some time say after reaching more than
10,000 binds. bind continously fails with below error .
"Can't connect to
the LDAP server - Cannot assign requested address".
error number is 91
below is my code snapshot.
ld=ldap_init(HOSTNAME,PORTNUMBER); // HOSTNAME and PORTNUMBER
cout<<" error in
cout<<" error in bin
cout<<ldap_err2string(ret)<<" is the
i am clue less why
Is there any
restriction or bug (already present) that only certain number of binds are
possible in a given time.
Your help will be
highly help full in my further proceedings.
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.