[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 (
# Date: 2007/07/14 14:06:14

	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 =
	cups options = raw
	include = /etc/samba/dhcp.conf

	comment = Home Directories
	valid users = %S, %D%w%S
	read only = No
	inherit acls = Yes
	browseable = No

	comment = Network Profiles Service
	path = %H
	read only = No
	create mask = 0600
	directory mask = 0700
	store dos attributes = Yes

	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/

	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes

	comment = All Printers
	path = /var/tmp
	create mask = 0600
	printable = Yes
	browseable = No

	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin, root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

	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.

More information about the samba mailing list