From c7b9dbea109f8cdc6d74b17f724653bf3534dcc2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 31 May 2011 14:33:23 +1000 Subject: s3-libsmb remove ldap_err2string() as common nterrs[] has the constants Autobuild-User: Andrew Bartlett Autobuild-Date: Tue May 31 08:58:00 CEST 2011 on sn-devel-104 --- source3/libsmb/nterr.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/libsmb') 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)); -- cgit