Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465640 - net-fs/cifs-utils-5.9-r1: mount fails using credentials file
Summary: net-fs/cifs-utils-5.9-r1: mount fails using credentials file
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 08:21 UTC by Joerg Schaible
Modified: 2018-08-04 11:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2013-04-12 08:21:17 UTC
After updating from cifs-utils-5.6-r1 to the now stable 5.9-r1, I am no longer able to mount the Samba shares on our Samba server. The mount succeeds after reinstalling version 5.6-r1.


Reproducible: Always

Steps to Reproduce:
1. create samba mount with credential file
2.
3.
Actual Results:  
$ sudo mount -t cifs -o iocharset=utf8,rw,uid=me,gid=users,noperm,credentials=/home/me/.cifs //server/doku /home/me/mnt/doku
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


Expected Results:  
Successful mount.

Actually I found the culprit when testing version 5.8-r1. When mounting with this version it told me immediately that my credential file has an old format that will be no longer supported for version 5.9.

$ cat ~/.cifs 
username=DOMAIN\me
password=*****

After changing the credential file to the new format, my mounts immediately start to work with version 5.9-r1.

$ cat .cifs
username=me
password=*****
domain=DOMAIN

Please add an appropriate elog message to avoid further bug reports. When switching directly from 5.6-r1 to 5.9-r1 the user will not see this warning ever.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-05-21 11:05:08 UTC
This also seem to break existing lines in /etc/fstab. ++ to add elog message there because on the next reboot people will start wondering why their shares are broken.
Comment 2 Joerg Schaible 2018-08-04 11:50:00 UTC
Elog message is pointless after five years.