1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s4-dsdb Give a less worrying error message on failure to get a transaction

This commit is contained in:
Andrew Bartlett 2011-08-11 15:49:37 +10:00
parent 93e8d3b381
commit 2d6e98e5c8

View File

@ -70,7 +70,7 @@ NTSTATUS dsdb_add_user(struct ldb_context *ldb,
DEBUG(0,("Failed to start a transaction for user creation: %s\n", DEBUG(0,("Failed to start a transaction for user creation: %s\n",
ldb_errstring(ldb))); ldb_errstring(ldb)));
talloc_free(tmp_ctx); talloc_free(tmp_ctx);
return NT_STATUS_INTERNAL_DB_CORRUPTION; return NT_STATUS_LOCK_NOT_GRANTED;
} }
/* check if the user already exists */ /* check if the user already exists */