summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-08-04 00:06:26 +0200
committerGünther Deschner <gd@samba.org>2009-08-04 00:16:37 +0200
commit7048165e7a7849a7a97041bcffca91586f1c8fa1 (patch)
tree2203826501dbb1bcc849338f515a8737a390bb4f /source4
parent75030ff2b16a3ddb79367d970590da2375f7e3dc (diff)
downloadsamba-7048165e7a7849a7a97041bcffca91586f1c8fa1.tar.gz
samba-7048165e7a7849a7a97041bcffca91586f1c8fa1.tar.bz2
samba-7048165e7a7849a7a97041bcffca91586f1c8fa1.zip
s4-ldap_server: fix generated error string in map_ldb_error().
Guenther
Diffstat (limited to 'source4')
-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 629cbab2a3..67cc893ff2 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -165,7 +165,7 @@ static int map_ldb_error(TALLOC_CTX *mem_ctx, int ldb_err,
break;
}
- *errstring = talloc_asprintf(mem_ctx, "%08x: %s", err,
+ *errstring = talloc_asprintf(mem_ctx, "%08x: %s", W_ERROR_V(err),
ldb_strerror(ldb_err));
/* result is 1:1 for now */