mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
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
This commit is contained in:
parent
6552561b87
commit
c7b9dbea10
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user