summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/rpc_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c
index 6b95419172..5270b72fbd 100644
--- a/source3/rpc_server/rpc_server.c
+++ b/source3/rpc_server/rpc_server.c
@@ -1070,7 +1070,8 @@ void dcerpc_ncacn_accept(struct tevent_context *ev_ctx,
case NCALRPC:
rc = sys_getpeereid(s, &uid);
if (rc < 0) {
- DEBUG(2, ("Failed to get ncalrpc connecting uid!"));
+ DEBUG(2, ("Failed to get ncalrpc connecting "
+ "uid - %s!\n", strerror(errno)));
} else {
if (uid == sec_initial_uid()) {
system_user = true;