[Samba] Samba4, problem with public resource

Miguel Angel Coa M. miguelcoam at gmail.com
Tue Nov 11 11:05:01 MST 2014


Hello Everyone,
I solved the problem. The problem was the resource permission and the  "+t"
 flag from my public resource.

Remove flag -t
[...........]
chmod -t publico/
[...........]

check permission
[...........]
drwxrwsr-x+ 92 root users 135168 Nov 11 12:15 publico
[...........]


Thanks.


Saludos.
---
Miguel Coa M.

2014-11-11 3:55 GMT-03:00 Daniel Müller <mueller at tropenklinik.de>:

> Look at :
>
> https://wiki.samba.org/index.php/Setup_and_configure_file_shares_with_Window
> s_ACLs
>
> You need both share permissions and security. This worked for me on Centos6
> with samba 4.1
>
>
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
> Im
> Auftrag von Rowland Penny
> Gesendet: Montag, 10. November 2014 20:14
> An: samba at lists.samba.org
> Betreff: Re: [Samba] Samba4, problem with public resource
>
> On 10/11/14 19:10, Miguel Angel Coa M. wrote:
> > Hello Everyone,
> >
> > I've install Samba4, (Version 4.1.6 and Centos6). I configured the
> > public resource for all users but the strange is that some users can't
> > make operation (read, modify, delete) in the root path "/public", but
> > these can inside for folder "/public/test" . In the "Computer Management
> -> Shared
> > Folders -> Shares"   I select the resource "propriety -> permissions ....
> > -> group name o user " i have: Everyone, Domain Users, Administrator
> > -> with
> > "total control".
> >
> > But when i'm going to connect to resource for create,edit or modify
> > file appears error.
> >
> >
> >
> > [......................]
> >
> >    check_reduced_name [rcortes.txt] [/smbshares1/publico]
> >
> >    check_reduced_name: rcortes.txt reduced to
> > /smbshares1/publico/rcortes.txt
> >
> >    check_reduced_name [rcortes.txt] [/smbshares1/publico]
> >
> >    check_reduced_name: rcortes.txt reduced to
> > /smbshares1/publico/rcortes.txt
> >
> >    rename_internals_fsp: Error NT_STATUS_ACCESS_DENIED rename Nuevo
> > documento de texto (30).txt -> rcortes.txt
> >
> >    MYDOMAIN\rcortes closed file Nuevo documento de texto (30).txt
> > (numopen=2) NT_STATUS_OK
> >
> >    MYDOMAIN\rcortes opened file Nuevo documento de texto (30).txt
> > read=No write=No (numopen=3)
> >
> >    MYDOMAIN\rcortes closed file Nuevo documento de texto (30).txt
> > (numopen=2) NT_STATUS_OK
> >
> >    check_reduced_name [rcortes.txt] [/smbshares1/publico]
> >
> >    check_reduced_name: rcortes.txt reduced to
> > /smbshares1/publico/rcortes.txt
> >
> >    unix_mode(rcortes.txt) returning 0666
> >
> >    MYDOMAIN\rcortes opened file Nuevo documento de texto (30).txt
> > read=No write=No (numopen=3)
> >
> > [......................]
> >
> >
> >
> > The behavior is presented with only some users, other users can work
> > without problems.
> >
> >
> >
> >
> >
> > Resurces permissions
> >
> > [......................]
> >
> > drwxrwxrwt+ 91 MYDOMAIN\administrators  102 131072 Nov 10 09:21
> > drwxrwxrwt+ publico
> >
> > [......................]
> >
> >
> >
> >
> >
> > Check member group
> >
> >
> >
> > [......................]
> >
> > [root at pdc4 ~]# samba-tool group listmembers "Domain Users" |grep
> > rcortes
> >
> > ldb_wrap open of secrets.ldb
> >
> > rcortes
> >
> > [......................]
> >
> >
> >
> > The smb.conf
> >
> > [......................]
> >
> > [publico]
> >
> >          path = /smbshares1/publico
> >
> >          read only = No
> >
> >          guest ok = Yes
> >
> >          hide files = /RECYCLER/
> >
> >          veto files = /*.lnk/*.exe/*.scr/autorun.inf/
> >
> >          directory mask = 0777
> >
> >          create mask = 0777
> >
> > [......................]
> >
> >
> >
> >
> >
> >
> >
> > Thanks.
> Hi, can you please post the '[......................]' part of smb.conf :-)
>
> Rowland
>
> --
> 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