Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8927

CredentialsSys is not unix/linux compatible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • nfs
    • None

    Description

      When trying to connect to a linux NFS server using AUTH_SYS and a hostname with 33 bytes I get:
      bad auth_len gid 0 str 36 auth 53

      Looking at the Unix/Linux code at svc_auth_unix.c, it looks like the hostname length is rounded up to the nearest multiple of 4:
      str_len = RNDUP(str_len);

      Perhaps CredentialsSys should do that too?

      Attachments

        Activity

          People

            Unassigned Unassigned
            haimhelman Haim Helman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: