[Samba] smbclient4 - rights
rowlandpenny241155 at gmail.com
Tue Sep 22 10:05:18 UTC 2015
On 22/09/15 08:01, petr.sevcik at linuxbox.cz wrote:
> I have a question, when I connect to smb folder using smbclient I can get
> to folder where I haven't rights.
> I cannot list content of the folder but I can "cd" to folder.
> Is it right or it is bug? Do you have some workaroud?
> ACLs sets on the folder:
> smbcacls //192.168.3.119/orders/order1/Business -k
> GROUP:PYDIO\Domain Users
> ACL:NT AUTHORITY\SYSTEM:ALLOWED/OI|CI/FULL
> ACL:BUILTIN\Server Operators:ALLOWED/OI|CI/READ
> Connect to folder using user dispo-uzivatel
> smbclient4 //192.168.3.119/orders password -U pydio/dispo-uzivatel
> CD and DIR on the folder:
> smb: \order1\> cd business
> dos_clean_name [\order1\\business\]
> smb: \order1\Business\> dir
> NT_STATUS_ACCESS_DENIED listing \order1\Business\*
> 51475068 blocks of size 1024. 48058104 blocks available
> Total bytes listed: 0
> Thans for your reply
I 'think' your problem is that the group 'Domain Users' has access to
the share, your user will be a member of this group. Try changing the
group for the share.
More information about the samba