diff options
author | Jeremy Allison <jra@samba.org> | 2013-10-23 15:07:31 -0700 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2013-10-24 14:21:51 +0200 |
commit | dfd65f93975716f3398f2b75094267648bd9dd31 (patch) | |
tree | 16c70785bc13806b99414bb33ac17817066ab80b | |
parent | a1bc1c32e33508c45e614646d69a5f5d67ba22be (diff) | |
download | samba-dfd65f93975716f3398f2b75094267648bd9dd31.tar.gz samba-dfd65f93975716f3398f2b75094267648bd9dd31.tar.bz2 samba-dfd65f93975716f3398f2b75094267648bd9dd31.zip |
Fix comment showing how to print an ACL to allow debug.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
-rw-r--r-- | python/samba/tests/posixacl.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/samba/tests/posixacl.py b/python/samba/tests/posixacl.py index bb104f7232..a6b51182d6 100644 --- a/python/samba/tests/posixacl.py +++ b/python/samba/tests/posixacl.py @@ -32,8 +32,10 @@ from samba.samba3 import param as s3param # for entry in posix_acl.acl: # print "a_type: %d" % entry.a_type # print "a_perm: %o" % entry.a_perm -# print "uid: %d" % entry.uid -# print "gid: %d" % entry.gid +# if entry.a_type == smb_acl.SMB_ACL_USER: +# print "uid: %d" % entry.uid +# if entry.a_type == smb_acl.SMB_ACL_GROUP: +# print "gid: %d" % entry.gid class PosixAclMappingTests(TestCaseInTempDir): |