diff options
-rw-r--r-- | source3/libsmb/nterr.c | 6 |
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)); |