From 2d6e98e5c8f44b20b1f071c34ff791e39d3bb052 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 11 Aug 2011 15:49:37 +1000 Subject: s4-dsdb Give a less worrying error message on failure to get a transaction --- source4/dsdb/common/util_samr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/dsdb/common/util_samr.c b/source4/dsdb/common/util_samr.c index 3ce8d76018..b9663ef0ac 100644 --- a/source4/dsdb/common/util_samr.c +++ b/source4/dsdb/common/util_samr.c @@ -70,7 +70,7 @@ NTSTATUS dsdb_add_user(struct ldb_context *ldb, DEBUG(0,("Failed to start a transaction for user creation: %s\n", ldb_errstring(ldb))); talloc_free(tmp_ctx); - return NT_STATUS_INTERNAL_DB_CORRUPTION; + return NT_STATUS_LOCK_NOT_GRANTED; } /* check if the user already exists */ -- cgit