problem mounting using NFSv4 when using -o sec=krb5 option
Subsystems (2)
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46
As per what you told , i have added entries on both client and server.
*client:vcslinux6#klist -k /etc/krb5.keytab
2 nfs/[email protected]
*server:vcslinux5#klist -k /etc/krb5.keytab
2 nfs/[email protected]
*kdc:vcslinux1#klist -k /etc/krb5.keytab
2 root/[email protected]
2 nfs/[email protected] 3 nfs/[email protected] 2 nfs/[email protected]
I inserted rpcsec_gss_krb5 module on all machines. started krb5kdc and kadmind.
started all nfs daemons , rpc.svcgssd , rpc.idmapd on server and exported filesystem with proper options.
started rpc.idmapd on client(vcslinux6).
But when i run #rpc.gssd -m -v -f
Mar 17 11:13:03 vcslinux6 kernel: RPC: AUTH_GSS upcall timed out. Mar 17 11:13:03 vcslinux6 kernel: Please check user
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed while getting initial ticket for principal 'nfs/[email protected]' from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained processing client list
-------
Then i tried making kvno for vcslinux5 (on kdc) = 2 i could not.
[root@vcslinux1 ~]# kadmin
Authenticating as principal root/[email protected] with password. Password for root/[email protected]:
kadmin: modprinc -kvno 2 nfs/vcslinux5.vxindia.veritas.com
Principal "nfs/[email protected]" modified.
kadmin: ktadd -e des-cbc-crc:normal -k /tmp/keytab nfs/[email protected] Entry for principal nfs/[email protected] with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/tmp/keytab.
Please let me know where i went wrong .
Quoted 9 lines · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall" and "Failed to write error
downcall" should not normally happen. What versions of kernel and
nfs-utils do you have?Quoted 2 lines
Quoted 2 lines
Error in log file on mount
Mar 16 14:58:43 vcslinux5 rpc.gssd[4258]:
Quoted 10 lines
WARNING:
Quoted 1 line
Quoted 1 line
failed reading uid from krb5 upcall pipe:
Success
Quoted 1 line
Quoted 1 line
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING: Key
Quoted 1 line
Quoted 1 line
table entry not found while getting initial
ticket for
Quoted 2 lines
Quoted 2 lines
principal
'nfs/[email protected]'
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]: ERROR:No
Quoted 2 lines
Quoted 2 lines
usable machine credentials obtained
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING:
Quoted 1 line
Quoted 1 line
Failed to obtain machine credentials for
connection to
Quoted 2 lines
Quoted 2 lines
server vcslinux1.vxindia.veritas.com
Mar 16 14:59:08 vcslinux5 rpc.gssd[2760]:
Quoted 15 lines
WARNING:
Quoted 1 line
Quoted 1 line
Failed to create krb5 context for user with uid
0 with
Quoted 3 lines
Quoted 3 lines
any credentials cache for server
vcslinux1.vxindia.veritas.comMar 16 14:59:08 vcslinux5 rpc.gssd[2760]: Failedto
Quoted 4 lines
Quoted 4 lines
write error downcall!
thanks,
--kiran
-------------------------------------------------------
Quoted 6 lines
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
Quoted 4 lines
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
-------------------------------------------------------
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
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and foreground) and rpc.svcgssd -vvv -f
and see why it is failing. I has similar problems with NFSv4, before updating all my packages (currently available in CITI website).
Possibly the path of libgssapi_krb5.so may not be proper. Check your /etc/gssapi_mech.conf
Basically after installation of all packages, you need to create 2 principals in kdc server; one for server and one for client and extract them appropriately.
Make sure all three machines are in Timesync and hostname of them are resolvable. Run rpc.mountd, rpc.idmapd, rpc.svcgssd and rpc.nfsd in server and rpc.idmapd and rpc.gssd in client.
HTH
Suresh
Quoted 143 lines · mehta kiran
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on both client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab
2 nfs/[email protected]*server:vcslinux5#klist -k
/etc/krb5.keytab2 nfs/[email protected]
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2 nfs/[email protected] 3 nfs/[email protected] 2 nfs/[email protected]I inserted
rpcsec_gss_krb5module on all machines. started krb5kdc and kadmind.
started all nfs daemons , rpc.svcgssd , rpc.idmapd on server and exported filesystem with proper options.started rpc.idmapd on client(vcslinux6).
But when i run #rpc.gssd -m -v -fMar 17 11:13:03 vcslinux6 kernel: RPC: AUTH_GSS upcall timed out. Mar 17 11:13:03 vcslinux6 kernel: Please check userdaemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed while getting initial ticket for principal 'nfs/[email protected]' from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained processing client list-------
Then i tried making kvno for vcslinux5 (on kdc) = 2 i could not.
[root@vcslinux1 ~]# kadmin
Authenticating as principal root/[email protected] with password. Password for root/[email protected]:
kadmin: modprinc -kvno 2 nfs/vcslinux5.vxindia.veritas.com
Principal "nfs/[email protected]" modified.
kadmin: ktadd -e des-cbc-crc:normal -k/tmp/keytabnfs/[email protected] Entry for principal nfs/[email protected] with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/tmp/keytab.Please let me know where i went wrong .
Quoted 9 lines · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall" and "Failed to write error
downcall" should not normally happen. What versions of kernel and
nfs-utils do you have?Quoted 2 lines
Quoted 2 lines
Error in log file on mount
Mar 16 14:58:43 vcslinux5 rpc.gssd[4258]:Quoted 10 lines
WARNING:
Quoted 1 line
Quoted 1 line
failed reading uid from krb5 upcall pipe:
Success
Quoted 1 line
Quoted 1 line
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING: Key
Quoted 1 line
Quoted 1 line
table entry not found while getting initial
ticket for
Quoted 2 lines
Quoted 2 lines
principal
'nfs/[email protected]'
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]: ERROR:No
Quoted 2 lines
Quoted 2 lines
usable machine credentials obtained
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING:
Quoted 1 line
Quoted 1 line
Failed to obtain machine credentials for
connection to
Quoted 2 lines
Quoted 2 lines
server vcslinux1.vxindia.veritas.com
Mar 16 14:59:08 vcslinux5 rpc.gssd[2760]:Quoted 15 lines
WARNING:
Quoted 1 line
Quoted 1 line
Failed to create krb5 context for user with uid
0 with
Quoted 3 lines
Quoted 3 lines
any credentials cache for server
vcslinux1.vxindia.veritas.comMar 16 14:59:08 vcslinux5 rpc.gssd[2760]: Failedto
Quoted 4 lines
Quoted 4 lines
write error downcall!
thanks,
--kiran-------------------------------------------------------
Quoted 6 lines
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
Quoted 4 lines
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250-------------------------------------------------------
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
Signature · 11 lines
"Good Luck is when preparation meets opportunity" ------------------------------------------------------- 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
Hi Suresh ,
#rpc.gssd -f -vvv show the same output. #rpc.svcgssd -f -vvv gives
WARNING: unable to locate function krb5_gss_internal_release_oid in krb5 mechanism library: there will be problems if multiple mechanisms are used! entering poll
/etc/gssmech.conf file has entry
/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init
and this library exists in /usr/lib
All machines are in TimeSync.
thanks,
--kiran
Quoted 32 lines · --- Suresh Jayaram
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and
foreground) and
rpc.svcgssd -vvv -f
and see why it is failing. I has similar problems
with NFSv4, before
updating all my packages (currently available in
CITI website).Possibly the path of libgssapi_krb5.so may not be
proper. Check your/etc/gssapi_mech.confBasically after installation of all packages, you need to create 2
principals in kdc server; one for server and one for client and
extract them appropriately.
Make sure all three machines are in Timesync and hostname of them are
resolvable. Run rpc.mountd, rpc.idmapd, rpc.svcgssd and rpc.nfsd in
server and rpc.idmapd and rpc.gssd in client.HTH
SureshOn Thu, 17 Mar 2005 03:59:52 -0800 (PST), mehta
kiran
<[email protected]> wrote:
Quoted 13 lines
Quoted 6 lines
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on
both
Quoted 5 lines
client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab
2
Quoted 6 lines
Quoted 5 lines
*server:vcslinux5#klist -k
/etc/krb5.keytab2
Quoted 7 lines
Quoted 6 lines
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2
Quoted 3 lines
Quoted 2 lines
3
Quoted 3 lines
Quoted 2 lines
2
Quoted 14 lines
Quoted 4 lines
I inserted
rpcsec_gss_krb5module on all machines. started krb5kdc and kadmind.
started all nfs daemons , rpc.svcgssd ,rpc.idmapd on
Quoted 1 line
server and exported filesystem with proper
options.
Quoted 4 lines
started rpc.idmapd on client(vcslinux6).
But when i run #rpc.gssd -m -v -fMar 17 11:13:03 vcslinux6 kernel: RPC: AUTH_GSSupcall
Quoted 2 lines
timed out.
Mar 17 11:13:03 vcslinux6 kernel: Please check
Quoted 10 lines
user
Quoted 5 lines
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed whilegetting
Quoted 2 lines
initial ticket for principal
'nfs/[email protected]'
Quoted 4 lines
Quoted 4 lines
from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained
processing client list
Quoted 13 lines
Quoted 2 lines
-------
Then i tried making kvno for vcslinux5 (on kdc) =2
Quoted 9 lines
i could not.
[root@vcslinux1 ~]# kadmin
Authenticating as principal
root/[email protected] with password.
Password for root/[email protected]:
kadmin: modprinc -kvno 2
nfs/vcslinux5.vxindia.veritas.com
Principal
"nfs/[email protected]"
Quoted 5 lines
Quoted 2 lines
modified.
kadmin: ktadd -e des-cbc-crc:normal -k
/tmp/keytabQuoted 1 line
Quoted 3 lines
Quoted 2 lines
Entry for principal
Quoted 4 lines
Quoted 1 line
with kvno 3, encryption type DES cbc mode with
CRC-32
Quoted 2 lines
added to keytab WRFILE:/tmp/keytab.
Quoted 25 lines
Quoted 6 lines
Please let me know where i went wrong .
Quoted 3 lines · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall" and "Failed to write error
downcall" should not normally happen. Whatversions
Quoted 17 lines
Quoted 16 lines
of kernel and
nfs-utils do you have?Quoted 2 lines
Quoted 2 lines
Error in log file on mount
Mar 16 14:58:43 vcslinux5 rpc.gssd[4258]:WARNING:
Quoted 1 line
Quoted 1 line
failed reading uid from krb5 upcall pipe:
Success
Quoted 1 line
Quoted 1 line
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING: Key
Quoted 1 line
Quoted 1 line
table entry not found while getting initial
ticket for
Quoted 2 lines
Quoted 2 lines
principal
'nfs/[email protected]'
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:ERROR:
Quoted 8 lines
Quoted 8 lines
No
Quoted 2 lines
Quoted 2 lines
usable machine credentials obtained
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING:
Quoted 1 line
Quoted 1 line
Failed to obtain machine credentials for
connection to
Quoted 2 lines
Quoted 2 lines
server vcslinux1.vxindia.veritas.com
Mar 16 14:59:08 vcslinux5 rpc.gssd[2760]:
Quoted 19 lines
Quoted 2 lines
Quoted 2 lines
WARNING:
Quoted 1 line
Quoted 1 line
Failed to create krb5 context for user with
uid
Quoted 4 lines
Quoted 4 lines
0 with
Quoted 3 lines
Quoted 3 lines
any credentials cache for server
vcslinux1.vxindia.veritas.comMar 16 14:59:08 vcslinux5 rpc.gssd[2760]:Failed
Quoted 10 lines
Quoted 9 lines
to
Quoted 4 lines
Quoted 4 lines
write error downcall!
thanks,
--kiran
-------------------------------------------------------
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
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 thehype.
Quoted 3 lines
Quoted 2 lines
Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 9 lines
Quoted 3 lines
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learnmore.
Quoted 4 lines
-------------------------------------------------------
Quoted 7 lines
Quoted 2 lines
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of ITProducts from real users.
Quoted 1 line
Discover which products truly live up to the hype.
Start reading now.
Quoted 1 line
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 1 line
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-------------------------------------------------------
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
one more thing.
On machine running kdc ,
entry for vcslinux5 is with kvno 3
while entry for vcslinux5 on vcslinux5 is with kvno 2 . Is this making a difference
thanks,
--kiran
Quoted 32 lines · --- Suresh Jayaram
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and
foreground) and
rpc.svcgssd -vvv -f
and see why it is failing. I has similar problems
with NFSv4, before
updating all my packages (currently available in
CITI website).Possibly the path of libgssapi_krb5.so may not be
proper. Check your/etc/gssapi_mech.confBasically after installation of all packages, you need to create 2
principals in kdc server; one for server and one for client and
extract them appropriately.
Make sure all three machines are in Timesync and hostname of them are
resolvable. Run rpc.mountd, rpc.idmapd, rpc.svcgssd and rpc.nfsd in
server and rpc.idmapd and rpc.gssd in client.HTH
SureshOn Thu, 17 Mar 2005 03:59:52 -0800 (PST), mehta
kiran
<[email protected]> wrote:
Quoted 13 lines
Quoted 6 lines
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on
both
Quoted 5 lines
client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab
2
Quoted 6 lines
Quoted 5 lines
*server:vcslinux5#klist -k
/etc/krb5.keytab2
Quoted 7 lines
Quoted 6 lines
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2
Quoted 3 lines
Quoted 2 lines
3
Quoted 3 lines
Quoted 2 lines
2
Quoted 14 lines
Quoted 4 lines
I inserted
rpcsec_gss_krb5module on all machines. started krb5kdc and kadmind.
started all nfs daemons , rpc.svcgssd ,rpc.idmapd on
Quoted 1 line
server and exported filesystem with proper
options.
Quoted 4 lines
started rpc.idmapd on client(vcslinux6).
But when i run #rpc.gssd -m -v -fMar 17 11:13:03 vcslinux6 kernel: RPC: AUTH_GSSupcall
Quoted 2 lines
timed out.
Mar 17 11:13:03 vcslinux6 kernel: Please check
Quoted 10 lines
user
Quoted 5 lines
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed whilegetting
Quoted 2 lines
initial ticket for principal
'nfs/[email protected]'
Quoted 4 lines
Quoted 4 lines
from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained
processing client list
Quoted 13 lines
Quoted 2 lines
-------
Then i tried making kvno for vcslinux5 (on kdc) =2
Quoted 9 lines
i could not.
[root@vcslinux1 ~]# kadmin
Authenticating as principal
root/[email protected] with password.
Password for root/[email protected]:
kadmin: modprinc -kvno 2
nfs/vcslinux5.vxindia.veritas.com
Principal
"nfs/[email protected]"
Quoted 5 lines
Quoted 2 lines
modified.
kadmin: ktadd -e des-cbc-crc:normal -k
/tmp/keytabQuoted 1 line
Quoted 3 lines
Quoted 2 lines
Entry for principal
Quoted 4 lines
Quoted 1 line
with kvno 3, encryption type DES cbc mode with
CRC-32
Quoted 2 lines
added to keytab WRFILE:/tmp/keytab.
Quoted 25 lines
Quoted 6 lines
Please let me know where i went wrong .
Quoted 3 lines · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall" and "Failed to write error
downcall" should not normally happen. Whatversions
Quoted 17 lines
Quoted 16 lines
of kernel and
nfs-utils do you have?Quoted 2 lines
Quoted 2 lines
Error in log file on mount
Mar 16 14:58:43 vcslinux5 rpc.gssd[4258]:WARNING:
Quoted 1 line
Quoted 1 line
failed reading uid from krb5 upcall pipe:
Success
Quoted 1 line
Quoted 1 line
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING: Key
Quoted 1 line
Quoted 1 line
table entry not found while getting initial
ticket for
Quoted 2 lines
Quoted 2 lines
principal
'nfs/[email protected]'
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:ERROR:
Quoted 8 lines
Quoted 8 lines
No
Quoted 2 lines
Quoted 2 lines
usable machine credentials obtained
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING:
Quoted 1 line
Quoted 1 line
Failed to obtain machine credentials for
connection to
Quoted 2 lines
Quoted 2 lines
server vcslinux1.vxindia.veritas.com
Mar 16 14:59:08 vcslinux5 rpc.gssd[2760]:
Quoted 19 lines
Quoted 2 lines
Quoted 2 lines
WARNING:
Quoted 1 line
Quoted 1 line
Failed to create krb5 context for user with
uid
Quoted 4 lines
Quoted 4 lines
0 with
Quoted 3 lines
Quoted 3 lines
any credentials cache for server
vcslinux1.vxindia.veritas.comMar 16 14:59:08 vcslinux5 rpc.gssd[2760]:Failed
Quoted 10 lines
Quoted 9 lines
to
Quoted 4 lines
Quoted 4 lines
write error downcall!
thanks,
--kiran
-------------------------------------------------------
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
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 thehype.
Quoted 3 lines
Quoted 2 lines
Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 9 lines
Quoted 3 lines
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learnmore.
Quoted 4 lines
-------------------------------------------------------
Quoted 7 lines
Quoted 2 lines
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of ITProducts from real users.
Quoted 1 line
Discover which products truly live up to the hype.
Start reading now.
Quoted 1 line
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 1 line
=== message truncated ===
__________________________________________________
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
Hi Kiran,
Run rpc.gssd also in verbose mode
Quoted 1 line
Quoted 1 line
RPC:
AUTH_GSSupcall timed out.
This means rpc.gssd is not running.
Check gssapi_mech.conf in client machine also.
Those Warning messages you can ignore..
Update your libgssapi and librpcsecgss packages (libgssapi-0.2 and librpcsecgss-0.4)
HTH
Suresh
Quoted 238 lines · mehta kiran
one more thing.
On machine running kdc ,
entry for vcslinux5 is with kvno 3
while entry for vcslinux5 on vcslinux5 is with kvno 2 . Is this making a differencethanks,
--kiranQuoted 32 lines · --- Suresh Jayaram
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and
foreground) and
rpc.svcgssd -vvv -f
and see why it is failing. I has similar problems
with NFSv4, before
updating all my packages (currently available in
CITI website).Possibly the path of libgssapi_krb5.so may not be
proper. Check your/etc/gssapi_mech.confBasically after installation of all packages, you need to create 2
principals in kdc server; one for server and one for client and
extract them appropriately.
Make sure all three machines are in Timesync and hostname of them are
resolvable. Run rpc.mountd, rpc.idmapd, rpc.svcgssd and rpc.nfsd in
server and rpc.idmapd and rpc.gssd in client.HTH
SureshOn Thu, 17 Mar 2005 03:59:52 -0800 (PST), mehta
kiran
<[email protected]> wrote:Quoted 13 lines
Quoted 6 lines
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on
both
Quoted 5 lines
client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab
2Quoted 6 lines
Quoted 5 lines
*server:vcslinux5#klist -k
/etc/krb5.keytab2
Quoted 7 lines
Quoted 6 lines
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2Quoted 3 lines
Quoted 2 lines
3
Quoted 3 lines
Quoted 2 lines
2
Quoted 14 lines
Quoted 4 lines
I inserted
rpcsec_gss_krb5module on all machines. started krb5kdc and kadmind.
started all nfs daemons , rpc.svcgssd ,rpc.idmapd on
Quoted 1 line
server and exported filesystem with proper
options.
Quoted 4 lines
started rpc.idmapd on client(vcslinux6).
But when i run #rpc.gssd -m -v -fMar 17 11:13:03 vcslinux6 kernel: RPC: AUTH_GSSupcall
Quoted 2 lines
timed out.
Mar 17 11:13:03 vcslinux6 kernel: Please checkQuoted 10 lines
user
Quoted 5 lines
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed whilegetting
Quoted 2 lines
initial ticket for principal
'nfs/[email protected]'
Quoted 4 lines
Quoted 4 lines
from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained
processing client listQuoted 13 lines
Quoted 2 lines
-------
Then i tried making kvno for vcslinux5 (on kdc) =2
Quoted 9 lines
i could not.
[root@vcslinux1 ~]# kadmin
Authenticating as principal
root/[email protected] with password.
Password for root/[email protected]:
kadmin: modprinc -kvno 2
nfs/vcslinux5.vxindia.veritas.com
Principal"nfs/[email protected]"
Quoted 5 lines
Quoted 2 lines
modified.
kadmin: ktadd -e des-cbc-crc:normal -k
/tmp/keytabQuoted 1 line
Quoted 3 lines
Quoted 2 lines
Entry for principal
Quoted 4 lines
Quoted 1 line
with kvno 3, encryption type DES cbc mode with
CRC-32
Quoted 2 lines
added to keytab WRFILE:/tmp/keytab.
Quoted 25 lines
Quoted 6 lines
Please let me know where i went wrong .
Quoted 3 lines · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall" and "Failed to write error
downcall" should not normally happen. Whatversions
Quoted 17 lines
Quoted 16 lines
of kernel and
nfs-utils do you have?Quoted 2 lines
Quoted 2 lines
Error in log file on mount
Mar 16 14:58:43 vcslinux5 rpc.gssd[4258]:WARNING:
Quoted 1 line
Quoted 1 line
failed reading uid from krb5 upcall pipe:
Success
Quoted 1 line
Quoted 1 line
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING: Key
Quoted 1 line
Quoted 1 line
table entry not found while getting initial
ticket for
Quoted 2 lines
Quoted 2 lines
principal
'nfs/[email protected]'
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:ERROR:
Quoted 8 lines
Quoted 8 lines
No
Quoted 2 lines
Quoted 2 lines
usable machine credentials obtained
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING:
Quoted 1 line
Quoted 1 line
Failed to obtain machine credentials for
connection to
Quoted 2 lines
Quoted 2 lines
server vcslinux1.vxindia.veritas.com
Mar 16 14:59:08 vcslinux5 rpc.gssd[2760]:Quoted 19 lines
Quoted 2 lines
Quoted 2 lines
WARNING:
Quoted 1 line
Quoted 1 line
Failed to create krb5 context for user with
uid
Quoted 4 lines
Quoted 4 lines
0 with
Quoted 3 lines
Quoted 3 lines
any credentials cache for server
vcslinux1.vxindia.veritas.comMar 16 14:59:08 vcslinux5 rpc.gssd[2760]:Failed
Quoted 10 lines
Quoted 9 lines
to
Quoted 4 lines
Quoted 4 lines
write error downcall!
thanks,
--kiran-------------------------------------------------------
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
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 thehype.
Quoted 3 lines
Quoted 2 lines
Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfsQuoted 9 lines
Quoted 3 lines
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learnmore.
Quoted 4 lines
-------------------------------------------------------
Quoted 7 lines
Quoted 2 lines
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of ITProducts from real users.
Quoted 1 line
Discover which products truly live up to the hype.
Start reading now.
Quoted 1 line
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 1 line
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Signature · 11 lines
"Good Luck is when preparation meets opportunity" ------------------------------------------------------- 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
Hi ,
I tried with new library.
libgssapi-0.2 and librpcsecgss-0.4 got installed in /usr/local/lib.
Entry in /etc/gssapi_mech.conf has entry as/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init
Still i get error while starting rpc.gssd
[root@vcslinux6 ~]# rpc.gssd -f -vvv
Using keytab file '/etc/krb5.keytab' Processing keytab entry for principal 'nfs/[email protected]' We will use this entry (nfs/[email protected])
WARNING: Decrypt integrity check failed while getting initial ticket for principal 'nfs/[email protected]' from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained processing client list
and while mouting it says:
rpc.gssd may not be running...
May be i am going wrong in procedure of adding
entries in keytab.
Steps.
On machine runnnig KDC:
1.create database using kbd5_util create -s. 2.using "kadmin.local" interface
addprinc root/admin
ktadd -e des-cbc-crc:normal -k /tmp/keytab root/admin
addprinc nfs/vcslinux5.vxindia.veritas.com ktadd -e des-cbc-crc:normal -k /tmp/keytab nfs/vcslinux5.vxindia.veritas.com
addprinc nfs/vcslinux6.vxindia.veritas.com ktadd -e des-cbc-crc:normal -k /tmp/keytab nfs/vcslinux6.vxindia.veritas.com
3.At the end do cp /tmp/keytab /etc/krb5.keytab. 4.Output of klist -k /etc/krb5.keytab
2 root/[email protected]
2 nfs/[email protected] 2 nfs/[email protected]
Machine running nfs server(vcslinux5)
1.create database using kdb5_util create -s
2. using "kadmin.local" interace create
entry for nfs/vcslinux5.vxindia.veritas.com
3.output of klist -k /etc/krb5.keytab
2 nfs/[email protected]
Similarly on machine running nfs client(vcslinux6) after making entry using kadmin.local interface for it
output of klist -k /etc/krb5.keytab
2 nfs/[email protected]
On "all" the machine , /etc/krb.conf
has foloowing entries for realms and domain_realms [realms]
VXINDIA.VERITAS.COM = {
kdc = vcslinux1.vxindia.veritas.com:88 admin_server = vcslinux1.vxindia.veritas.com:749 default_domain = vxindia.veritas.com
}
[domain_realm]
.vxindia.veritas.com = VXINDIA.VERITAS.COM
vxindia.veritas.com = VXINDIA.VERITAS.COM
Did i go wrong anywhere ?
--thanks,
--kiran
Quoted 54 lines · --- Suresh Jayaram
Hi Kiran,
Run rpc.gssd also in verbose mode
Quoted 1 line
Quoted 1 line
RPC:
AUTH_GSSupcall timed out.This means rpc.gssd is not running.
Check gssapi_mech.conf in client machine also.
Those Warning messages you can ignore..Update your libgssapi and librpcsecgss packages
(libgssapi-0.2 and
librpcsecgss-0.4)HTH
SureshQuoted 6 lines · mehta kiran
one more thing.
On machine running kdc ,
entry for vcslinux5 is with kvno 3
while entry for vcslinux5 on vcslinux5 is withkvno
Quoted 6 lines
2 . Is this making a difference
thanks,
--kiran--- Suresh Jayaram <[email protected]>
Quoted 7 lines · wrote:
Quoted 7 lines
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and
foreground) and
rpc.svcgssd -vvv -f
and see why it is failing. I has similarproblems
Quoted 5 lines
Quoted 5 lines
with NFSv4, before
updating all my packages (currently available in
CITI website).Possibly the path of libgssapi_krb5.so may not
be
Quoted 4 lines
Quoted 4 lines
proper. Check your
/etc/gssapi_mech.confBasically after installation of all packages,
you
Quoted 2 lines
Quoted 2 lines
need to create 2
principals in kdc server; one for server and one
Quoted 32 lines
for
Quoted 5 lines
Quoted 5 lines
client and
extract them appropriately.
Make sure all three machines are in Timesync and
hostname of them are
resolvable. Run rpc.mountd, rpc.idmapd,rpc.svcgssd
Quoted 24 lines
Quoted 23 lines
and rpc.nfsd in
server and rpc.idmapd and rpc.gssd in client.HTH
SureshQuoted 6 lines · mehta kiran
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on
both
Quoted 5 lines
client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab2
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
*server:vcslinux5#klist -k
/etc/krb5.keytab2
Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
3
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
2
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I inserted
rpcsec_gss_krb5module on allmachines.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
started krb5kdc and kadmind. started all nfs daemons , rpc.svcgssd ,
Quoted 23 lines
Quoted 7 lines
Quoted 7 lines
rpc.idmapd on
Quoted 1 line
server and exported filesystem with proper
options.
Quoted 4 lines
started rpc.idmapd on client(vcslinux6). But when i run #rpc.gssd -m -v -f
Mar 17 11:13:03 vcslinux6 kernel: RPC:
AUTH_GSSQuoted 14 lines
Quoted 13 lines
upcall
Quoted 2 lines
timed out.
Mar 17 11:13:03 vcslinux6 kernel: Please checkuser
Quoted 5 lines
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed whilegetting
Quoted 2 lines
initial ticket for principal
'nfs/[email protected]'
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained processing client list
Quoted 16 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
-------
Then i tried making kvno for vcslinux5 (onkdc) =
Quoted 12 lines
Quoted 11 lines
2
Quoted 9 lines
i could not.
[root@vcslinux1 ~]# kadmin Authenticating as principal root/[email protected] with password. Password for root/[email protected]:
kadmin: modprinc -kvno 2 nfs/vcslinux5.vxindia.veritas.com Principal
"nfs/[email protected]"
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
modified.
kadmin: ktadd -e des-cbc-crc:normal -k
/tmp/keytabQuoted 1 line
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
Entry for principal
Quoted 20 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
with kvno 3, encryption type DES cbc mode with
CRC-32
Quoted 6 lines
added to keytab WRFILE:/tmp/keytab.
Please let me know where i went wrong .
Quoted 1 line · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall"
and
Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
"Failed to write error
downcall" should not normally happen. Whatversions
Quoted 6 lines
Quoted 6 lines
of kernel and
nfs-utils do you have?Quoted 2 lines
Quoted 2 lines
Error in log file on mount
Mar 16 14:58:43 vcslinux5rpc.gssd[4258]:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
WARNING:
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
failed reading uid from krb5 upcall
pipe:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Success
Quoted 1 line
Quoted 1 line
Mar 16 14:58:43 vcslinux5rpc.gssd[4405]:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
WARNING: Key
Quoted 1 line
Quoted 1 line
table entry not found while getting
initial
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-------------------------------------------------------
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
to den 17.03.2005 Klokka 23:43 (-0800) skreiv mehta kiran:
Quoted 17 lines
On machine runnnig KDC:
1.create database usingkbd5_utilcreate -s. 2.using "kadmin.local" interface
addprinc root/admin
ktadd -e des-cbc-crc:normal -k/tmp/keytabroot/adminaddprinc nfs/vcslinux5.vxindia.veritas.com ktadd -e des-cbc-crc:normal -k
/tmp/keytabnfs/vcslinux5.vxindia.veritas.comaddprinc nfs/vcslinux6.vxindia.veritas.com ktadd -e des-cbc-crc:normal -k
/tmp/keytabnfs/vcslinux6.vxindia.veritas.com
3.At the end do cp/tmp/keytab/etc/krb5.keytab. 4.Output of klist -k/etc/krb5.keytab
Quoted 6 lines
2 root/[email protected]
2 nfs/[email protected] 2 nfs/[email protected]
No. All you want to do is
On machine runnnig KDC:
1.create database using kbd5_util create -s.
2.using "kadmin.local" interface
addprinc root/admin
addprinc nfs/vcslinux5.vxindia.veritas.com
ktadd -e des-cbc-crc:normal -k /tmp/keytab.vclinux5 nfs/vcslinux5.vxindia.veritas.com
addprinc nfs/vcslinux6.vxindia.veritas.com
ktadd -e des-cbc-crc:normal -k /tmp/keytab.vcslinux6 nfs/vcslinux6.vxindia.veritas.com
Then copy /tmp/keytab.vclinux5 to /etc/krb5.keytab on vclinux5, copy /tmp/keytab.vclinux6 to /etc/krb5.keytab on vclinux6,... Then just delete /tmp/keytab.vclinux*
scp -p /tmp/keytab.vclinux5 vclinux5:/etc/krb5.keytab scp -p /tmp/keytab.vclinux6 vclinux6:/etc/krb5.keytab rm /tmp/keytab.vclinux5 /tmp/keytab.vclinux6
IOW:
- Since the KDC is the trusted server that authenticates your
credentials, you _must_ be using keytabs generated by the KDC on each client.
- The server does not need to have a copy of the keytab.
- The clients do no need to have a copy of any keytab entry other than
their own.
Your /etc/krb.conf really needs to be a /etc/krb5.conf, but otherwise, the entries in your mail looked OK.
Cheers,
Trond
Signature · 12 lines
Trond Myklebust <[email protected]> ------------------------------------------------------- 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
Kiran,
Sorry, I was away for a few days with bad connectivity.
Each time you run the "ktadd" command to create a keytab entry, the key version number (kvno) for that principal is updated. You cannot simply modify the kvno for a principal because the kvno is associated with the key. I'd advise throwing out the keytab on vcslinux5 and create a new keytab for that principal.
P.S. Here is what the ktadd command does:
- It generates a new random key value for the principal (with a new key version)
- It puts this new key into the Kerberos DB, replacing any previous key with a lower kvno
- It puts this new key into the keytab file that was specified
Therefore, each time you run ktadd, the old keytab entry becomes obsolete.
Quoted 241 lines
one more thing.
On machine running kdc ,
entry for vcslinux5 is with kvno 3
while entry for vcslinux5 on vcslinux5 is with kvno 2 . Is this making a differencethanks,
--kiranQuoted 32 lines · --- Suresh Jayaram
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and
foreground) and
rpc.svcgssd -vvv -f
and see why it is failing. I has similar problems
with NFSv4, before
updating all my packages (currently available in
CITI website).Possibly the path of libgssapi_krb5.so may not be
proper. Check your/etc/gssapi_mech.confBasically after installation of all packages, you need to create 2
principals in kdc server; one for server and one for client and
extract them appropriately.
Make sure all three machines are in Timesync and hostname of them are
resolvable. Run rpc.mountd, rpc.idmapd, rpc.svcgssd and rpc.nfsd in
server and rpc.idmapd and rpc.gssd in client.HTH
SureshOn Thu, 17 Mar 2005 03:59:52 -0800 (PST), mehta
kiran
<[email protected]> wrote:Quoted 13 lines
Quoted 6 lines
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on
both
Quoted 5 lines
client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab
2Quoted 6 lines
Quoted 5 lines
*server:vcslinux5#klist -k
/etc/krb5.keytab2
Quoted 7 lines
Quoted 6 lines
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2Quoted 3 lines
Quoted 2 lines
3
Quoted 3 lines
Quoted 2 lines
2
Quoted 14 lines
Quoted 4 lines
I inserted
rpcsec_gss_krb5module on all machines. started krb5kdc and kadmind.
started all nfs daemons , rpc.svcgssd ,rpc.idmapd on
Quoted 1 line
server and exported filesystem with proper
options.
Quoted 4 lines
started rpc.idmapd on client(vcslinux6).
But when i run #rpc.gssd -m -v -fMar 17 11:13:03 vcslinux6 kernel: RPC: AUTH_GSSupcall
Quoted 2 lines
timed out.
Mar 17 11:13:03 vcslinux6 kernel: Please checkQuoted 10 lines
user
Quoted 5 lines
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed whilegetting
Quoted 2 lines
initial ticket for principal
'nfs/[email protected]'
Quoted 4 lines
Quoted 4 lines
from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained
processing client listQuoted 13 lines
Quoted 2 lines
-------
Then i tried making kvno for vcslinux5 (on kdc) =2
Quoted 9 lines
i could not.
[root@vcslinux1 ~]# kadmin
Authenticating as principal
root/[email protected] with password.
Password for root/[email protected]:
kadmin: modprinc -kvno 2
nfs/vcslinux5.vxindia.veritas.com
Principal"nfs/[email protected]"
Quoted 5 lines
Quoted 2 lines
modified.
kadmin: ktadd -e des-cbc-crc:normal -k
/tmp/keytabQuoted 1 line
Quoted 3 lines
Quoted 2 lines
Entry for principal
Quoted 4 lines
Quoted 1 line
with kvno 3, encryption type DES cbc mode with
CRC-32
Quoted 2 lines
added to keytab WRFILE:/tmp/keytab.
Quoted 25 lines
Quoted 6 lines
Please let me know where i went wrong .
Quoted 3 lines · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall" and "Failed to write error
downcall" should not normally happen. Whatversions
Quoted 17 lines
Quoted 16 lines
of kernel and
nfs-utils do you have?Quoted 2 lines
Quoted 2 lines
Error in log file on mount
Mar 16 14:58:43 vcslinux5 rpc.gssd[4258]:WARNING:
Quoted 1 line
Quoted 1 line
failed reading uid from krb5 upcall pipe:
Success
Quoted 1 line
Quoted 1 line
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING: Key
Quoted 1 line
Quoted 1 line
table entry not found while getting initial
ticket for
Quoted 2 lines
Quoted 2 lines
principal
'nfs/[email protected]'
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
from keytab 'FILE:/etc/krb5.keytab'
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:ERROR:
Quoted 8 lines
Quoted 8 lines
No
Quoted 2 lines
Quoted 2 lines
usable machine credentials obtained
Mar 16 14:58:43 vcslinux5 rpc.gssd[4405]:WARNING:
Quoted 1 line
Quoted 1 line
Failed to obtain machine credentials for
connection to
Quoted 2 lines
Quoted 2 lines
server vcslinux1.vxindia.veritas.com
Mar 16 14:59:08 vcslinux5 rpc.gssd[2760]:Quoted 19 lines
Quoted 2 lines
Quoted 2 lines
WARNING:
Quoted 1 line
Quoted 1 line
Failed to create krb5 context for user with
uid
Quoted 4 lines
Quoted 4 lines
0 with
Quoted 3 lines
Quoted 3 lines
any credentials cache for server
vcslinux1.vxindia.veritas.comMar 16 14:59:08 vcslinux5 rpc.gssd[2760]:Failed
Quoted 10 lines
Quoted 9 lines
to
Quoted 4 lines
Quoted 4 lines
write error downcall!
thanks,
--kiran-------------------------------------------------------
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
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 thehype.
Quoted 3 lines
Quoted 2 lines
Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfsQuoted 9 lines
Quoted 3 lines
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learnmore.
Quoted 4 lines
-------------------------------------------------------
Quoted 7 lines
Quoted 2 lines
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of ITProducts from real users.
Quoted 1 line
Discover which products truly live up to the hype.
Start reading now.
Quoted 1 line
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 1 line
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Quoted 8 lines
-------------------------------------------------------
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
-------------------------------------------------------
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
Hi ,
I tried things as directed by Trond in
his previous mail and everything seemed to work fine initally. but when i rebooted system , it started giving error whenever i start rpc.gssd 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]' from keytab 'FILE:/etc/krb5.keytab'
Mar 21 14:47:27 vcslinux6 rpc.gssd[3487]: ERROR: No
usable machine credentials obtained
while #klist -k /etc/krb5.keytab gives
2 nfs/[email protected]
I even tried by recreating kerberos database but in vain. I still get the same error.
I observed one more thing.
Whenver i create principal(other then root/admin) , passwords i enter for them during their creation are not accepted by kinit.
Please let me know where i went wrong.
--thanks,
--kiran
Quoted 66 lines · --- Kevin Coffman
Kiran,
Sorry, I was away for a few days with bad
connectivity.Each time you run the "ktadd" command to create a keytab entry, the key
version number (kvno) for that principal is updated.
You cannot simply
modify the kvno for a principal because the kvno is associated with the
key. I'd advise throwing out the keytab on vcslinux5 and create a new
keytab for that principal.
P.S. Here is what the ktadd command does:
- It generates a new random key value for the principal (with a new key version)
- It puts this new key into the Kerberos DB, replacing
any previous key with a lower kvno
- It puts this new key into the keytab file that was specifiedTherefore, each time you run ktadd, the old keytab entry
becomes obsolete.Quoted 6 lines
one more thing.
On machine running kdc ,
entry for vcslinux5 is with kvno 3
while entry for vcslinux5 on vcslinux5 is withkvno
Quoted 8 lines
2 . Is this making a difference
thanks,
--kiran--- Suresh Jayaram <[email protected]>
Quoted 7 lines · wrote:
Quoted 7 lines
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and
foreground) and
rpc.svcgssd -vvv -f
and see why it is failing. I has similarproblems
Quoted 5 lines
Quoted 5 lines
with NFSv4, before
updating all my packages (currently available in
CITI website).Possibly the path of libgssapi_krb5.so may not
be
Quoted 4 lines
Quoted 4 lines
proper. Check your
/etc/gssapi_mech.confBasically after installation of all packages,
you
Quoted 2 lines
Quoted 2 lines
need to create 2
principals in kdc server; one for server and one
Quoted 32 lines
for
Quoted 5 lines
Quoted 5 lines
client and
extract them appropriately.
Make sure all three machines are in Timesync and
hostname of them are
resolvable. Run rpc.mountd, rpc.idmapd,rpc.svcgssd
Quoted 24 lines
Quoted 23 lines
and rpc.nfsd in
server and rpc.idmapd and rpc.gssd in client.HTH
SureshQuoted 6 lines · mehta kiran
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on
both
Quoted 5 lines
client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab2
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
*server:vcslinux5#klist -k
/etc/krb5.keytab2
Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
3
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
2
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I inserted
rpcsec_gss_krb5module on allmachines.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
started krb5kdc and kadmind. started all nfs daemons , rpc.svcgssd ,
Quoted 23 lines
Quoted 7 lines
Quoted 7 lines
rpc.idmapd on
Quoted 1 line
server and exported filesystem with proper
options.
Quoted 4 lines
started rpc.idmapd on client(vcslinux6). But when i run #rpc.gssd -m -v -f
Mar 17 11:13:03 vcslinux6 kernel: RPC:
AUTH_GSSQuoted 14 lines
Quoted 13 lines
upcall
Quoted 2 lines
timed out.
Mar 17 11:13:03 vcslinux6 kernel: Please checkuser
Quoted 5 lines
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed whilegetting
Quoted 2 lines
initial ticket for principal
'nfs/[email protected]'
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained processing client list
Quoted 16 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
-------
Then i tried making kvno for vcslinux5 (onkdc) =
Quoted 12 lines
Quoted 11 lines
2
Quoted 9 lines
i could not.
[root@vcslinux1 ~]# kadmin Authenticating as principal root/[email protected] with password. Password for root/[email protected]:
kadmin: modprinc -kvno 2 nfs/vcslinux5.vxindia.veritas.com Principal
"nfs/[email protected]"
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
modified.
kadmin: ktadd -e des-cbc-crc:normal -k
/tmp/keytabQuoted 1 line
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
Entry for principal
Quoted 17 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
with kvno 3, encryption type DES cbc mode with
CRC-32
Quoted 6 lines
added to keytab WRFILE:/tmp/keytab.
Please let me know where i went wrong .
Quoted 1 line · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall"
and
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
"Failed to write error
downcall" should not normally happen. Whatversions
Quoted 4 lines
Quoted 4 lines
of kernel and
nfs-utils do you have?
=== message truncated ===
__________________________________________________
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
Quoted 14 lines
Hi ,
I tried things as directed by Trond in
his previous mail and everything seemed to work fine initally. but when i rebooted system , it started giving error whenever i start rpc.gssd 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]' from keytab 'FILE:/etc/krb5.keytab'
Quoted 7 lines
Mar 21 14:47:27 vcslinux6 rpc.gssd[3487]: ERROR: Nousable machine credentials obtained
while #klist -k
/etc/krb5.keytabgives
2 nfs/[email protected]
I'm confused by this, but I do not know what to look for.
Quoted 2 lines
I even tried by recreating kerberos database but in 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 4 lines
I observed one more thing.
Whenver i create principal(other then root/admin) , 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
-------------------------------------------------------
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
Hi Kevin,
I tried things as directed by Trond in
his previous mail and everything seemed to work fine initally. but when i rebooted system , it started giving error whenever i start rpc.gssd 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]' from keytab 'FILE:/etc/krb5.keytab'
Mar 21 14:47:27 vcslinux6 rpc.gssd[3487]: ERROR: No
usable machine credentials obtained
while #klist -k /etc/krb5.keytab gives
2 nfs/[email protected]
I even tried by recreating kerberos database but in vain. I still get the same error.
I observed one more thing.
Whenver i create principal(other then root/admin) , passwords i enter for them during their creation are not accepted by kinit.
Please let me know where i went wrong.
--thanks,
--kiran
Quoted 66 lines · --- Kevin Coffman
Kiran,
Sorry, I was away for a few days with bad
connectivity.Each time you run the "ktadd" command to create a keytab entry, the key
version number (kvno) for that principal is updated.
You cannot simply
modify the kvno for a principal because the kvno is associated with the
key. I'd advise throwing out the keytab on vcslinux5 and create a new
keytab for that principal.
P.S. Here is what the ktadd command does:
- It generates a new random key value for the principal (with a new key version)
- It puts this new key into the Kerberos DB, replacing
any previous key with a lower kvno
- It puts this new key into the keytab file that was specifiedTherefore, each time you run ktadd, the old keytab entry
becomes obsolete.Quoted 6 lines
one more thing.
On machine running kdc ,
entry for vcslinux5 is with kvno 3
while entry for vcslinux5 on vcslinux5 is withkvno
Quoted 8 lines
2 . Is this making a difference
thanks,
--kiran--- Suresh Jayaram <[email protected]>
Quoted 7 lines · wrote:
Quoted 7 lines
Hi Kiran,
Try running rpc.gssd -f -vvv (really verbose and
foreground) and
rpc.svcgssd -vvv -f
and see why it is failing. I has similarproblems
Quoted 5 lines
Quoted 5 lines
with NFSv4, before
updating all my packages (currently available in
CITI website).Possibly the path of libgssapi_krb5.so may not
be
Quoted 4 lines
Quoted 4 lines
proper. Check your
/etc/gssapi_mech.confBasically after installation of all packages,
you
Quoted 2 lines
Quoted 2 lines
need to create 2
principals in kdc server; one for server and one
Quoted 32 lines
for
Quoted 5 lines
Quoted 5 lines
client and
extract them appropriately.
Make sure all three machines are in Timesync and
hostname of them are
resolvable. Run rpc.mountd, rpc.idmapd,rpc.svcgssd
Quoted 24 lines
Quoted 23 lines
and rpc.nfsd in
server and rpc.idmapd and rpc.gssd in client.HTH
SureshQuoted 6 lines · mehta kiran
Hi kevin ,
I am using RHEL4 GA.
kernel : 2.6.9-5.EL
nfs-utils : nfs-utils-1.0.6-46As per what you told , i have added entries on
both
Quoted 5 lines
client and server.
*client:vcslinux6#klist -k
/etc/krb5.keytab2
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
*server:vcslinux5#klist -k
/etc/krb5.keytab2
Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
*kdc:vcslinux1#klist -k
/etc/krb5.keytab2 root/[email protected]
2
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
3
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
2
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I inserted
rpcsec_gss_krb5module on allmachines.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
started krb5kdc and kadmind. started all nfs daemons , rpc.svcgssd ,
Quoted 23 lines
Quoted 7 lines
Quoted 7 lines
rpc.idmapd on
Quoted 1 line
server and exported filesystem with proper
options.
Quoted 4 lines
started rpc.idmapd on client(vcslinux6). But when i run #rpc.gssd -m -v -f
Mar 17 11:13:03 vcslinux6 kernel: RPC:
AUTH_GSSQuoted 14 lines
Quoted 13 lines
upcall
Quoted 2 lines
timed out.
Mar 17 11:13:03 vcslinux6 kernel: Please checkuser
Quoted 5 lines
daemon is running!
in log file:
Using keytab file '/etc/krb5.keytab'
WARNING: Decrypt integrity check failed whilegetting
Quoted 2 lines
initial ticket for principal
'nfs/[email protected]'
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
from keytab 'FILE:/etc/krb5.keytab'
ERROR: No usable machine credentials obtained processing client list
Quoted 16 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
-------
Then i tried making kvno for vcslinux5 (onkdc) =
Quoted 12 lines
Quoted 11 lines
2
Quoted 9 lines
i could not.
[root@vcslinux1 ~]# kadmin Authenticating as principal root/[email protected] with password. Password for root/[email protected]:
kadmin: modprinc -kvno 2 nfs/vcslinux5.vxindia.veritas.com Principal
"nfs/[email protected]"
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
modified.
kadmin: ktadd -e des-cbc-crc:normal -k
/tmp/keytabQuoted 1 line
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
Entry for principal
Quoted 17 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
with kvno 3, encryption type DES cbc mode with
CRC-32
Quoted 6 lines
added to keytab WRFILE:/tmp/keytab.
Please let me know where i went wrong .
Quoted 1 line · --- Kevin Coffman
Also, "failed reading uid from krb5 upcall"
and
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
"Failed to write error
downcall" should not normally happen. Whatversions
Quoted 4 lines
Quoted 4 lines
of kernel and
nfs-utils do you have?
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
-------------------------------------------------------
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