how often to bind and unbind to ldap

2014-07-23 Thread Daniel Castro
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 sa

Re: how often to bind and unbind to ldap

2014-07-23 Thread Doug Wegscheid
it depends on how often you are doing the searches. I have one (vendor-written) application that occasionally decides to do a half million queries over 36 hours. It does a separate bind and unbind for each, and as the LDAP system administrator, I really wish it would bind once then do the queri