Gestion de Kerberos et d'autres services d'authentification dans Oracle® Solaris 11.2

Quitter la vue de l'impression

Mis à jour : Septembre 2014
 
 

Configuration automatique d'un client Kerberos

Avant de commencer

Vous devez prendre le rôle root. Pour plus d'informations, reportez-vous à la section A l’aide de vos droits administratifs attribués du manuel Sécurisation des utilisateurs et des processus dans Oracle Solaris 11.2 .

  1. Créer un profil kclient.

    Utilisez le profil d'installation à partir de la sectionCréation d'un profil d'installation de client Kerberos

  2. Exécutez la commandekclient avec un argument de profil.

    Vous devez fournir le mot de passe pour le principal clntconfig afin de terminer le processus. Vous avez créé ce mot de passe lorsque vous avez configuré le KDC maître dans la section Configuration des serveurs KDC. Pour plus d'informations, reportez-vous à la page de manuel kclient(1M).

    client# /usr/sbin/kclient -p /net/denver.example.com/export/install/kcprofile
    
    Starting client setup
    ---------------------------------------------------
    
    kdc1.example.com
    
    Setting up /etc/krb5/krb5.conf.
    
    Obtaining TGT for clntconfig/admin ...
    Password for clntconfig/admin@EXAMPLE.COM: xxxxxxxx
    
    nfs/client.example.com entry ADDED to KDC database.
    nfs/client.example.com entry ADDED to keytab.
    
    host/client.example.com entry ADDED to KDC database.
    host/client.example.com entry ADDED to keytab.
    
    Copied /net/denver.example.com/export/install/krb5.conf.
    
    ---------------------------------------------------
    Setup COMPLETE.
    
    client#
Exemple 4-2  Utilisation d'un profil d'installation pour configurer un client Kerberos

L'exemple suivant utilise le profil de client kcprofile et le remplacement de deux lignes de commande pour configurer le client.

# /usr/sbin/kclient -p /net/denver.example.com/export/install/kcprofile \
-d dns_fallback -k kdc2.example.com

Starting client setup
---------------------------------------------------

kdc1.example.com

Setting up /etc/krb5/krb5.conf.

Obtaining TGT for clntconfig/admin ...
Password for clntconfig/admin@EXAMPLE.COM:  xxxxxxxx

nfs/client.example.com entry ADDED to KDC database.
nfs/client.example.com entry ADDED to keytab.

host/client.example.com entry ADDED to KDC database.
host/client.example.com entry ADDED to keytab.

Copied /net/denver.example.com/export/install/krb5.conf.

---------------------------------------------------
Setup COMPLETE.

client#