mount error 13 - permisison denied when mounting samba shares on ubuntu server using cifs

Bug #543094 reported by Jelle De Loecker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: samba

I am not trying to connect to a windows box, I'm running a samba server on another Ubuntu (9.10) server. This used to work perfectly in my Ubuntu 9.10 client.

I copied over the exact same fstab lines and my /root/.smbcredentials file.

fstab example:
//192.168.1.2/audio /home/skerit/Muziek/Audio cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=skerit,gid=skerit 0 0

Which results in this error:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Browsing to the network share, using nautilus, works without a problem.

ProblemType: Bug
Architecture: amd64
CIFSMounts: Error: command ['mount', '|', 'grep', 'cifs'] failed with exit code 1: mount: only root can do that
CifsVersion:
 Display Internal CIFS Data Structures for Debugging
 ---------------------------------------------------
 CIFS Version 1.61
 Active VFS Requests: 0
 Servers:
Date: Sun Mar 21 01:12:43 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
Package: smbfs 2:3.4.6~dfsg-1ubuntu3
ProcEnviron:
 LANG=nl_BE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SambaClientRegression: Yes
SourcePackage: samba
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Jelle De Loecker (skerit) wrote :
Revision history for this message
Jelle De Loecker (skerit) wrote :

I believe the problem was a trailing space in the password field.

description: updated
Revision history for this message
Chuck Short (zulcss) wrote :

Closing then.

Regards
chuck

Changed in samba (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.