I have a single server on my LAN that is a Samba file server [10.1.1.199].
This machine has 2 shares. One is the "it" share which I want authentication on. I don't want anyone to be able to access and or browse this share unless you're a member of the "admin" group.
Then I have a second share which is called "perfwg" share which I want to be public and open to anyone (read or write).
Is this possible to do? Have one share authenticated and another share open?
Here is my smb.conf
Code:
# ----------------------- Standalone Server Options ------------------------
#
# Security can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
security = user
passdb backend = tdbsam
# A file share for the IDE I.T. Dept.
[it]
comment = I.T. Share
path = /share/it
public = no
writable = yes
browseable = yes
printable = no
create mask = 0770
directory mask = 0770
force group = admin
# A file share for the Performance WG.
[perfwg]
comment = Performance WG Share
path = /share/perfwg
public = yes
writable = yes
browseable = yes
printable = no
create mask = 0775
directory mask = 0775
security = share
I have the permissions for the /share folder that homes both the "it" & "perfwg" folders (shares)
Code:
[root@fback share]# ls -la
total 24
drwxrwx--- 4 root admin 4096 Jul 14 14:30 .
drwxr-xr-x 24 root root 4096 Jul 11 10:58 ..
drwxrws--- 6 root admin 4096 Jul 14 14:29 it
drwxrwxrwx 2 root root 4096 Jul 14 14:25 perfwg
Anyone know how to make this work?