mirror of
https://github.com/samba-team/samba.git
synced 2025-11-11 00:23:51 +03:00
r11114: - fixed error handling on bad bind in ildap client
- added nicer error display, giving a string version of the error code
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7e338c23f5
commit
5ec486bb81
@@ -240,7 +240,8 @@ NTSTATUS ldap_bind_sasl(struct ldap_connection *conn, struct cli_credentials *cr
|
||||
result = response->r.BindResponse.response.resultcode;
|
||||
|
||||
if (result != LDAP_SUCCESS && result != LDAP_SASL_BIND_IN_PROGRESS) {
|
||||
status = NT_STATUS_UNEXPECTED_NETWORK_ERROR;
|
||||
status = ldap_check_response(conn,
|
||||
&response->r.BindResponse.response);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user