s3-winbindd: Always map the LDAP error code to an NTSTATUS
commit5daa8d2f7fa7d15ac6d6b0238e299f69c70be024
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 May 2012 07:40:59 +0000 (18 17:40 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 May 2012 19:27:25 +0000 (28 21:27 +0200)
tree983aaab375f2b2c5c22874ba64d89fd5ce3a0634
parentd113c69edb57c7a3d72e3ab122cec44858a5313e
s3-winbindd: Always map the LDAP error code to an NTSTATUS

We do this so that we catch LDAP_TIMELIMIT_EXCEEDED as NT_STATUS_IO_TIMEOUT, which
has special handling in winbindd_cache.c

Andrew Bartlett
source3/winbindd/winbindd_ads.c