Modifications entre les versions 4 et 5
Version 4 à la date du 2006-10-17 16:31:55
Taille: 169
Éditeur: AlexandreDomont
Commentaire:
Version 5 à la date du 2006-10-17 16:37:17
Taille: 1120
Éditeur: AlexandreDomont
Commentaire:
Texte supprimé. Texte ajouté.
Ligne 8: Ligne 8:
Avant de faire les conf :

# sudo cp /etc/krb5.conf /etc/krb5.conf.bck1
# sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bck1
Ligne 12: Ligne 17:

cat /etc/hosts

  . {{{
~~
10.72.1.11 biblio2 biblio2.bureautique.fr.auf
10.72.1.10 cdsorb cdsorb.bureautique.auf
~~
}}}

sudo kinit admin_ad
sudo klist

  . {{{
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: admin_ad@BUREAUTIQUE.FR.AUF

Valid starting Expires Service principal
10/17/06 18:26:32 10/18/06 01:06:32 krbtgt/BUREAUTIQUE.FR.AUF@BUREAUTIQUE.FR.AUF


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached
}}}

sudo net join -U admin_ad -S cdsorb.bureautique.fr.auf


  . {{{
[2006/10/17 18:32:13, 0] libads/ldap.c:ads_add_machine_acct(1414)
  ads_add_machine_acct: Host account for frantz-laptop already exists - modifying old account
Using short domain name -- BUREAUTIQUE
Joined 'FRANTZ-LAPTOP' to realm 'BUREAUTIQUE.FR.AUF'
}}}

Installation client Samba

# sudo aptitude install krb5-user

Configuration client Samba

Avant de faire les conf :

# sudo cp /etc/krb5.conf /etc/krb5.conf.bck1 # sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bck1

Fichier /etc/krb5.conf

  • attachment:smb.conf attachment:krb5.conf

cat /etc/hosts

  • ~~
    10.72.1.11 biblio2 biblio2.bureautique.fr.auf
    10.72.1.10 cdsorb cdsorb.bureautique.auf
    ~~

sudo kinit admin_ad sudo klist

  • Ticket cache: FILE:/tmp/krb5cc_0
    Default principal: admin_ad@BUREAUTIQUE.FR.AUF
    
    Valid starting     Expires            Service principal
    10/17/06 18:26:32  10/18/06 01:06:32  krbtgt/BUREAUTIQUE.FR.AUF@BUREAUTIQUE.FR.AUF
    
    
    Kerberos 4 ticket cache: /tmp/tkt0
    klist: You have no tickets cached

sudo net join -U admin_ad -S cdsorb.bureautique.fr.auf

  • [2006/10/17 18:32:13, 0] libads/ldap.c:ads_add_machine_acct(1414)
      ads_add_machine_acct: Host account for frantz-laptop already exists - modifying old account
    Using short domain name -- BUREAUTIQUE
    Joined 'FRANTZ-LAPTOP' to realm 'BUREAUTIQUE.FR.AUF'

ZEO/Paris/Bureautique/ClientSamba (dernière édition le 2012-04-09 02:59:13 par JeanChristopheAndré)