summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-11 23:26:39 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-11 23:26:39 +1000
commit9da49338043dedbf17c99ceed24c2934514d0157 (patch)
tree72a39666e6adcef509e84d611409525fadf49280 /source4/dsdb/samdb
parent97182d52dfff8ceca797a5c96122bf94731e79f0 (diff)
downloadsamba-9da49338043dedbf17c99ceed24c2934514d0157.tar.gz
samba-9da49338043dedbf17c99ceed24c2934514d0157.tar.bz2
samba-9da49338043dedbf17c99ceed24c2934514d0157.zip
s4-vampire: cope with no invocationID when vampiring the schema
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index bb446333e2..fbcde764cc 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -547,9 +547,10 @@ static int replmd_update_rpmd(struct ldb_context *ldb, struct ldb_message *msg,
our_invocation_id = samdb_ntds_invocation_id(ldb);
if (!our_invocation_id) {
- ldb_debug_set(ldb, LDB_DEBUG_ERROR,
- __location__ ": replmd_update_rpmd: unable to find invocationId\n");
- return LDB_ERR_OPERATIONS_ERROR;
+ /* this happens during an initial vampire while
+ updating the schema */
+ DEBUG(5,("No invocationID - skipping replPropertyMetaData update\n"));
+ return LDB_SUCCESS;
}
unix_to_nt_time(&now, t);