sharesec: Implement --view-all
authorVolker Lendecke <vl@samba.org>
Wed, 26 Jun 2013 13:21:39 +0000 (15:21 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 26 Jun 2013 14:49:33 +0000 (16:49 +0200)
commit780e2b092d7ba12aa03fb89f7c06c3d51ebf6e5f
treeebfb94224720e19cf6ac1d8d6a88faa71155e6be
parent4ee73fd97b63c65cdb8d4fcbe3287a746d667de0
sharesec: Implement --view-all

Listing individual shares can be quite slow when you have a lot of shares. This
implements a --view-all option that prints something like

[share1]
REVISION:1
OWNER:(NULL SID)
GROUP:(NULL SID)
ACL:S-1-1-0:ALLOWED/0/FULL

[share2]
REVISION:1
OWNER:(NULL SID)
GROUP:(NULL SID)
ACL:S-1-1-0:ALLOWED/0/FULL

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/sharesec.c