All of lore.kernel.org
 help / color / mirror / Atom feed
* can not start NFSv4 with Kerberos 5
@ 2007-04-03 10:10 Phillip
  2007-04-03 11:46 ` William A. (Andy) Adamson
  0 siblings, 1 reply; 9+ messages in thread
From: Phillip @ 2007-04-03 10:10 UTC (permalink / raw)
  To: nfs

Hi folks,

Currently we plan to use NFSV4 with Kerberos:
KDC: Windows 2K AD

NFSv4 server: CentOS 4.4 with 2.6.20 kernel
# cat /etc/exports
/XFS/NFS4       gss/krb5
(rw,fsid=0,insecure,no_root_squash,no_subtree_check,sync)

Client: CentOS 4.4

When I use Ktpass to create keytab:

C:> Ktpass princ administrator/PLASMON.SIT@PLASMON.SIT mapuser
administrator -pass admin out unixmachine.keytab
C:> Ktpass princ root/PLAMONS.SIT@PLASMON.SIT mapuser root -pass admin
out unixmachine_1.keytab


and copy this output keytabs to NFSv4 server, and then export them with
kinit well.

However, when I attempt to start NFS service, the rpcsvcgssd failed.

Then I try to execute these below commands

[root@nfsv4 kevin]# rpc.svcgssd -fvvv
ERROR: GSS-API: error in gss_import_name(): An invalid name was supplied
- Hostname cannot be canonicalized
unable to obtain root (machine) credentials
do you have a keytab entry for nfs/<your.host>@<YOUR.REALM>
in /etc/krb5.keytab?

[root@nfsv4 kevin]# rpc.gssd -fvvv
Using keytab file '/etc/krb5.keytab'
Processing keytab entry for principal
'administrator/PLASMON.SIT@PLASMON.SIT'
We will NOT use this entry (administrator/PLASMON.SIT@PLASMON.SIT)
Processing keytab entry for principal 'root/PLASMON.SIT@PLASMON.SIT'
We will NOT use this entry (root/PLASMON.SIT@PLASMON.SIT)
ERROR: No usable keytab entries found in keytab '/etc/krb5.keytab'
Do you have a valid keytab entry for nfs/<your.host>@<YOUR.REALM> in
keytab file /etc/krb5.keytab ?
Continuing without (machine) credentials - nfs4 mounts with Kerberos
will fail
processing client list


Did I take mistakes in creating keytab? 


Please help me fix this issue.
Thanks in advance.

Regards,
Phillip




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-04 15:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 10:10 can not start NFSv4 with Kerberos 5 Phillip
2007-04-03 11:46 ` William A. (Andy) Adamson
2007-04-03 12:13   ` Phillip
2007-04-03 13:18     ` William A. (Andy) Adamson
2007-04-03 14:21       ` Kevin Coffman
2007-04-04  2:17         ` Phillip
2007-04-04 15:30           ` Kevin Coffman
2007-04-04  8:43   ` Phillip
2007-04-04 15:47     ` Kevin Coffman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.