[Samba] Samba4 + Shared Folders

Ricky Nance ricky.nance at gmail.com
Tue May 28 11:49:06 MDT 2013


First, this line in your config is formed wrong...

server = s3fs services, rpc, nbt, wrepl, ldap, CLDAP, kdc, drepl,
winbind, ntp_signd, kcc, dnsupdate

IF you have a need to define it yourself it should look like:
server services = s3fs, rpc, nbt, wrepl, ldap, CLDAP, kdc, drepl, winbind,
ntp_signd, kcc, dnsupdate

I should mention however the defaults (which is what you are currently
using since samba can't parse that line) should work fine, so that line can
be completely removed if you'd like. Next, on to your issue. The first time
you access your share you should be doing it as DOMAIN\Administrator from
windows, then you can set permissions to the share by opening the share
(start -> run -> \\smb\test ) then right clicking on a open area (non
folder/non file) of your share and selecting properties, then click on the
security tab and set the permissions how you would like.

Hope that helps,
Ricky


On Tue, May 28, 2013 at 9:44 AM, Diogo Borsoi <diogoborsoi at gmail.com> wrote:

> Hello dear,
>
> Could help me?
> I have configured a server with CentOS and Samba4, both Linux and
> Windows stations joined to the domain with successfully. However, I
> can not share access to a single set in Samba4, except share folder
> default (sysvol and netlogon). The error returned is "Permission
> Denied".
>
> Follow my smb.conf:
>
> # Global parameters
> [global]
> workgroup = TEST
> realm = test.local
> netbios name = SMB
> active directory server role = domain controller
> server = s3fs services, rpc, nbt, wrepl, ldap, CLDAP, kdc, drepl,
> winbind, ntp_signd, kcc, dnsupdate
>
> [netlogon]
> path = /usr/local/samba/var/locks/sysvol/test.local/scripts
> read only = No
>
> [sysvol]
> path = /usr/local/samba/var/locks/sysvol
> read only = No
>
> [Test]
> path = /data/test
> read only = No
>
> Grateful,
>
> Diogo
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list