[Samba] Samba4 + Shared Folders

Ricky Nance ricky.nance at gmail.com
Tue May 28 13:05:38 MDT 2013


Can you test from the samba server using smbclient //localhost/teste
-UAdministrator -d5 and paste the output here if it errors out?

Ricky


On Tue, May 28, 2013 at 1:47 PM, Diogo Borsoi <diogoborsoi at gmail.com> wrote:

> Thanks Ricky,
>
> But I wrote it wrong in e-mail, my smb.conf was as you suggested. I had
> already tried these steps (\\test.local\test), but it did not work, I get
> the message "...Permission denied... Element not found"
>
> # Global parameters
> [global]
>         workgroup = TEST
>         realm = test.local
>         netbios name = SMB
>         server role = active directory domain controller
>         server services = s3fs, 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
>
> [teste]
>         path = /data/teste
>         read only = No
>
>
> Diogo
>
> --
> =================================================
> Diogo Borsoi
> Mobile: +55 12 91436960
>
> http://br.linkedin.com/in/diborsoi
>
> http://diborsoi.wordpress.com/
> =================================================
>
>
>
>
> On Tue, May 28, 2013 at 2:49 PM, Ricky Nance <ricky.nance at gmail.com>
> wrote:
>
> > 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
> >>
> >
> >
> --
> 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