Bug 620 - smbcacls(1): ACL type can be either ALLOWED or DENIED, not 0 or 1
Summary: smbcacls(1): ACL type can be either ALLOWED or DENIED, not 0 or 1
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.0.28a
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Karolin Seeger
QA Contact: Samba Documentation QA Contact~
Depends on:
Reported: 2003-10-14 05:51 UTC by SATOH Fumiyasu
Modified: 2008-04-28 08:37 UTC (History)
2 users (show)

See Also:

Proposed patch for manpage of smbcacls(1). (667 bytes, patch)
2004-07-12 21:15 UTC, SATOH Fumiyasu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATOH Fumiyasu 2003-10-14 05:51:23 UTC
The smbcacls command cannot parse ACL if specified ACL type is 0 or 1.
    $ smbcacls //server/share /x -U admin%foo -a 'ACL:nobody:0/0/FULL'
    Failed to parse ACL ACL:nobody

But in smbcacls(1) man page says:
    The type can be either 0 or 1 corresponding to ALLOWED or DENIED access ...
Comment 1 SATOH Fumiyasu 2004-07-12 21:15:09 UTC
Created attachment 562 [details]
Proposed patch for manpage of smbcacls(1).
Comment 2 SATOH Fumiyasu 2004-08-09 07:02:03 UTC
I checked samba-doc/trunk/manpages/smbcacls.1.xml and 
confirmed fixes.

Please change Status to " Resolve bug, changing resolution to FIXED".
Comment 3 SATOH Fumiyasu 2004-08-09 07:12:01 UTC
Please ignore above Comment #2.
This is my mistake...
Comment 4 SATOH Fumiyasu 2004-09-01 08:39:09 UTC
Hi! Are you taking holidays?
Please comment.
My proposed patch is wrong?
Comment 5 Jelmer Vernooij 2004-09-01 11:38:42 UTC
Sorry, I haven't had time to look further into this bug yet. I'll keep you 
informed on the progress.
Comment 6 Guenther Deschner 2004-11-24 16:43:34 UTC
Hi, is this still an issue for you? 

Both: 0/1 and ALLOWED(DENIED work for me here with 3.0.9 smbcacls and server.
Instead we should document that both possibilites are viable.
Comment 7 Gerald (Jerry) Carter (dead mail address) 2005-02-01 12:01:38 UTC
updating qa contact
Comment 8 Jelmer Vernooij 2005-09-24 04:17:32 UTC
reassigning doc bug to John 
Comment 9 Björn Jacke 2008-04-28 08:08:54 UTC
that documenation fix in comment #1 looks perfectly right.

# smbcacls -d 0 -U user%pass -a 'ACL:nobody:0/0/RX' //localhost/test file
ACE 'nobody:0/0/RX': missing 'ALLOWED' or 'DENIED' entry at '0'

Can someone please check the patch in? Karolin?
Comment 10 Karolin Seeger 2008-04-28 08:37:14 UTC
Added the patch (70f6966099788f4bdb0298a68d4cb0b90964dd8f) to all current Samba3-Branches. Will be in the next releases. Closing bug report.

Thank you very much for reporting!