diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ldap_server/ldap_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index ffe637d7d4..e0f9ee1b5d 100644 --- a/source4/ldap_server/ldap_backend.c +++ b/source4/ldap_server/ldap_backend.c @@ -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, |