Make pdb_ads survive a restart of Samba4
authorVolker Lendecke <vl@samba.org>
Sun, 28 Jun 2009 13:30:08 +0000 (15:30 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 28 Jun 2009 13:51:02 +0000 (15:51 +0200)
commit325a58a6532e2a9bc7b8e21d55c9b1ccfb879bf9
tree5d23130eb1fa7377821468e1464965d0dfa609f4
parent344dbced50dda7ad788b2e1908896ae926ae471a
Make pdb_ads survive a restart of Samba4

The search function retries once, the modifying call that hits a dead smbd
returns an error. The next try will reconnect. This was simple to implement and
provides a good compromise against Samba4 idling our connection. Most of the
modifying calls are quickly after a search (like OpenUser) anyway.
source3/passdb/pdb_ads.c