cancel
Showing results for 
Search instead for 
Did you mean: 

setup of nfs fileserver - RPC Authencation Exception

groovehunter
Champ in-the-making
Champ in-the-making
hello, I would need some guidance on nfs configuration and troubleshooting. I am running community edition 4.2a

What I have right now is (in fileServer.properties) :


nfs.mountServerPort=0
nfs.nfsServerPort=0
nfs.rpcRegisterPort=111
nfs.portMapperPort=111
nfs.portMapperEnabled=false

On checking with rpcinfo I get a response of alfresco nfs server and I think the linux user id is not mapped to alfresco;


root@auedv18:/etc# rpcinfo -n 2049 -t auwebdmsa 100003 3
Program 100003 Version 3 ist bereit und wartet

2012-11-12 11:48:49,255  DEBUG [org.alfresco.fileserver] [NFS8] NFS Req=[T10.1.32.69:972-Call,XID=0x69a9bace,RpcVer=2,ProgId=100003,ProgVer=3,Proc=0,CredType=0,CredLen=0,VerfType0,VerfLen=0,ParamLen=4,Pool]
2012-11-12 11:48:49,255  DEBUG [org.alfresco.fileserver] [NFS8] [NFS] RPC Authencation Exception: org.alfresco.jlan.oncrpc.RpcAuthenticationException: Unsupported auth type, 0
2012-11-12 11:48:49,255  DEBUG [org.alfresco.fileserver] [NFS8] NFS Resp=[T10.1.32.69:972-Reply,XID=0x69a9bace,Denied,RpcMismatch, Low=0/High=0,Pool]
     0 - 80 00 00 18 69 a9 ba ce 00 00 00 01 00 00 00 00   - ….i???……..
   16 - 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   - …………….


Do you think this fstab entry is generally okay?

auwebdmsa:/alfresco   /mnt/alfi_a   nfs   ro,user,nolock,vers=3        0   0

thanks in advance
3 REPLIES 3

groovehunter
Champ in-the-making
Champ in-the-making
I need to add the user mapping

nfs.user.mappings=admin
nfs.user.mappings.value.admin.uid=3120
nfs.user.mappings.value.admin.gid=13120

3120 is the linux uid and 13120 is the linux gid I try to do the mount under.

What I do not understand yet if the user names point to alfresco user or linux user. If someone could explain that or point me to some resource would be great.

groovehunter
Champ in-the-making
Champ in-the-making
Okay, to my last question in the last post I know found: https://issues.alfresco.com/jira/browse/ALF-4986  So Igot that now

"…     nfs.user.mappings.value.user1.uid=1200 (user 'alfresco' id 1200 is mapped into alfresco user 'user1' ) …"

groovehunter
Champ in-the-making
Champ in-the-making
corrected it to

nfs.user.mappings=admin,konnertz
nfs.user.mappings.value.admin.uid=0
nfs.user.mappings.value.admin.gid=0
nfs.user.mappings.value.konnertz.uid=3120
nfs.user.mappings.value.konnertz.gid=13120