diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-31 14:33:23 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-31 08:58:00 +0200 |
commit | c7b9dbea109f8cdc6d74b17f724653bf3534dcc2 (patch) | |
tree | c7282462554b9dc6a10285a5541ab701cdb30386 /source3/libsmb/nterr.c | |
parent | 6552561b87ff5537d17ca82a85f7eb7943231241 (diff) | |
download | samba-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.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)); |