hi,
i am using Microsoft LDAP API(3.0) and Iplanet Directory Server 5.1.Here is the code snippets.
//Initialization session with Directory Server
FActiveDirSession= ldap_init(Host, PortNumber);
//binding to Server
Result = ldap_Connect(FActiveDirSession, nil);
Result = ldap_simple_bind_s(FActiveDirSession,User,Password );
The search record using
Result := ldap_search_s(FActiveDirSession, BaseDN,SearchScope,Filter,nil,False,Messages);
It will fetch records correctly but when the same search function is called after one day it will return error 0x34=52 in decimal, remeber during one day delay, session is not closed. Can any one help me out what is the actual probelm is it problem of Sun directory Server or my program has the fault.
If it is the problem of Driectory Server then guide me the solution how solve it. And this error LDAP_UNAVAILABLE occure in which scenarios.
regards
Imtiaz Khadim


Reply With Quote
