summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-11 15:49:37 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-13 12:30:49 +1000
commit2d6e98e5c8f44b20b1f071c34ff791e39d3bb052 (patch)
treee51d4f62ed033c8d7d0e9070c8f5cc855d4d54e0 /source4/dsdb
parent93e8d3b38185538e3549aee0ee4c1134118626c9 (diff)
downloadsamba-2d6e98e5c8f44b20b1f071c34ff791e39d3bb052.tar.gz
samba-2d6e98e5c8f44b20b1f071c34ff791e39d3bb052.tar.bz2
samba-2d6e98e5c8f44b20b1f071c34ff791e39d3bb052.zip
s4-dsdb Give a less worrying error message on failure to get a transaction
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/common/util_samr.c2
1 files changed, 1 insertions, 1 deletions
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 */