diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 5e09e6b43fa..8e5e6d8a93f 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -445,6 +445,12 @@ bool smbd_become_authenticated_pipe_user(struct auth_session_info *session_info) session_info->unix_token->ngroups, session_info->unix_token->groups, session_info->security_token); + DEBUG(5, ("Impersonated user: uid=(%d,%d), gid=(%d,%d)\n", + (int)getuid(), + (int)geteuid(), + (int)getgid(), + (int)getegid())); + return True; }