[23839] in Kerberos

home help back first fref pref prev next nref lref last post

Need LDAP help from you

daemon@ATHENA.MIT.EDU (umer khan)
Fri May 6 13:57:12 2005

Message-ID: <BAY24-F306C9BCEFC568A87823D84FB1B0@phx.gbl>
From: "umer khan" <umer830@hotmail.com>
To: Kerberos@mit.edu
Date: Fri, 06 May 2005 14:03:42 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Errors-To: kerberos-bounces@mit.edu

I am new to this group and need urgent help.While performing search 
operation on microsoft Active Directory using ldap_search_ext_s API.I am 
giving valuest for "timeout" structure as follows.

TimeOutStruct.tv_sec := 10;//local search time out
TimeOutStruct.tv_usec := 0;//operation limit

While performin search with LDAP filter as
(&(telephoneNumber=56*)(objectclass=contact))

some time resulting records are returned and some times i Get timeout as 
return value.I have following questions

Q-1 now extending timeout value from 10 seconds to 50 or 60 will garantee 
the solution or not.

Q-2 if i use unlimited timeout by passing NULL as timeout structure in 
ldap_search_ext_s and set timeout using ldap_set_option for setting 
LDAP_OPT_TIMELIMIT as "0".what potential problems i can face like delays or 
stucks in application.

Q-3 what are common reasons for a timeout.and its permanent solution.

Any kind of help will be highly appreciated.


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post