git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d92d5b
)
s4-rpc_server/drsuapi: Print ldb error showing why we failed to perform the access...
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 8 Sep 2013 21:57:27 +0000
(09:57 +1200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 16 Sep 2013 17:37:20 +0000
(19:37 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/rpc_server/drsuapi/drsutil.c
patch
|
blob
|
history
diff --git
a/source4/rpc_server/drsuapi/drsutil.c
b/source4/rpc_server/drsuapi/drsutil.c
index d3b8d23b708d1240756275070115c1b5db5ac6e9..2762a4e5cc2701d76f69f0b737f78e0dc0b5a873 100644
(file)
--- a/
source4/rpc_server/drsuapi/drsutil.c
+++ b/
source4/rpc_server/drsuapi/drsutil.c
@@
-170,7
+170,7
@@
static WERROR drs_security_access_check_log(struct ldb_context *sam_ctx,
security_token_debug(2, 0, token);
return WERR_DS_DRA_ACCESS_DENIED;
} else if (ret != LDB_SUCCESS) {
- DEBUG(1,("Failed to perform access check on %s
\n", ldb_dn_get_linearized(dn
)));
+ DEBUG(1,("Failed to perform access check on %s
: %s\n", ldb_dn_get_linearized(dn), ldb_strerror(ret
)));
return WERR_DS_DRA_INTERNAL_ERROR;
}
return WERR_OK;