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
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@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@centos.org http://lists.centos.org/mailman/listinfo/centos
Hello
I've just solved this (because i remembered what happened last time)
The problem is that the credentials file must be being parsed incorrectly and any char after the password is passed as part of password (don't know if you understand me because my poor english).
What i did is editing the .credentials file with an hex editor and deleting everything after the last character in the password.
I've used ghex (yum install ghex) (ghex2 /path/to/.credentials)
You'll find anything before the last password character (in my case was 0A (represented as a dot (.) ) in the ascii panel. Then goto the Ascii view (the right) and delete that dot, the (0A in hex becomes 0).
That worked for me and this is being mounted on reboot without problems.
Tell here if this worked for you.
Best
Samuel Contesse escribió:
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@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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 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
On Sun, Nov 1, 2009 at 6:05 AM, Samuel Contesse samuel.contesse@softcomponent.ch wrote:
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...
I was also hit by this bug. Reported at the CentOS bug tracker:
http://bugs.centos.org/view.php?id=3960
The upstream bugzilla entries:
https://bugzilla.redhat.com/show_bug.cgi?id=532153 (RHEL5)
https://bugzilla.redhat.com/show_bug.cgi?id=532094 (RHEL4)
Akemi
Akemi Yagi escribió:
On Sun, Nov 1, 2009 at 6:05 AM, Samuel Contesse samuel.contesse@softcomponent.ch wrote:
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...
I was also hit by this bug. Reported at the CentOS bug tracker:
http://bugs.centos.org/view.php?id=3960
The upstream bugzilla entries:
https://bugzilla.redhat.com/show_bug.cgi?id=532153 (RHEL5)
https://bugzilla.redhat.com/show_bug.cgi?id=532094 (RHEL4)
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You can workaround this by editing the credentials file and removing the tail LF with an hex editor as i posted early
Best,
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 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
2009/11/1 José María Terry Jiménez jtj@tssystems.net:
Akemi Yagi escribió:
On Sun, Nov 1, 2009 at 6:05 AM, Samuel Contesse samuel.contesse@softcomponent.ch wrote:
http://bugs.centos.org/view.php?id=3960
The upstream bugzilla entries:
You can workaround this by editing the credentials file and removing the tail LF with an hex editor as i posted early
Yes, I have seen it, thank you. The patch offered in the bugzilla deals with that issue.
The bug has to be fixed upstream, thus the above links. Something that was done in the latest update broke the use of credential file which was previously working fine.
Akemi
On Sun, Nov 1, 2009 at 8:58 AM, Akemi Yagi amyagi@gmail.com wrote:
The bug has to be fixed upstream, thus the above links. Something that was done in the latest update broke the use of credential file which was previously working fine.
Using the patch offered in the upstream bugzilla, I have rebuilt samba packages for CentOS-5 and made them available for testing:
http://centos.toracat.org/misc/testing/samba/
With the patched version, the credentials file started working once again.
Akemi
On Mon, Nov 2, 2009 at 4:21 PM, Akemi Yagi amyagi@gmail.com wrote:
The bug has to be fixed upstream, thus the above links. Something that was done in the latest update broke the use of credential file which was previously working fine.
Using the patch offered in the upstream bugzilla, I have rebuilt samba packages for CentOS-5 and made them available for testing:
http://centos.toracat.org/misc/testing/samba/
With the patched version, the credentials file started working once again.
A samba update that fixes the issue was released upstream on Dec 7:
http://rhn.redhat.com/errata/RHBA-2009-1641.html
The CentOS version should be out anytime now (I'd guess).
Akemi