Bug 9090

Summary: update to cauldron: Can't mount anonymous Samba share anymore (error 13)
Product: Mageia Reporter: R G <gemaeuer>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: major    
Priority: Normal CC: cooker, martin.fiala
Version: 3   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description R G 2013-02-17 13:59:36 CET
Description of problem:
Installed Mageia 3 (Cauldron), copied /etc/fstab from mageia 2:
//server/freenas_share /mnt/server cifs username=%,uid=myname 0 0
but can't mount the samba share anymore: I got asked for a password which is not set on the server (anonymous).
If I try to mount manually via:
$mount -t cifs //server/freenas_share  /mnt/server -o guest,sec=none
i get:
mount error(13): Permission denied

I changed nothing o the server side. I still can mount from Win7 or from my media streamer.

I tried a lot of mount or fstab lines, nothing will do.

Version-Release number of selected component (if applicable):
cifs-utilities 5.9-2.mga3

How reproducible:
every time in cauldron
Comment 1 R G 2013-03-24 19:48:22 CET
my fstab line had to be changed from:
//server/freenas_share /mnt/server cifs username=%,uid=myname 0 0
to:
//horst/freenas_share /mnt/horst cifs username=%,password=,uid=myname,sec=ntlmv2 0 0

and:
mount -t cifs //horst/freenas_share  /mnt/horst --verbose -o guest,uid=myname,sec=ntlmv2
mounts now manually.

if someone would enlighten me about this problem being one of updating to cauldron or of me being stupid somewhere in the process I would be grateful.
Comment 2 Manuel Hiebel 2013-05-28 23:17:55 CEST
still valid ? iirc there was some bugs on systemd

Version: Cauldron => 3

Comment 3 Martin Fiala 2013-07-21 07:38:22 CEST
I have the same problem, except that it is not for anonymous connection, but for an authenticated one. It seems more like some upstream problem or may be a new "feature".

# mount -t cifs //popcorn/Share /mnt/popcorn -o username=abc,password=123
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

adding parameter "sec=ntlmv2" works

# mount -t cifs //popcorn/Share /mnt/popcorn -o username=abc,password=123,sec=ntlmv2

CC: (none) => digri

Johnny A. Solbu 2013-07-24 11:14:26 CEST

CC: (none) => cooker

Comment 4 Marja Van Waes 2015-03-31 16:04:04 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD