winbindd_ads: use the reconnect methods instead of the rpc methods directly
commit85ccc328a4fefeb1f2b0967d9e487ae83a10b860
authorMichael Adam <obnox@samba.org>
Fri, 21 Nov 2008 01:24:06 +0000 (21 02:24 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2008 10:39:14 +0000 (9 11:39 +0100)
treee48e32a6c2a51b41c493dca29382275f2abd6141
parentb496ea66455cc637b34a7e54005fffcac203bb9c
winbindd_ads: use the reconnect methods instead of the rpc methods directly

Some of the ads methods just point to the rpc methods.
This makes winbindd_ads use the reconnect methods instead of
calling the rpc methods directly in order to prevent
negative cache entries for e.g. name_to_sid, when the dc
has closed the connection without sending a reset.

Michael
(cherry picked from commit afd1cba6c18cb56ec13659cec7c86b32de2fda39)
source/winbindd/winbindd_ads.c