summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-06 18:58:41 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-06 18:58:41 +1100
commitf800d4998dc5cfa1e8ed2639dc334add78ceaea5 (patch)
treea8cd97fa535cd9276194203d7f2356e633dd5c2e
parenta021d5513846968c54d6e065dbcb25948418676f (diff)
downloadsamba-f800d4998dc5cfa1e8ed2639dc334add78ceaea5.tar.gz
samba-f800d4998dc5cfa1e8ed2639dc334add78ceaea5.tar.bz2
samba-f800d4998dc5cfa1e8ed2639dc334add78ceaea5.zip
s4-drs: fixed error message for drs_security_level_check
-rw-r--r--source4/rpc_server/drsuapi/drsutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c
index 84bb5ffc01..1b4c28c4ab 100644
--- a/source4/rpc_server/drsuapi/drsutil.c
+++ b/source4/rpc_server/drsuapi/drsutil.c
@@ -127,7 +127,9 @@ WERROR drs_security_level_check(struct dcesrv_call_state *dce_call, const char*
if (security_session_user_level(dce_call->conn->auth_state.session_info) <
SECURITY_DOMAIN_CONTROLLER) {
- DEBUG(0,("DsReplicaGetInfo refused for security token\n"));
+ if (call) {
+ DEBUG(0,("%s refused for security token\n", call));
+ }
return WERR_DS_DRA_ACCESS_DENIED;
}