About samba4 share folder
Rowland Penny
repenny241155 at gmail.com
Wed Oct 2 03:27:07 MDT 2013
On 02/10/13 10:13, hyoscar wu wrote:
> Hi list,
>
> I create a shared folder in my samba4 ADDC.
>
> This is some information in smb.sh:
>
>
> [global]
> .....
> realm = uuu.org
> netbios name = TESETDC1
> .....
>
> [netlogon]
> path = /usr/local/samba/var/locks/sysvol/uuu.org/scripts
> invalid users =
> read list =
> write list = @"UUU\Domain Users",@"UUU\Domain Admins"
> valid users = @"UUU\Domain Users",@"UUU\Domain Admins"
> browsable = yes
> inherit permissions = Yes
> inherit owner = Yes
> inherit acls = Yes
> recycle bin = no
>
> [sysvol]
> path = /usr/local/samba/var/locks/sysvol
> invalid users =
> read list =
> write list = @"UUU\Domain Users",@"UUU\Domain Admins"
> valid users = @"UUU\Domain Users",@"UUU\Domain Admins"
> browsable = yes
> inherit permissions = Yes
> inherit owner = Yes
> inherit acls = Yes
> recycle bin = no
>
> [test1]
> path = /share/test1
> invalid users =
> read list =
> write list = @"UUU\Domain Users",@"UUU\Domain Admins"
> valid users = @"UUU\Domain Users",@"UUU\Domain Admins"
> browsable = yes
> inherit permissions = Yes
> inherit owner = Yes
> inherit acls = Yes
> recycle bin = no
>
>
> When I login UUU\administrator in win7 , I can access sysvol and netlogon
> folder by "\\uuu.org\sysvol" and "\\uuu.org\netlogon" correctly.
>
> When I access test1 by "\\uuu.org\test1", there is a permission error, I
> can not access test1 but I can access test1 by "\\testdc1.uuu.org\test1".
>
> What should I do for accessing test1 by "\\uuu.org\test1" ?
> Is there any setting for supporting \\$realm\$folder ?
>
> hyoscarwu
Hello,
You need to use the servername to connect just as if it was a windows
server you were connecting to.
Also I would suggest you alter your smb.conf to match this:
[netlogon]
path = /usr/local/samba/var/locks/sysvol/uuu.org/scripts
read only = No
[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = No
[test1]
path = /share/test1
read only = No
and then go and read about ACL's
Rowland
More information about the samba-technical
mailing list