1. Montage des homedirectory

    nano /etc/auto_master
    ajouter cette ligne: /home  /etc/auto_home  --ghost,--timeout=60
    nano /etc/auto_home
    ajouter cette ligne: users   -fstype=nfs,rw,intr     server.example.com:/homedirectory
    commenter cette ligne: +auto_home     # Use directory service
    commenter cette ligne: +/usr/libexec/od_user_homes

    Dans le fichier /etc/pam.d/common-session

    session required pam_mkhomedir.so skel=/etc/skel umask=0022
  2. Desactiver les services d'authentification

    sudo /usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string DIGEST-MD5" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/ldap.ceremade.dauphine.fr.plist
    sudo /usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string GSSAPI" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/ldap.ceremade.dauphine.fr.plist
    sudo /usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string NTLM" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/ldap.ceremade.dauphine.fr.plist
    sudo /usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string CRAM-MD5" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/ldap.ceremade.dauphine.fr.plist