summaryrefslogtreecommitdiff
path: root/source3/libsmb/nterr.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-31 14:33:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-31 08:58:00 +0200
commitc7b9dbea109f8cdc6d74b17f724653bf3534dcc2 (patch)
treec7282462554b9dc6a10285a5541ab701cdb30386 /source3/libsmb/nterr.c
parent6552561b87ff5537d17ca82a85f7eb7943231241 (diff)
downloadsamba-c7b9dbea109f8cdc6d74b17f724653bf3534dcc2.tar.gz
samba-c7b9dbea109f8cdc6d74b17f724653bf3534dcc2.tar.bz2
samba-c7b9dbea109f8cdc6d74b17f724653bf3534dcc2.zip
s3-libsmb remove ldap_err2string() as common nterrs[] has the constants
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 08:58:00 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb/nterr.c')
-rw-r--r--source3/libsmb/nterr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c
index 1302326bce..7d0b3d08fd 100644
--- a/source3/libsmb/nterr.c
+++ b/source3/libsmb/nterr.c
@@ -36,12 +36,6 @@ const char *nt_errstr(NTSTATUS nt_code)
int idx = 0;
char *result;
-#ifdef HAVE_LDAP
- if (NT_STATUS_IS_LDAP(nt_code)) {
- return ldap_err2string(NT_STATUS_LDAP_CODE(nt_code));
- }
-#endif
-
if (NT_STATUS_IS_DOS(nt_code)) {
return smb_dos_err_name(NT_STATUS_DOS_CLASS(nt_code),
NT_STATUS_DOS_CODE(nt_code));