I want to query ACL on //server/share by smbcacls, but the following command-line fails: $ /opt/osstech/bin/smbcacls //server/share . -Uuser%password Failed to open \.: NT_STATUS_OBJECT_NAME_INVALID Is this smbcacls's problem? If //server/share/dir exists, I can use the following workaround: $ /opt/osstech/bin/smbcacls //server/share dir/.. -Uuser%password REVISION:1 CONTROL:0x8004 OWNER:Unix User\root GROUP:Unix Group\root ACL:Unix User\root:DENIED/0x0/ ACL:Unix User\root:ALLOWED/0x0/0x001c0177 ACL:Unix Group\root:DENIED/0x0/0x00000046 ACL:Unix Group\root:ALLOWED/0x0/0x00100021 ACL:Everyone:DENIED/0x0/0x000c0156 ACL:Everyone:ALLOWED/0x0/READ
Can you try smbcacls //server/share \\ instead? This just worked fine for me. If that does not work, please re-open this bug. Thanks!
It works. Thanks. I want to apply the following patch to smbacls(1) manpage: $ git diff diff --git a/docs-xml/manpages-3/smbcacls.1.xml b/docs-xml/manpages-3/smbcacls.1.xml index 16915bb..cba71c1 100644 --- a/docs-xml/manpages-3/smbcacls.1.xml +++ b/docs-xml/manpages-3/smbcacls.1.xml @@ -20,7 +20,7 @@ <cmdsynopsis> <command>smbcacls</command> <arg choice="req">//server/share</arg> - <arg choice="req">filename</arg> + <arg choice="req">/filename</arg> <arg choice="opt">-D acls</arg> <arg choice="opt">-M acls</arg> <arg choice="opt">-a acls</arg>
Would it be possible for you to send a patch in git format-patch form?
Created attachment 7404 [details] Proposed patch (Samba 3.5)
Created attachment 7405 [details] Proposed patch (Samba 3.6)
http://git.samba.org/?p=samba.git;a=commitdiff;h=6804e46811dd13cfd405f7c48a3dc2bc6501d75c
Re-opened and re-assigned to Karolin so she can cherry-pick that git ref for the next 3.6.x release. Jeremy.
Pushed to v3-6-test. Closing out bug report. Thanks!