svn commit: samba r20769 - in
branches/SAMBA_4_0/source/torture/libnet: .
metze at samba.org
metze at samba.org
Sun Jan 14 15:56:55 GMT 2007
Author: metze
Date: 2007-01-14 15:56:55 +0000 (Sun, 14 Jan 2007)
New Revision: 20769
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20769
Log:
- it's wrong to add the schemaInfo blob as 2nd value to the prefixMap attribute...(was a typo)
- as the schemaInfo attribute is already applied to the ldb because it's a replicated attribute
we should not replace it
metze
Modified:
branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c
===================================================================
--- branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c 2007-01-14 15:49:06 UTC (rev 20768)
+++ branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c 2007-01-14 15:56:55 UTC (rev 20769)
@@ -430,16 +430,12 @@
return werror_to_ntstatus(status);
}
+ /* we only add prefixMap here, because schemaInfo is a replicated attribute and already applied */
ret = ldb_msg_add_value(msg, "prefixMap", &prefixMap_val, &prefixMap_el);
if (ret != LDB_SUCCESS) {
return NT_STATUS_FOOBAR;
}
prefixMap_el->flags = LDB_FLAG_MOD_REPLACE;
- ret = ldb_msg_add_value(msg, "prefixMap", &schemaInfo_val, &schemaInfo_el);
- if (ret != LDB_SUCCESS) {
- return NT_STATUS_FOOBAR;
- }
- schemaInfo_el->flags = LDB_FLAG_MOD_REPLACE;
ret = ldb_modify(s->ldb, msg);
if (ret != LDB_SUCCESS) {
More information about the samba-cvs
mailing list