AUTH_KERB to work with mount?

AUTH_KERB to work with mount?

Post by Paul Pom » Tue, 07 May 1996 04:00:00

Configuration: Sparc 5, Solaris 2.4.  MIT Kerberos server (V5 beta 5) running
on draco1.

with V4 keys and extracted into each host's /etc/srvtab file.  As root the
ksrvtgt root hydra1 command works correctly (on hydra1 of course).

Draco1 exports /export/draco1-mnt2 with the /etc/dfs/dfstab entry of
        share -F nfs -o rw=gocc,kerberos /export/draco1-mnt2
The share command reports
        -               /export/draco1-mnt2   rw=gocc,kerberos   ""  

On hydra1 I first kinit to myself:

Ticket file:    /tmp/tkt17372

  Issued           Expires          Principal

Then su and run ksrvtgt root hydra1:

Ticket file:    /tmp/tkt0

  Issued           Expires          Principal

And finally issue the mount command:

# mount -F nfs -o kerberos draco1:/export/draco1-mnt2 /mnt
Can't get kerberos key: system error
nfs mount: mount: /mnt: I/O error

Afterwards the log file reports

May  6 07:12:28 hydra1 unix: NOTICE: authkerb_refresh: no key: error = -1 (system error)
May  6 07:12:28 hydra1 unix: Can't get kerberos key: system error
May  6 07:12:28 hydra1 unix: WARNING: authget: authkerb_create failed: I/O error (kerberos error -1)
May  6 07:12:28 hydra1 unix: WARNING: clget: authget failed (scanning chtable): I/O error

The kerberos logs show only the requests for hydra1/root and ppomes.

Any ideas or help would be appreciated.

Religion IS useful - it gives losers something to fear.
                --Mike McCaughey


1. NFS mount won't mount at boot, but mount -a works fine.

I'm trying to get an NFS share to mount at boot time, but it won't. However,
mount -a works just fine. I've tried playing with the retry= option with no
luck. nsswitch.conf is hosts: files dns, and I have an entry for the host in
/etc/hosts. The client machine is SUSE 8 (2.4 kernel), the server is SUSE 9
(2.6 kernel). My fstab entry looks like this:

 storage01:/array/    /home/array    nfs     rw,auto,sync

Does anyone have any ideas on this?


2. netstat question

3. mount works but mount -a doesn't

4. Help 3c505 ethernet cards

5. Apache not serving from CIFS-mounted share, works if it's mounted as SMBFS

6. Why return NULL for u_envp in struct user

7. mount error: mount only root can mount /dev/cdrom on cdrom

8. Can't telnet to remote host !

9. nfs mount and telnet doesn′t work anymore after updating

10. NFS Mount not working

11. Is your Sony ATAPI/IDE (55E) mounted/working?

12. mount -f nfs is not working