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
On Mon, Jun 27, 2011 at 10:41:03AM +0200, Anders Norrbring wrote: 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
Marcus, it can't be.. I don't even have AppArmor installed on that machine. But I found a hint when googling on this problem, apparently I should add "unix extensions = no". But as what I understand it also adds a risk using it. Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org