[CentOS] Problem mounting CIFS shares with credential file afterSAMBA update

Samuel Contesse samuel.contesse at softcomponent.ch
Sun Nov 1 14:05:53 UTC 2009


Hi,

I've the same problem on RHEL 5.4 after samba update. I almost tried  
everything but I had to switch to -username=...,-password=... to get  
CIFS mount point to work. I opened a case which has been closed  
because a second system also running on RHEL 5.4 works with this update.

Hope they will fix this issue...

Sam

On 1 nov. 2009, at 12:38, José María Terry Jiménez  
<jtj at tssystems.net> wrote:

> Hello all,
>
> This morning i updated my CentOS (5.4) and that included:
>
> samba-3.0.33-3.14.el5.i386.rpm
> samba-client-3.0.33-3.14.el5.i386.rpm
> samba-common-3.0.33-3.14.el5.i386.rpm
> samba-swat-3.0.33-3.14.el5.i386.rpm
>
> I have several mounts if fstab using a .credentials file that worked
> until i rebooted with this updates.
>
> I remember time ago was an issue with the format of credentials file
> (something about a LF at the end or something else)
>
> I've checked the file, added spaces between "=", added a line at the
> end, between username and passwd... but it doesn't work, i always  
> get an
> error like (when i do mount -a):
> mount error 13 = Permission denied
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
>
> (this is repeated for every CIFS share mounted in fstab)
>
> If i mount it "by hand" it works fine:
> # mount -tcifs -ousername=xxxx //192.168.0.100/xxxxx /media/xxxxx
> Password:
>
> And then, if i do a mount -a then works! (until i reboot, of course)
>
> # mount -a
> #
>
> Do anyone knows what is happening?
>
> Best,
> Jose Maria
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
> AntiVirus: ClamAV 0.95.2/9971 - Sun Nov  1 03:25:12 2009
> by Markus Madlener @ http://www.copfilter.org
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


More information about the CentOS mailing list