winbindd_ads: use the reconnect methods instead of the rpc methods directly
commit06f19e52489b3253ea4292795e4c73fa94cfd392
authorMichael Adam <obnox@samba.org>
Fri, 21 Nov 2008 23:42:54 +0000 (22 00:42 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 21 Nov 2008 23:42:54 +0000 (22 00:42 +0100)
tree05a244629c590058671e99a4db1d64435c64b338
parentcc97e2a0d51f52a79982ac265f073d3829c1357a
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
source/nsswitch/winbindd_ads.c