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:
parent
93e8d3b381
commit
2d6e98e5c8
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user