mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r18425: Fix ads_ntstatus(). LDAP_SUCCESS should really map to NT_STATUS_OK.
Guenther
This commit is contained in:
parent
533f764084
commit
8ab214956e
@ -76,6 +76,9 @@ NTSTATUS ads_ntstatus(ADS_STATUS status)
|
||||
return map_nt_error_from_unix(status.err.rc);
|
||||
#ifdef HAVE_LDAP
|
||||
case ENUM_ADS_ERROR_LDAP:
|
||||
if (status.err.rc == LDAP_SUCCESS) {
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
return NT_STATUS_LDAP(status.err.rc);
|
||||
#endif
|
||||
#ifdef HAVE_KRB5
|
||||
|
Loading…
Reference in New Issue
Block a user