problem mounting using NFSv4 when using -o sec=krb5 option
Subsystems (2)
Hi Kevin ,
I created new database and new principal and
keytab files.
Kinit does not accept passowrd for principals
nfs/vcslinux5.vxindia.veritas.com
and
nfs/vcslinux6.vxindia.veritas.com
Please let me know if i can provide some info(and
how) (logs) which can point out the problem
thanks,
--kiran
Quoted 17 lines · --- Kevin Coffman
Quoted 3 lines
Hi ,
I tried things as directed by Trondin
Quoted 1 line
his previous mail and everything seemed to
work
Quoted 2 lines
fine initally. but when i rebooted system , it started giving error whenever i start
rpc.gssd
Quoted 7 lines
on client machine.
Error is :[root@vcslinux6 ~]# Mar 21 14:47:27 vcslinux6 rpc.gssd[3487]: WARNING: Key table entry not found while getting initial ticket for principal
'nfs/[email protected]'
Quoted 10 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 21 14:47:27 vcslinux6 rpc.gssd[3487]: ERROR:No
Quoted 6 lines
usable machine credentials obtained
while #klist -k
/etc/krb5.keytabgives
2
Quoted 17 lines
I'm confused by this, but I do not know what to look for.
Quoted 1 line
I even tried by recreating kerberos database but
in
Quoted 1 line
vain. I still get the same error.
If you recreated the Kerberos database, you need to create new principals and keytab files. Did you do this?
Quoted 2 lines
I observed one more thing.
Whenver i create principal(other then root/admin),
Quoted 16 lines
Quoted 2 lines
passwords i enter for them during their creation are not accepted by kinit.
This is also strange and _might_ be related. How
are
you creating the principals -- using kadmin or
kadmin.local?
Which principals are you referring to here?Quoted 5 lines
Please let me know where i went wrong.
--thanks,
--kiran
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
If you create a principal using a password, you should be able to authenticate as that pricipal using that password. However, once you do a ktadd for that principal the password will no longer work. See my previous message about what ktadd does.
Are you able to do a kinit using the keytab for nfs/vcslinux5.vxindia.ve ritas.com?
("kinit -k -t /etc/krb5.keytab nfs/vcslinux5.vxindia.veritas.com")
Can you list the keys in your keytab using the ktutil program? I suspect that something is wrong with your keytab file. How did you move it from the KDC machine to your NFS client?
Quoted 82 lines
Hi Kevin ,
I created new database and new principal and
keytab files.Kinit does not accept passowrd for principals
nfs/vcslinux5.vxindia.veritas.com
and
nfs/vcslinux6.vxindia.veritas.comPlease let me know if i can provide some info(and
how) (logs) which can point out the problemthanks,
--kiranQuoted 17 lines · --- Kevin Coffman
Quoted 3 lines
Hi ,
I tried things as directed by Trondin
Quoted 1 line
his previous mail and everything seemed to
work
Quoted 2 lines
fine initally. but when i rebooted system , it started giving error whenever i start
rpc.gssd
Quoted 7 lines
on client machine.
Error is :[root@vcslinux6 ~]# Mar 21 14:47:27 vcslinux6 rpc.gssd[3487]: WARNING: Key table entry not found while getting initial ticket for principal
'nfs/[email protected]'
Quoted 10 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 21 14:47:27 vcslinux6 rpc.gssd[3487]: ERROR:No
Quoted 6 lines
usable machine credentials obtained
while #klist -k
/etc/krb5.keytabgives
2Quoted 17 lines
I'm confused by this, but I do not know what to look for.
Quoted 1 line
I even tried by recreating kerberos database but
in
Quoted 1 line
vain. I still get the same error.
If you recreated the Kerberos database, you need to create new principals and keytab files. Did you do this?
Quoted 2 lines
I observed one more thing.
Whenver i create principal(other then root/admin),
Quoted 16 lines
Quoted 2 lines
passwords i enter for them during their creation are not accepted by kinit.
This is also strange and _might_ be related. How
are
you creating the principals -- using kadmin or
kadmin.local?
Which principals are you referring to here?Quoted 5 lines
Please let me know where i went wrong.
--thanks,
--kiran
Quoted 4 lines
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs