[Bug 809949] New: Cannot mount CIFS shares
https://bugzilla.novell.com/show_bug.cgi?id=809949 https://bugzilla.novell.com/show_bug.cgi?id=809949#c0 Summary: Cannot mount CIFS shares Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: fred.blaise@gmail.com QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22 I cannot mount CIFS shares anymore. The error is quite obvious, however not applicable for my case. The day before the upgrade I could mount them just fine. Password hasn't changed (I checked) and configuration on laptop neither. I can access these mounts under Windows VM ok or from other server with these same credentials. [1039][fblaise.ironman: /home/fblaise/mnt]$ sudo mount -v MIGCS mount.cifs kernel mount options: ip=10.50.4.42,unc=\\naspntap01\CS$,uid=1000,gid=100,user=MIG\fblaise,pass=******** mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Entry in fstab: //naspntap01/MIGUser$/fblaise /home/fblaise/mnt/MIGHome cifs credentials=/home/fblaise/.fblaise_p,_netdev,uid=1000,gid=100 0 0 Credential file: [1034][fblaise.ironman: Talend]$ ls -l /home/fblaise/.fblaise_p -rw------- 1 fblaise users 43 Feb 7 07:27 /home/fblaise/.fblaise_p dmesg output ------------ [ 2383.045278] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE [ 2383.045283] CIFS VFS: Send error in SessSetup = -13 [ 2383.045351] CIFS VFS: cifs_mount failed w/return code = -13 Reproducible: Always Steps to Reproduce: 1. mount cifs share 2. 3. Actual Results: Permission denied Expected Results: Permission granted and mount OK -- 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=809949 https://bugzilla.novell.com/show_bug.cgi?id=809949#c1 Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fred.blaise@gmail.com --- Comment #1 from Lars Müller <lmuelle@suse.com> 2013-03-18 14:19:46 CET --- (In reply to comment #0)
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
I cannot mount CIFS shares anymore. The error is quite obvious, however not applicable for my case. The day before the upgrade
Have you performed a system upgrade from openSUSE 12.2 to 12.3?
I could mount them just fine. Password hasn't changed (I checked) and configuration on laptop neither. I can access these mounts under Windows VM ok or from other server with these same credentials.
[1039][fblaise.ironman: /home/fblaise/mnt]$ sudo mount -v MIGCS mount.cifs kernel mount options: ip=10.50.4.42,unc=\\naspntap01\CS$,uid=1000,gid=100,user=MIG\fblaise,pass=******** mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Entry in fstab: //naspntap01/MIGUser$/fblaise /home/fblaise/mnt/MIGHome cifs credentials=/home/fblaise/.fblaise_p,_netdev,uid=1000,gid=100 0 0
While calling mount you use MIGCS as argument. Where in your configuration have you defined this mount point?
Credential file: [1034][fblaise.ironman: Talend]$ ls -l /home/fblaise/.fblaise_p -rw------- 1 fblaise users 43 Feb 7 07:27 /home/fblaise/.fblaise_p
I've taken your example, adjusted the settings, and I can access the share content. My credential file is structurec as described in the man page: username=value password=value domain=value lmuelle@hip:~> sudo mount //hip/users/lmuelle lmuelle@hip:~> echo $? 0 lmuelle@hip:~> cat mnt/hip/bnc809949/itworks It works! -- 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=809949 https://bugzilla.novell.com/show_bug.cgi?id=809949#c2 --- Comment #2 from Fred Blaise <fred.blaise@gmail.com> 2013-03-18 13:24:24 UTC --- Hi, Yes, this was an upgrade 12.2 to 12.3 via zypper. The MIGCS is a mountpoint that was located in the current directory. It is actually /home/fblaise/mnt/MIGCS... yea, just saw my fstab entry was actually the wrong one, sorry about that. My credential file is structured another way, so I will try yours. It is like: username=DOMAIN\username password=password Thanks fred -- 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=809949 https://bugzilla.novell.com/show_bug.cgi?id=809949#c3 Fred Blaise <fred.blaise@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fred.blaise@gmail.com | --- Comment #3 from Fred Blaise <fred.blaise@gmail.com> 2013-03-18 13:25:41 UTC --- Great, it works with your credential file structure :) Thanks a lot for the quick response. You can close that ticket. Thanks again. fred -- 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=809949 https://bugzilla.novell.com/show_bug.cgi?id=809949#c4 Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #4 from Lars Müller <lmuelle@suse.com> 2013-03-18 14:44:05 CET --- That's the same cred file structure as defined in the man page. And IIRC it's the same since quite some time. -- 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