ldap_bind :Can't contact LDAP server
by Rakesh Yadav
Hi,
I m using openldap-2.3.38 over linux platform.
I have written a library using LDAP client API's according to my
requirement.
I m having RPC clients and a RPC server. This RPC server is multithreaded
and uses the library which is written using LDAP client api.
The problem is :
1. I have open a single connection with LDAP server and passed the global
LDAP * ptr to all my library calls,
And i sended a search request from rpc client in a loop, it works and
gives the result but as i run second request for
reading data from rpc server then i get error from LDAP server "*Broken
pipe*".
2. Then i have decided i will use seprate connection with LDAP for each
thread and use a local LDAP *ptr for thread.
This time multiple requests from rpc client works for 2-3 minutes after
that it also gives error.
"*ldap_bind :Can't contact LDAP server*"
In this case i opened and closed a connection with LDAP server for each
thread.
Please suggest me some solution for handling multiple threads with LDAP
client API.
In case of Solaris i got a sample for handling multiple threads with LDAP
client api's.
But this solution doesn't work over Linux.
Please give me some solution.
Thanks
--
Rakesh Yadav
Pune.
12 years, 10 months
Sync State (Response) Control
by Srinidhi Sharma
Hi,
Is the sync state control support available in 2.4.9 and is it exposed as
suported control to JNDI and other client interfaces ?
I tried a JNDI program using the novell's ldap.jar implementation, but
couldnot get the Sync state control. Is this a known issue or am I missing
something ???
I know that, this is not a JNDI forum, but in any of the other JNDI forum's
I did not see any postings on Sync state control.
Any pointers will be helpful.
--
Thanks,
Srinidhi
12 years, 10 months
LDAP in deltasyncrepl method
by Aravind Arjunan
hi,
am configuring openldap 2.3 in RHEL 5 operating system.
I need the configuration file for master and slave slapd.conf file
for reference.
i need to configure *openldap in delta-syncrepl method.*
If any one configured openldap in this method plz send me the configuration
file reference.
or any one plz say me how to configure ldap in master/slave in RHEL 5 OS
12 years, 10 months