diff options
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 2031aa9def..6cdede1f22 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -3443,7 +3443,7 @@ int dsdb_search(struct ldb_context *ldb, } if (res->count != 1) { talloc_free(tmp_ctx); - return LDB_ERR_OPERATIONS_ERROR; + return LDB_ERR_CONSTRAINT_VIOLATION; } } |