On Mon, Feb 28, 2011 at 9:37 PM, Gaiseric Vandal
<[email protected]> wrote:
Are users logging into the PC with this one account? Or are they logging
into PC's with unique accounts? Are they accessing other shares besides
this one? If this is the only share, it shouldn't be a problem
(technically.)
Users are logging into the pc with unique accounts. I would like to have
them access other shares as well. The idea is to have a simple setup
with a standard username and password for shares. Here's a more
complete example:
Greate folders
===========
mkdir /media/test
chmod -R 770 /media/test
chmod g+s /media/test
chown -R root:users /media/test
mkdir /media/samba
chmod -R 770 /media/samba
chmod g+s /media/samba
groupadd office
chown -R root:office /media/samba
Add users
========
smbpasswd -a user
smbpasswd -a user2
Add users to relevant groups
============================
gpasswd -a user users
gpasswd -a user2 office
Create /etc/samba/smb.conf
==========================
[global]
workgroup = WORKGROUP
netbios name = TESTSERVER
security = user
[test]
path = /media/test
read only = No
store dos attributes = yes
inherit permissions = yes
[samba]
path = /media/samba
read only = No
store dos attributes = yes
inherit permissions = yes
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba