hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haim Helman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8927) CredentialsSys is not unix/linux compatible
Date Thu, 20 Aug 2015 06:45:45 GMT
Haim Helman created HDFS-8927:
---------------------------------

             Summary: CredentialsSys is not unix/linux compatible
                 Key: HDFS-8927
                 URL: https://issues.apache.org/jira/browse/HDFS-8927
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: nfs
            Reporter: Haim Helman
            Priority: Minor


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message