[Bug 1043115] New: "net usershare list" only usable by root
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 Bug ID: 1043115 Summary: "net usershare list" only usable by root Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: stefan.bruens@rwth-aachen.de QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: --- Currently, it is not possible to run net usershare list or any other net command as nonpriviledged user. $> net usershare info Failed to init messaging context According to strace, it fails when trying to create a lock: open("/var/lib/samba/lock/msg.lock/18128", O_RDWR|O_CREAT|O_NONBLOCK, 0644) = -1 EACCES (Permission denied) $> ls -ld /var/lib/samba/lock/msg.lock drwxr-xr-x 1 root root 40 Jun 7 12:26 /var/lib/samba/lock/msg.lock $> rpm -q samba samba-client samba-client-4.6.3+git.25.0c154becb13-1.2.x86_64 samba-4.6.3+git.25.0c154becb13-1.2.x86_64 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 Stefan Brüns <stefan.bruens@rwth-aachen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.reddit.com/r/op | |enSUSE/comments/68vvh1/help | |_needed_with_samba_user_sha | |res_on_tumbleweed/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 David Mulder <david.mulder@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david.mulder@suse.com, | |samba-maintainers@SuSE.de Assignee|samba-maintainers@SuSE.de |david.mulder@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 http://bugzilla.opensuse.org/show_bug.cgi?id=1043115#c1 --- Comment #1 from David Mulder <david.mulder@suse.com> --- We found this internally a couple days ago. I just fixed this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 http://bugzilla.opensuse.org/show_bug.cgi?id=1043115#c2 --- Comment #2 from David Mulder <david.mulder@suse.com> --- Created attachment 727978 --> http://bugzilla.opensuse.org/attachment.cgi?id=727978&action=edit patch fix -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 David Mulder <david.mulder@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 http://bugzilla.opensuse.org/show_bug.cgi?id=1043115#c3 --- Comment #3 from David Mulder <david.mulder@suse.com> --- Upstream samba bug is 12828: https://bugzilla.samba.org/show_bug.cgi?id=12828 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 http://bugzilla.opensuse.org/show_bug.cgi?id=1043115#c8 Björn Voigt <bjoernv@arcor.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bjoernv@arcor.de --- Comment #8 from Björn Voigt <bjoernv@arcor.de> --- The bug still exists in Tumbleweed. # rpm -q samba samba-4.6.6+git.36.67c8c47724e-2.1.x86_64 # net usershare info Failed to init messaging context # sudo net usershare info -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 http://bugzilla.opensuse.org/show_bug.cgi?id=1043115#c9 --- Comment #9 from Björn Voigt <bjoernv@arcor.de> --- The bug is fixed with the Samba 4.6.7 package. # rpm -q samba samba-4.6.7+git.38.90b2cdb4f22-1.2.x86_64 # net usershare info -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 http://bugzilla.opensuse.org/show_bug.cgi?id=1043115#c10 David Mulder <david.mulder@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #10 from David Mulder <david.mulder@suse.com> --- Fixed in 4.6.7. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043115 http://bugzilla.opensuse.org/show_bug.cgi?id=1043115#c11 --- Comment #11 from Stefan Brüns <stefan.bruens@rwth-aachen.de> --- Confirmed for TW 20170825, samba-4.6.7+git.38.90b2cdb4f22 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com