Salutare,
Nu se intampla nimic in modul sugerat de tine. Serverul ruleaza pe un RHEL 5 cu
toate actualizarile la zi.
Mai jos trimit configurarea samba :
[global]
; workgroup = WORKGROUP
netbios name = *****
server string = *****
security = user
update encrypted = Yes
# passdb backend = tdbsam
# root directory = /var/date
guest account = nobody
pam password change = Yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd program = /usr/sbin/passwd %u
unix password sync = Yes
admin users = *****, *****
username map = /etc/samba/smbusers
acl group control = Yes
add user script = /usr/sbin/useradd %u
# LOG OPTIONS
log level = 5
[homes]
comment = Home Directories
browseable = no
[DATE]
comment = ****** Content
path = /var/date/Projects
read only = No
guest only = No
guest ok = No
public = No
valid users = @samba_users
inherit acls = yes
inherit permissions = yes
map acl inherit = yes
nt acl support = yes
writeable = yes
printable = no
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
> Message: 1
> Date: Wed, 27 Oct 2010 13:59:06 +0300
> From: Bucatarul <[email protected]>
> Subject: Re: [rlug] Probleme Share Samba
> To: Romanian Linux Users Group <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Ce versiune de samba foloseti ?
>
> M-am uitat si pe la mine pa-n configi.
>
> Fara acls poti s-o rezolvi asa (unless export magaoaia si nfs/altceva eu asa
> fac)
> :
>
> read list = bla blo @vla
> write list = @vla bla
> create mask = 0666
> directory mask = 0777
>
> force create mode = 0666
> force directory mode = 0777
>
>
>
>
> Cu acl's ... din cate stiu iti trebe :
>
> nt acl support = yes
> inherit permissions = yes
> inherit acls = yes
> map acl inherit = yes
>
> Si multa rabdare la creat acl-urile. Ma gandesc ca poate n-ai nt acl support =
> yes pe nicaieri, si d-asta nu merge (map acl inherit face ca si windblows sa
> le
> vada, ma indoiec ca e cauza principala ).
>
>
> D.B.
>
>
>
>
> George Pochiscan wrote:
> > Salut,
> >
> >
> > Am instalat un server de samba. Problema consta in accesul userilor pe
> anumite foldere din cadrul Shareului. Accesul pe folderele din share se face
> in functie de grupurile in care apartin userii.
> > Atunci cand creez/copiez un fisier in unul din foldere doar userul care il
> creeaza are acces de a-l modifica, nu si ceilalti din grupul care access pe
> acel
> folder.
> >
> >
> > Configurare Share :
> > [DATE]
> > comment = Date
> > path = /var/date/Projects
> > read only = No
> > guest only = no
> > guest ok = No
> > public = No
> > valid users = @samba_users
> > inherit acls = yes
> > inherit permissions = yes
> > writeable = yes
> > printable = no
> >
> > fisier : test.txt
> >
> > # file: test.txt
> > # owner: aaa
> > # group: samba_users
> > user::rwx
> > group::r-x
> > other::r-x
> >
> >
> > ACL pe folderul in care am copiat fisierul test.txt :
> >
> > # file: 1stfolder
> > # owner: xxx
> > # group: samba_users
> > user::rwx
> > group::rwx
> > group:grp_test1:rwx
> > group:grp_test1_r:r-x
> > mask::rwx
> > other::r-x
> >
> >
> > userii aaa si xxx fac parte din grupul grp_test1 dar si din alte grupuri, nu
> toate fiind comune.
> >
> > Ce as putea sa fac pentru a rezolva problema aceasta?
> >
> >
> > Multumesc,
> >
> > George
> >
This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.
Thank you.
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug