mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s4:ldap_backend.c - Windows returns WERROR codes in majuscule HEX format
This commit is contained in:
@ -178,7 +178,7 @@ static int map_ldb_error(TALLOC_CTX *mem_ctx, int ldb_err,
|
||||
break;
|
||||
}
|
||||
|
||||
*errstring = talloc_asprintf(mem_ctx, "%08x: %s", W_ERROR_V(err),
|
||||
*errstring = talloc_asprintf(mem_ctx, "%08X: %s", W_ERROR_V(err),
|
||||
ldb_strerror(ldb_err));
|
||||
if (add_err_string != NULL) {
|
||||
*errstring = talloc_asprintf(mem_ctx, "%s - %s", *errstring,
|
||||
|
Reference in New Issue
Block a user