s3-winbindd: Always map the LDAP error code to an NTSTATUS
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 May 2012 07:40:59 +0000 (17:40 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 May 2012 19:28:44 +0000 (21:28 +0200)
commit483a01ea7f50227cb5328c52d8b71a2a31e7acea
treedcc70a3ae1a2f1e59e02fdb6d52592ba513140be
parent80e60a8f824f3d709fc45ec11e3ee0a161a622d8
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