[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-263-gdb26c00
Stefan Metzmacher
metze at samba.org
Sat Sep 12 02:40:18 MDT 2009
The branch, master has been updated
via db26c00c5509d361b2681d23e326aca96fc23ea1 (commit)
from 0be268bf5538dcf57f9534d864be1960dfab0f72 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit db26c00c5509d361b2681d23e326aca96fc23ea1
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Sep 12 09:32:24 2009 +0200
s4:repl_meta_data: increment the attribute version with each change
metze
-----------------------------------------------------------------------
Summary of changes:
source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 2a16c2b..1242d1d 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -505,6 +505,7 @@ static int replmd_update_rpmd_element(struct ldb_context *ldb,
return LDB_ERR_OPERATIONS_ERROR;
}
omd->ctr.ctr1.count++;
+ ZERO_STRUCT(omd->ctr.ctr1.array[i]);
}
/* Get a new sequence number from the backend. We only do this
@@ -519,7 +520,7 @@ static int replmd_update_rpmd_element(struct ldb_context *ldb,
}
md1 = &omd->ctr.ctr1.array[i];
- md1->version = 1;
+ md1->version++;
md1->attid = a->attributeID_id;
md1->originating_change_time = now;
md1->originating_invocation_id = *our_invocation_id;
--
Samba Shared Repository
More information about the samba-cvs
mailing list