[Bug 783719] New: samba "wide links = yes" does not work after upgrade from OpenSuse 11.2
https://bugzilla.novell.com/show_bug.cgi?id=783719 https://bugzilla.novell.com/show_bug.cgi?id=783719#c0 Summary: samba "wide links = yes" does not work after upgrade from OpenSuse 11.2 Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: i586 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: fischerc@itam.cas.cz QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=508381) --> (http://bugzilla.novell.com/attachment.cgi?id=508381) snip of the logfile User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0 After upgrade from 11.2 to 12.2, samba configuration works well except to "wide links = yes" feature. samba share dir "/Rejd/samba" contains sub-direcotry and linked directory drwxrwxrwx 16 root root 4096 Sep 24 08:49 public lrwxrwxrwx 1 root root 19 Sep 24 08:48 linked -> ../linkeddir/ where linked dir is readable: server:/Rejd/samba # ls -l .. drwxr-xr-x 5 root root 82 Oct 5 13:59 samba drwxr-xr-x 6 root root 95 Dec 29 2010 linkeddir linked subdirectory is visible, but not listable smbclient -U guest //localhost/samba Enter guest's password: Domain=[SERVER-NET] OS=[Unix] Server=[Samba 3.6.7-48.12.1-2831-SUSE-SL12.2-i386] smb: \> dir . D 0 Fri Oct 5 13:59:01 2012 .. D 0 Wed Sep 5 07:17:06 2012 public D 0 Mon Sep 24 08:49:37 2012 linked D 0 Mon Sep 24 08:48:35 2012 smb: \> cd linked smb: \linked\> dir NT_STATUS_ACCESS_DENIED listing \linked\* The ordinary subdirectory "public" works well. If I add another (dummy) share pointing to linked directory, everything works as well. smb.conf: [global] map to guest = Bad User domain logons = no domain master = no local master = no preferred master = no security = user unix extensions = no follow symlinks = yes wide links = yes [samba] inherit acls = Yes path = /Rejd/samba read only = no valid users = guest Reproducible: Always Steps to Reproduce: 1. Use config provided 2. Try to access linked directory outside the share tree Actual Results: smb: \linked\> dir NT_STATUS_ACCESS_DENIED listing \linked\* Expected Results: listing of "linked" subdirectory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c1
--- Comment #1 from Cyril Fischer
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c2
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c3
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c4
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c5
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c6
--- Comment #6 from Cyril Fischer
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c7
--- Comment #7 from Cyril Fischer
I don't think that my configuration is too rare - I just need to join several partitions into one samba tree. I completely agree with you that admins should handle such topic, on the other hand I was rather proud on my samba config which lasted for years ;-) and stopped working just after upgrade. AppArmor appeared active without any notice. That was source of my confusion.
Regarding the documentation, I would prefer a warning message in the log file when samba is started. Something like "wide links and AppArmor are active, AppArmor profile has to include targets of all links" or something like that. A short notice in the "wide links part" of man page of smb.conf would be helpful too. Once again many thanks. C. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c8
--- Comment #8 from Cyril Fischer
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c9
--- Comment #9 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c10
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c11
--- Comment #11 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c12
--- Comment #12 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c13
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c14
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=783719
https://bugzilla.novell.com/show_bug.cgi?id=783719#c15
--- Comment #15 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=783719
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com