1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r16022: ooops, a bit too aggressive commit :-)

This commit is contained in:
Simo Sorce 2006-06-03 01:32:55 +00:00 committed by Gerald (Jerry) Carter
parent 6b214f232e
commit 959c8c35ef

View File

@ -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