Install Kerberos on the server machine. See Kerberos V5 Installation Guide for instructions for how to do this. You do not have to install all of the Kerberos clients just to run a NetSolve server, but you do need kadmin and components that deal with Kerberos tickets like kinit and kdestroy.
Define a Kerberos service principal for the NetSolve server. To define the principal for machine foo.bar.com:
Get the name and the password of a Kerberos principal that is authorized to run kadmin and create principals.
Log on to the machine where you want to install the Kerberized NetSolve server. Make sure you have a secure connection to the client machine (perhaps you're typing on the machine's keyboard, or perhaps you're using ssh to log in to that machine), so that your password will not be exposed on the net.
Do a kinit to acquire a ticket that identifies you as someone who can create principals.
Create a service principal for the NetSolve server on your host. If your host is named foo.bar.com, the service principal should be named netsolve/foo.bar.com:
UNIX> kadmin |
UNIX> kadmin: addprincipal -randkey netsolve/foo.bar.com UNIX> kadmin: ktadd -k /etc/netsolve.keytab netsolve/foo.bar.com |
While you're at it, you might want to define other service principals for the same host. For instance, a service principal of the form host/foo.bar.com is needed if you want to allow Kerberized logins to that host. This is straightforward:
UNIX> kadmin: addprincipal -randkey host/foo.bar.com UNIX> kadmin: ktadd host/foo.bar.com |
Make sure that /etc/netsolve.keytab is readable only by the UNIX user-id that will run the NetSolve server. (Permissions should be 0600, -rw-------). The owner should not be root.