[Samba] smbclient4 - rights
rowlandpenny241155 at gmail.com
Tue Sep 22 08:56:55 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
Please do not use smbclient4, it is not supported, in fact if you
compile samba4 yourself it will not be installed.
Try using smbclient instead.
More information about the samba