You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Haim Helman (JIRA)" <ji...@apache.org> on 2015/08/20 08:45:45 UTC

[jira] [Created] (HDFS-8927) CredentialsSys is not unix/linux compatible

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)