Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-81033

[RHEL9 CIFS]: mount cifs with kerberos certification return "Invalid argument" after upgrade samba-4.20.2-2.el9 to samba-4.21.0-5.el9

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.5, rhel-9.6
    • samba
    • None
    • rhel-idm-sssd
    • ssg_idm
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      mount cifs share with krb5 certification. It's failed.

      [root@kvm-02-guest23 ~]# mount //$SERVERS/cifs /mnt/testarea/client -o sec=krb5
      mount error(22): Invalid argument
      Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
      [root@kvm-02-guest23 ~]

       

      [root@kvm-02-guest23 ~]# klist -e
      Ticket cache: FILE:/tmp/krb5cc_0
      Default principal: root@RHQE.COM

      Valid starting       Expires              Service principal
      02/26/2025 22:02:23  02/27/2025 22:02:21  krbtgt/RHQE.COM@RHQE.COM
          renew until 03/05/2025 22:02:21, Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96 
      02/26/2025 22:02:24  02/27/2025 22:02:21  cifs/kvm-06-guest29.lab.eng.rdu2.dc.redhat.com@RHQE.COM
          renew until 03/05/2025 22:02:21, Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96 
      [root@kvm-02-guest23 ~]

      What is the impact of this issue to you?

      mount cifs with "-o sec=krb5" failed.

      Please provide the package NVR for which the bug is seen:

      samba-4.21.3-3.el9.x86_64

      How reproducible is this bug?:

       

      Steps to reproduce

      1. mount //$SERVERS/cifs /mnt/testarea/client -o sec=krb5
      2.  
      3.  

      Expected results

      Actual results

              anschnei@redhat.com Andreas Schneider
              xifeng@redhat.com Xiaoli Feng
              Andreas Schneider Andreas Schneider
              Anuj Borah Anuj Borah
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: