diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-09-09 09:57:27 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-09-16 19:37:20 +0200 |
commit | f75dc8f4a54581ed207e7caa2e52211ea24e3554 (patch) | |
tree | ae10709af66dd118ec90417c318cd38c86c46f03 /source4/rpc_server | |
parent | 1d92d5b19b36ddf15a70e3110caabfe06ba78619 (diff) | |
download | samba-f75dc8f4a54581ed207e7caa2e52211ea24e3554.tar.gz samba-f75dc8f4a54581ed207e7caa2e52211ea24e3554.tar.bz2 samba-f75dc8f4a54581ed207e7caa2e52211ea24e3554.zip |
s4-rpc_server/drsuapi: Print ldb error showing why we failed to perform the access check
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/drsuapi/drsutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c index d3b8d23b70..2762a4e5cc 100644 --- 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; |