1
0
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:
Matthias Dieter Wallnöfer
2010-08-15 18:45:09 +02:00
parent fb58c0f365
commit 9476c43967

View File

@ -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,