s3-winbindd_ads: use the reconnect methods instead of the rpc methods directly
commit3a50c98b207caf15deb0611bd8ba20995362632b
authorMichael Adam <obnox@samba.org>
Fri, 21 Nov 2008 01:26:50 +0000 (21 02:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 26 Nov 2008 09:13:42 +0000 (26 10:13 +0100)
treec9897e367a056bb03ec03e7bef5756e2c61e436c
parenta995f8329d66a950accaf9f152c21689afa0ddeb
s3-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 b89d75a093ef87bc7cccb8914d246c8e932f0352)
source/winbindd/winbindd_ads.c