[Bug 270455] New: smb4k UID problem - access denied
https://bugzilla.novell.com/show_bug.cgi?id=270455 Summary: smb4k UID problem - access denied Product: openSUSE 10.2 Version: Final Platform: i586 OS/Version: openSUSE 10.2 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: admin@different-perspectives.com QAContact: qa@suse.de smb4k worked well under 10.1. Upgraded to 10.2 & smb4k not working. Uninstalled & resinstalled, still NF. Target machine suse 8.3, stable & not changed. smb4k on client machine is creating the share links using the target machine's UIDs rather than the local machine's UID. Access is then denied for the user. I can browse target if I suid to root, so the networking part is working fine. A big difference seems to be that the change from 10.2 to 10.2 on the client machine also required a change from using SMB to CIFS for the shares in smb4k configuration. This is, clearly, completely blocking use of samba shares on 10.2 for us. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |KDE -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |stbinner@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |admin@different-perspectives.com ------- Comment #1 from stbinner@novell.com 2007-05-08 06:29 MST ------- Can you please tell me what version of smb4k you're running? The original version of 10.2 (0.7.3), the current one available via online update (0.7.5) or the current smb4k version available at http://software.opensuse.org/download/KDE:/Backports/openSUSE_10.2/ (0.8.3)? Is it possible for you to test the latter? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 admin@different-perspectives.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|admin@different- | |perspectives.com | ------- Comment #2 from admin@different-perspectives.com 2007-05-10 06:56 MST ------- The version giving the error is 0.7.5. With 0.8.3 I get the same result: (this is after the mount using smb4k 0.8.3) david@xxxxxxxx:~> sudo ls -l /home/david/smb4k/yyyyyy/ total 1024 drwxr----- 59 500 users 0 2007-02-01 09:50 david david@xxxxxxxx:~> sudo grep -i david /etc/passwd david:x:1000:100:David:/home/david:/bin/bash David -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 ------- Comment #3 from admin@different-perspectives.com 2007-05-10 07:03 MST ------- Created an attachment (id=138979) --> (https://bugzilla.novell.com/attachment.cgi?id=138979&action=view) smb4k config file -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 gassauer@kde.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gassauer@kde.org Severity|Major |Critical Priority|P5 - None |P1 - Urgent ------- Comment #4 from gassauer@kde.org 2007-05-22 03:54 MST ------- IMHO this is due to the usage of CIFS instead of depreciated smbfs see http://www.uwsg.iu.edu/hypermail/linux/kernel/0704.3/3616.html I have some lines like this on in /etc/fstab //sw/kg /hda2/daten/sw/dos/K cifs password=pwd,uid=gass,gid=stra,username=gass,filemod=0660,dirmod=0770 0 0 uid and gid are not respected see man:/mount.cifs uid=arg sets the uid that will own all files on the mounted filesystem. It may be specified as either a username or a numeric uid. This parameter is ignored when the target server supports the CIFS Unix extensions. Hence I added echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled at the beginning of /etc/init.d/smbfs. BUT it does not work automagicaly at boot time. Apparently /proc/fs/cifs/LinuxExtensionsEnabled does not exist at this point of time I have to sudo /etc/init.d/smbfs restart to get the right permission. May be - hopefully - there is a better way. Hope that helps -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Major Priority|P1 - Urgent |P3 - Medium ------- Comment #5 from coolo@novell.com 2007-05-22 03:59 MST ------- don't play with the database -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 ------- Comment #6 from gassauer@kde.org 2007-05-22 08:33 MST ------- Couldn't it be a security risk, if the servers uid and gid are passed to the client which allows wrong users to access information accidently. may be not the case with smb4k, but if /etc/fstab is used to mount the shares. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 ------- Comment #7 from gassauer@kde.org 2007-05-23 02:20 MST ------- After adding these 2 lines in /etc/init.d/smbfs it works fine /sbin/modprobe cifs echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 ------- Comment #8 from admin@different-perspectives.com 2007-05-23 04:15 MST ------- I added the 2 lines at the beginning of the "start" CASE statement block, and it works for me. Thanks David -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 ------- Comment #9 from sfrench@us.ibm.com 2007-06-06 12:46 MST ------- in current cifs in mainline, uid and gid are now allowed as overrides (even if Linux Unix Extensions are enabled) which should help your case -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270455 Martin Mrazik <mmrazik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |jpr@novell.com |ovo.novell.com | -- 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.
participants (1)
-
bugzilla_noreply@novell.com