From e47c00414f4eb01951bb4ba3707cea4ffb82033d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 3 Jun 2006 01:32:55 +0000 Subject: r16022: ooops, a bit too aggressive commit :-) (This used to be commit 959c8c35ef170e03a5f698d0fa11616583cc6f66) --- source4/dsdb/samdb/ldb_modules/samldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/samdb/ldb_modules') diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index ed95d2e7d1..01972016ae 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -251,7 +251,7 @@ static int samldb_allocate_next_rid(struct ldb_module *module, TALLOC_CTX *mem_c if (ret == -1) { /* Bugger, there is a problem, and we don't know what it is until gendb_search improves */ return ret; - } else { + } else if (ret != 0) { /* gah, there are conflicting sids. * This is a critical situation it means that someone messed up with * the DB and nextRid is not returning free RIDs, report an error -- cgit