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)
committerJeremy Allison <jra@samba.org>
Sat, 26 May 2012 00:03:08 +0000 (02:03 +0200)
commitb9217a8c0032c10b898a4f1ca0ed8d38f39c39a1
treedbf273461cd66fb197bd90ba7eac999355ee7984
parent63fb1d396b771211208b653d7725bca73e8df955
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

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_ads.c