|
-
November 15th, 2008, 05:12 PM
#1
Junior Member
Samba File Server
I am trying to set up a file server with Samba, but I simply cannot get access to any of the folders, they show up in network neighbourhood, but can't be opened. Can anyone tell me where I have gone wrong?
Hopefully all the info you need is below...
I need 2 users, with 3 folders
Folder 1: company
Folder 2: master
Folder 3: misc
User 1: everyone (with access to "company" and "misc")
User 2: master (with access to "company", "master" and "misc")
I have done the following (as root)
#useradd everyone
#useradd master
#passwd everyone
#passwd master
#smbpasswd -a everyone
#smbpasswd -a master
#smbpasswd -e everyone
#smbpasswd -e master
#md /shares/company
#md /shares/master
#md /shares/misc
#chown master /shares
#chown master /shares/company
#chown master /shares/master
#chown master /shares/misc
#chmod 666 /shares
#chmod 666 /shares/company
#chmod 600 /shares/master
#chmod 666 /shares/misc
my /etc/samba/smb.conf is as follows:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2008-06-06
[global]
workgroup = WORKGROUP
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
security = user
netbios name = nastorage
passdb backend = smbpasswd
[company]
comment = Company
inherit acls = Yes
path = /shares/company
read only = No
[master]
comment = Master
inherit acls = Yes
path = /shares/master
read only = No
[misc]
comment = Misc
inherit acls = Yes
path = /shares/misc
read only = No
Similar Threads
-
By cool_boy in forum General Computer Discussions
Replies: 3
Last Post: June 29th, 2006, 02:45 AM
-
By gore in forum Miscellaneous Security Discussions
Replies: 11
Last Post: June 13th, 2006, 04:06 AM
-
By gore in forum Other Tutorials Forum
Replies: 0
Last Post: October 11th, 2004, 07:07 PM
-
By Lansing_Banda in forum Network Security Discussions
Replies: 2
Last Post: October 5th, 2003, 02:14 AM
-
By Noble Hamlet in forum AntiOnline's General Chit Chat
Replies: 1100
Last Post: March 17th, 2002, 09:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|