Disconnect an idle LDAP connection after 150 seconds.
authorVolker Lendecke <vlendec@samba.org>
Thu, 17 Jul 2003 11:24:54 +0000 (11:24 +0000)
committerVolker Lendecke <vlendec@samba.org>
Thu, 17 Jul 2003 11:24:54 +0000 (11:24 +0000)
commit9ec9df5fe42cebca8db5cdb01a0dbfc563c815fc
tree20f8f7610e91a5e787ab19a071373f64cfeff703
parent0fe05982cd571d0172d59e0559348d79eea81239
Disconnect an idle LDAP connection after 150 seconds.

Not strictly a bugfix, but it should considerably reduce the load we
put on LDAP servers given that at least nss_ldap on Linux keeps a
connection open.

And it should also stress our reconnect-code a bit more ;-)

Thanks to metze for this!

Volker
(This used to be commit e68d8eabeb9c64dc45d057619f9b3dd0cd507444)
source3/include/smbldap.h
source3/lib/smbldap.c