From dfd65f93975716f3398f2b75094267648bd9dd31 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 23 Oct 2013 15:07:31 -0700 Subject: Fix comment showing how to print an ACL to allow debug. Signed-off-by: Jeremy Allison Reviewed-by: David Disseldorp --- python/samba/tests/posixacl.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python') 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): -- cgit