summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-15 18:45:09 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-15 19:42:39 +0200
commit9476c43967af66e854cfda13bf09e21da7e63a44 (patch)
tree8d1af993a280557591c853f02f0cc0c8c1e850c0
parentfb58c0f36575510ca6572e695afdd81469ced3dd (diff)
downloadsamba-9476c43967af66e854cfda13bf09e21da7e63a44.tar.gz
samba-9476c43967af66e854cfda13bf09e21da7e63a44.tar.bz2
samba-9476c43967af66e854cfda13bf09e21da7e63a44.zip
s4:ldap_backend.c - Windows returns WERROR codes in majuscule HEX format
-rw-r--r--source4/ldap_server/ldap_backend.c2
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,