[Samba] smbclient4 - rights

petr.sevcik at linuxbox.cz petr.sevcik at linuxbox.cz
Tue Sep 22 07:01:17 UTC 2015


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


More information about the samba mailing list