git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e8d3b
)
s4-dsdb Give a less worrying error message on failure to get a transaction
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 11 Aug 2011 05:49:37 +0000
(15:49 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 13 Aug 2011 02:30:49 +0000
(12:30 +1000)
source4/dsdb/common/util_samr.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util_samr.c
b/source4/dsdb/common/util_samr.c
index 3ce8d76018da191bb004596b470cffea6ee78347..b9663ef0ac81c79a3c9e0c547917dc611889560b 100644
(file)
--- 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 */