I'm setting up a new server system, CentOS 5.8, to do web hosting among other things. I also have a system running currently as my production server, I believe this is CentOS 5.3. I'm trying to set up the new system to match the configuration of the current one, but I'm running into a problem with Samba shares. I have user accounts on the new server that I want to have full access to web sites (/var/www/virtualhosts/), and the way I did this on the current production system was to put those users in a group called webadmin and give that group access to the virtualhosts directory and all sub directories, then with those users' hoe directories set up as samba shares, I create a link to the virtualhosts directory and put that link those users' home directories, i.e. /home/webuser1/virtualhosts/. That worked fine before, but on the new system I'm getting an error when I try to open that virtualhosts folder from within my home share (I'm accessing my home share on each server from a windows xp comp on the network). The error is "\\servername\webuser1\virtualhosts is not accessible. You might not have permission to use this network resource. Contact the administrator to find out if you have access permissions. Access is denied".
Here is my home share in smb.conf:
comment = Home Directories
path = /home/%u
browseable = no
writable = yes
Other pertinent samba settings are as follows:
interfaces = lo eth0 192.168.7.0/24
hosts allow = 127. 192.168.7.
security = user
passdb backend = tdbsam
username map = /etc/samba/smbusers
These are the same as my current production server, all other settings are default/correct for my network. I tried switching between security = share and security = user, but same error either way. I should also note that the home shares themselves seem to work fine, i.e. I can browse to \\server\webuser1\ and create/edit files there, just not the virtualhosts link. Any help is greatly appreciated!