Record Fetching problem through Sun Directory Server 5.1
I am using LDAP version 3.0 for fetctching data from Sun Directory Server 5.1. Use following API's first initialize session as
FActiveDirSession := ldap_init(PChar(Host), PortNumber)
Then bind to the server suing
Result := ldap_Connect(FActiveDirSession, nil);
Result := ldap_simple_bind_s(FActiveDirSession,PChar(User),PChar(Password));
The search record using
Result := ldap_search_s(FActiveDirSession, PChar(BaseDN),SearchScope ,PChar(Filter),nil,Cardinal(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.
regards
Imtiaz Khadim

