how often to bind and unbind to ldap
[email protected] (Daniel Castro) Tue, 22 Jul 2014 19:27:44 -0400
| Newsgroups | perl.ldap |
|---|---|
| Message-ID | <CAP2B858u45YFBu4FonbbOoBJ7Ksq-iduTEj5ArcN8Q0D_aF4Uw@mail.gmail.com> |
Hello Guys, I wrote a script that runs as a system process. If I do constant searches on the LDAP server how often should I bind and unbind from the server. Should I do only one and maintain it. But what about if it disconnects due to inactivity during the night. Can I simply bind again on the same object? Or should I bind, then search, then unbind each time? Advice? Thanks, -- +-=====---------------------------+ | +---------------------------------+ | This space intentionally blank for notetaking. | | | Daniel Castro, | | | | Consultant/Programmer.| | | | U Andes | +-------------------------------------+