Bug 645127
Summary: | Input/output error with sec=krb5 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jack Neely <jjneely> | |
Component: | cifs-utils | Assignee: | Jeff Layton <jlayton> | |
Status: | CLOSED ERRATA | QA Contact: | yanfu,wang <yanwang> | |
Severity: | medium | Docs Contact: | ||
Priority: | urgent | |||
Version: | 6.0 | CC: | borgan, dpal, gdeschner, jlayton, jplans, jwest, marcus.moeller, metze, nalin, rnelson, ssorce, steved, syeghiay, walteste, yanwang, yuuichi.abe | |
Target Milestone: | rc | Keywords: | OtherQA, ZStream | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 622790 | |||
: | 667675 (view as bug list) | Environment: | ||
Last Closed: | 2011-05-19 13:06:51 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 622790, 667644, 667647 | |||
Bug Blocks: | 667675, 668366 |
Description
Jack Neely
2010-10-20 20:47:00 UTC
Ok, the best fix seems to be using the GSSAPI checksum (0x8003), that's what windows and all samba versions >= 3.6.0 (and maybe 3.5.7) will use. See https://bugzilla.samba.org/show_bug.cgi?id=7883 I'll provide a patch for cifs-utils soon. The patches for cifs-utils are here: https://bugzilla.samba.org/show_bug.cgi?id=7890 *** Bug 667219 has been marked as a duplicate of this bug. *** I received cifs-utils-4.7-2.el6.i686.rpm from my Red Hat support rep containing the above patch. Unfortunately, I have to report that this did not work. I installed the package, rebooted for good measure, but still get the same errors. fs/cifs/netmisc.c: Mapping smb error code 31 to POSIX err -5 The mount command I'm using is: mount -t cifs //homedirtest1.oit.ncsu.edu/home-test/jjneely /cifs/home/jjneely/ --verbose -o sec=krb5,user=jjneely,uid=18536,gid=108 Moving this back to ASSIGNED for now. Could you provide a wire capture of the mount attempt (preferably filtered on port 445) ? Please see this page for details of how to do them: http://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Wire_Captures ...with that I'll be able to tell a little more about the actual error returned by the server. Looks sort of like the error is ERRgeneral, which is unhelpfully described as "General error". But, let's get a capture and make sure I'm interpreting the message correctly. I think for this kind of problems, capturing everything but port 22 is better. As the problem isn't strictly related to SMB on port 445. I have built a modified cifs-utils-4.4-5 RPM using the source RPM and the patches from https://bugzilla.samba.org/show_bug.cgi?id=7883 and with that installed I can successfully mount a share like this: mount.cifs -o user=walteste,uid=walteste,sec=krb5 '//nas-nethz-users.d.ethz.ch/share-w-$' /mnt All the tickets only use 'ArcFour with HMAC/md5' encryption types, so these patches seem to work with some EMC Celerra systems at least. cifs-utils-4.7-2.el6.i686.rpm doesn't activate the patch. As it doesn't regenerate configure. Jeff, time to add ./autogen.sh and call it in the spec file :-) readelf -a cifs.upcall |grep krb5_auth_con_set_req_cksumtype returns nothing. Thanks Metze. Will fix and rebuild. Should have a new package later today or tomorrow. New package built, setting needinfo flag pending testing. The new cifs-utils-4.7-3.el6.i686.rpm package does indeed work. Thanks for testing it, it should make 6.1. Committed in cifs-utils-4.7-3.el6. no reproducer against https://bugzilla.redhat.com/show_bug.cgi?id=668366#c7 and customer had verified against comment #39. Do code review and build src package cifs-utils-4.8.1-1.el6 is sane. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0569.html |