[Samba] cannot access shares
Ryan Johnson
johnson.ryan at shaw.ca
Mon Jul 16 05:49:29 GMT 2007
i had my file server setup with suse 10.1, and i did a clean upgrade to
suse 10.2 (if it matters much), now trying to setup samba again, i have
run into a slight problem. on my windows machines, i can access the home
directories of the users, however when i try and get into directories i
setup myself (in my case 'netshare'), it says that the directory is not
accessible. check permissions etc.
my user list: user1, user2
both belong to group: window
permission for the directory '/netshare' is set for 775
'netshare' is owned by user1 in group window
here is the smb.conf file
*** START smb.conf
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/07/14 14:06:14
[global]
workgroup = HOME
server string = Our File Repository
map to guest = Bad User
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
-s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
os level = 2
domain master = No
usershare allow guests = Yes
hosts allow = 192.168.1.0/255.255.255.0
cups options = raw
include = /etc/samba/dhcp.conf
[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No
[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netshare]
comment = store stuff here
path = /netshare
valid users = user1, user2
admin users = user1, user2
force group = window
read only = No
acl group control = Yes
inherit permissions = Yes
inherit acls = Yes
guest ok = Yes
case sensitive = No
strict locking = No
msdfs proxy = no
*** END smb.conf
so why might i be able to access the user directories, but not my self
made one? i have tried adding another that points to another random
directory i created to test out, and that too does not work.
i should mention that /netshare is the mount point for /dev/hdb1 (just a
120GB drive that is used to store shared stuff)
thanks in advance for your help.
-Ryan
More information about the samba
mailing list