smbstatus: correctly denote not fully authenticated sessions
authorRalph Boehme <slow@samba.org>
Tue, 4 Jul 2017 10:22:00 +0000 (12:22 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 27 Nov 2017 21:08:17 +0000 (22:08 +0100)
commit81e9ae1368c34bf59d0a100c9f03ea67d64f2979
tree7191df1f4447a2669c09ea288bbaee691903a0dd
parenteb6dd7dc29a9b89d155d987331aaa79fd4c9a9bb
smbstatus: correctly denote not fully authenticated sessions

Currently for sessions where authentication is still in progress we
print uid and gid as -1.

With this change we nicely list them like this:

PID  Username   Group    Machine                          Protocol Version ....
6604 (auth in progress)  127.0.0.1 (ipv4:127.0.0.1:47930) SMB3_11 ....

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/status.c