summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/ldif_handlers.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-29 20:16:18 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-29 20:16:18 +1000
commit617ef56aa3378c384026b72871af5a7253b8df33 (patch)
tree2c1fa7f290f26f668207a5882b0d8ba05e483b4c /source4/lib/ldb-samba/ldif_handlers.c
parent5bc1d81a1df9d7de8d357c521edc9e3333e821a3 (diff)
downloadsamba-617ef56aa3378c384026b72871af5a7253b8df33.tar.gz
samba-617ef56aa3378c384026b72871af5a7253b8df33.tar.bz2
samba-617ef56aa3378c384026b72871af5a7253b8df33.zip
Remove extra spaces on prefixMap input and output.
Metze requested that the format not include spaces, and the input parser already expects this. Andrew Bartlett (This used to be commit 3b1f5d10360ed1b26980d748a7c9be6db5977bd3)
Diffstat (limited to 'source4/lib/ldb-samba/ldif_handlers.c')
-rw-r--r--source4/lib/ldb-samba/ldif_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb-samba/ldif_handlers.c b/source4/lib/ldb-samba/ldif_handlers.c
index 03acf8b3f3..1f718cc1c5 100644
--- a/source4/lib/ldb-samba/ldif_handlers.c
+++ b/source4/lib/ldb-samba/ldif_handlers.c
@@ -497,7 +497,7 @@ static int ldif_write_prefixMap(struct ldb_context *ldb, void *mem_ctx,
if (i > 0) {
string = talloc_asprintf_append(string, ";");
}
- string = talloc_asprintf_append(string, "%u: %s",
+ string = talloc_asprintf_append(string, "%u:%s",
blob->ctr.dsdb.mappings[i].id_prefix,
blob->ctr.dsdb.mappings[i].oid.oid);
if (string == NULL) {