summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-06-03 01:32:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:51 -0500
commite47c00414f4eb01951bb4ba3707cea4ffb82033d (patch)
tree33b4d9626ddeadd43d1fb7ea7b2ab550549ab57c /source4/dsdb/samdb/ldb_modules
parent68e72e389b71fac43b77781c97e3807c690f243a (diff)
downloadsamba-e47c00414f4eb01951bb4ba3707cea4ffb82033d.tar.gz
samba-e47c00414f4eb01951bb4ba3707cea4ffb82033d.tar.bz2
samba-e47c00414f4eb01951bb4ba3707cea4ffb82033d.zip
r16022: ooops, a bit too aggressive commit :-)
(This used to be commit 959c8c35ef170e03a5f698d0fa11616583cc6f66)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c2
1 files changed, 1 insertions, 1 deletions
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