[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-nfsv4
Subject:    Re: problem with nfs4 with kerberos
From:       "Kevin Coffman" <kwc () citi ! umich ! edu>
Date:       2006-04-27 13:36:43
Message-ID: 4d569c330604270636s7573f79cj28c45bbb9a228de1 () mail ! gmail ! com
[Download RAW message or body]

Moving this to the NFS list.

You need to run rpc.gssd on the client machine and rpc.svcgssd on the
server machine.

K.C.


On 4/26/06, Aruna Lakmal <arunaucsc@gmail.com> wrote:
> thanks..now it's ok..
> i've set keytabs as follow..
> Client...
> [root@main ~]# klist -k
> Keytab name: FILE:/tmp/keytab
> KVNO Principal
> ----
> --------------------------------------------------------------------------
>    3 nfs/192.168.5.41@KRB.MNETPLUS.COM
>    3 nfs/main.mnetplus.lk@KRB.MNETPLUS.COM
> Server..
> [root@krb ~]# klist -k
> Keytab name: FILE:/etc/krb5.keytab
> KVNO Principal
> ----
> --------------------------------------------------------------------------
>    4 host/krb.mnetplus.com@KRB.MNETPLUS.COM
>    4 host/192.168.5.66@KRB.MNETPLUS.COM
>    3 ftp/krb.mnetplus.com@KRB.MNETPLUS.COM
>    3 nfs/krb.mnetplus.com@KRB.MNETPLUS.COM
>
> after this..i tried follow on client..
> mount -t nfs4 -o sec=krb5 192.168.5.66:/media/ /mnt/
> this gives following error message..
> Warning: rpc.gssd appears not to be running.
> mount to NFS server '192.168.5.66' failed.
>
> but i have started the gssd server on nfs server computer..
> [root@krb ~]# ps -aux |grep gss
> root      2207  0.0  0.2  2336 1032 ?        Ss   07:16   0:00 rpc.gssd -m
>
> so what is the reason for this..
> plase help me..
>
> On 4/27/06, Kevin Coffman <kwc@citi.umich.edu> wrote:
> >
> > On 4/26/06, Aruna Lakmal <arunaucsc@gmail.com> wrote:
> > > Hey guys...
> > > I use RHEL4 linux version..
> > > I configure my nfs server for work with kerberos as in this web site..
> > >
> > > http://www.citi.umich.edu/projects/nfsv4/linux/krb5-setup.html
> > >
> > > after that when i try to run command "mount -t nfs4 -o sec=krb5
> > > 192.168.5.66:/media/ /mnt/"
> > > it this give this message.. "mount: can't get address for
> > main.mnetplus.lk"
> > >
> > > whats is the reason for that..
> >
> > I'm assuming the reverse DNS lookup of 192.168.5.66 resolves to the
> > name main.mnetplus.lk, but a forward lookup of that name apparently
> > fails.
> >
> > The Kerberos code will assume that the principal for the NFS server is
> > "nfs/main.mnetplus.lk@<REALM>".  What is the name of the principal
> > that you created and added a keytab entry for?
> >
> > This discussion may be more appropriate on the nfs4 mailing list:
> > nfsv4@linux-nfs.org
> >
> > K.C.
> >
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
>
_______________________________________________
NFSv4 mailing list
NFSv4@linux-nfs.org
http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic