On Mon, Jun 27, 2011 at 10:41:03AM +0200, Anders Norrbring wrote:
Hi.. Im trying to make smbd to follow symlinks on a machine based on openSUSE 11.4 x86_64, in my smb.conf I have this for the share in question:
[global] workgroup = norrbring passdb backend = tdbsam 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 = No add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = No domain master = No security = user
[WEBsites] follow symlinks = yes comment = My websites guest ok = No inherit acls = Yes path = /srv read only = No valid users = anders force user = root force create mode = 0644 create mask = 0000
It doesnt work neither from WinXP nor Win 7, any ideas on what Im doing wrong? Im getting an access error whenever I try to open a symlink, and Ive tried to set the target directory for the symlink to 777 just to try, no luck.
smbd is protected by apparmor, perhaps its rules trigger. Use complain /usr/sbin/smbd to switch the smbd profile to complain mode and run logprof. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org