[Samba] smbclient4 - rights

Rowland Penny rowlandpenny241155 at gmail.com
Tue Sep 22 08:56:55 UTC 2015


On 22/09/15 08:01, petr.sevcik at linuxbox.cz wrote:
> Hi,
>
> 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
> REVISION:1
> CONTROL:SR|PD|SI|DI|DP
> OWNER:BUILTIN\Administrators
> GROUP:PYDIO\Domain Users
> ACL:PYDIO\pm-uzivatel:ALLOWED/OI|CI/CHANGE
> ACL:NT AUTHORITY\SYSTEM:ALLOWED/OI|CI/FULL
> ACL:BUILTIN\Administrators: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
> Petr

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.

Rowland



More information about the samba mailing list