s3:lib change default share security access mask
authorChristian Ambach <ambi@samba.org>
Tue, 26 Jul 2011 11:43:14 +0000 (13:43 +0200)
committerChristian Ambach <ambi@samba.org>
Tue, 26 Jul 2011 13:57:55 +0000 (15:57 +0200)
commit749868ede4cf2d3888135716d98d38dff020cae3
treee76da7aa9a989f83059566e5a1ad98bf66bed914
parentac57cfda9d9a530b8759c65986c9e5a7f1105d3c
s3:lib change default share security access mask

when there is no share SD set, the default share SD that
is used e.g. for the output of sharesec -v defaults to a
value that is not equivalent to the desired FULL access.

This is a more or less a cosmetical follow-up for the patches
in Bug #8201 that makes them more consumeable by printing
FULL (that is what the user expects) instead of a bitmask
in hexadecimal form.

previous output:
REVISION:1
OWNER:(NULL SID)
GROUP:(NULL SID)
ACL:S-1-1-0:ALLOWED/0/0x101f01ff

with patch:
REVISION:1
OWNER:(NULL SID)
GROUP:(NULL SID)
ACL:S-1-1-0:ALLOWED/0/FULL

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Tue Jul 26 15:57:55 CEST 2011 on sn-devel-104
source3/lib/sharesec.c