s3-smbstatus: display [u|g]id of -1 as "-1" in connection list
authorBjörn Baumbach <bb@sernet.de>
Tue, 9 Jul 2013 10:32:34 +0000 (12:32 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 9 Jul 2013 23:18:30 +0000 (01:18 +0200)
commit577cef82c776759c9f3cad7d33057ac865c40769
treed6ff41abd0c693a24a98f5fdb7743bd0f4b5a85a
parentc52e61f7ba215da28cbb7b8e328aea110ad79b11
s3-smbstatus: display [u|g]id of -1 as "-1" in connection list

In order to avoid displayed uid or gid of "4294967295" instead of "-1", we
need to fetch the special case -1.
The id can be -1 if we are reading e.g. incomplete session information.

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jul 10 01:18:30 CEST 2013 on sn-devel-104
source3/utils/status.c