svn commit: samba r7868 - in
branches/SAMBA_4_0/source/lib/ldb/tools: .
tridge at samba.org
tridge at samba.org
Fri Jun 24 01:58:40 GMT 2005
Author: tridge
Date: 2005-06-24 01:58:40 +0000 (Fri, 24 Jun 2005)
New Revision: 7868
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7868
Log:
canonicalise the message before using ldb_add() in the ldbadd utility.
Modified:
branches/SAMBA_4_0/source/lib/ldb/tools/ldbadd.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbadd.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbadd.c 2005-06-24 01:50:50 UTC (rev 7867)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbadd.c 2005-06-24 01:58:40 UTC (rev 7868)
@@ -71,6 +71,8 @@
break;
}
+ ldif->msg = ldb_msg_canonicalize(ldb, ldif->msg);
+
ret = ldb_add(ldb, ldif->msg);
if (ret != 0) {
fprintf(stderr, "ERR: \"%s\" on DN %s\n",
More information about the samba-cvs
mailing list