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>
Sat, 30 Jun 2012 11:44:02 +0000 (13:44 +0200)
commitd63a8bd52709835ea063b8f0230f973540965397
tree41a3e92137949fe50fdab6cacbde1a825fed729e
parent7f0abf6b9dbe684775c428b99ef12014d5050fec
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
(cherry picked from commit 5daa8d2f7fa7d15ac6d6b0238e299f69c70be024)
source3/winbindd/winbindd_ads.c