IBM NFS/DFS Secure Gateway Network Router User Manual


 
Note: The dfs_login and dfs_logout commands are not provided with DFS;
these commands can be used only if they are available from your NFS
vendor. If these commands are not available, use the dfsgw add and
dfsgw delete commands, which work in a similar fashion. See your
NFS vendor documentation for the availability and use of the dfs_login
and dfs_logout commands.
1. If you have not already done so, perform all of the steps in Conguring a
Client Without Enabling Remote Authenticationon page 14 to mount /...
on the machine.
2. If you have not already done so, log in as the local superuser root on the
machine.
3. Install the binary les for the dfs_login and dfs_logout commands in the
/usr/bin directory on the machine. These commands provide the following
functionality:
dfs_login
Establishes an authenticated session for users of the NFS client by
obtaining DCE credentials on a Gateway Server machine. (See
Authenticating to DCE from an NFS Clienton page 19 for
information about using this command.)
dfs_logout
Ends an authenticated session established with the dfs_login
command. (See Authenticating to DCE from an NFS Clienton
page 19 for information about using this command.)
(The dfs_login and dfs_logout commands use version 5 of Kerberos to
communicate with the DCE Security Service.)
4. Create the Kerberos conguration le named /krb5/krb.conf. The
dfs_login command reads this le to determine the name of a DCE
Security Server that it can contact. This le must be identical to the
/krb5/krb.conf le on machines in the host DCE cell; copy it from a
machine in the DCE cell.
5. Create the Kerberos conguration le named /krb5/krb.realms. The
Kerberos runtime uses the information in this le to translate Internet
domains to the corresponding Kerberos realms. In the le, the Kerberos
realm has the same name as the DCE cell. Each line of the le must have
the following format:
domain krb-realm
where domain is the name of the local Internet domain, and krb-realm is the
name of the Kerberos realm (the name of the DCE cell to be accessed). For
example, in the following krb.realms le, def.com is the name of the
Internet domain, and abc.com is the name of the DCE cell. If machines
from multiple domains are to contact the DCE cell, you need a separate
line for each domain. Note that realm names are case-sensitive.
Chapter 3. Conguring NFS Clients to Access DFS 15