Il est trés simple a utiliser
il faut d’abord forcer le dns sur active directory
donc dans dhclient.conf, derriere la ligne #prepend domain-name-servers 127.0.0.1;
j’ai ajouté la ligne:
supersede domain-name-servers IPdemonactivedirectory1, IPdemonactivedirectory2, IPdemonactivedirectory3;
Reboot de la machine
Ensuite j’utilise mon script pour faire entrer le pc dans le domaine
#Download and install Power Broker Identity Services Open (PBIS Open)
#As newer versions come out you will need to go to "http://download1.beyondtrust.com/Technical-#Support/Downloads/PowerBroker-Identity-Services-Open-Edition/?Pass=True" and change the script #accordingly.
#Mettre le paquet openpbis dans le même répertoire que le script
pbis=pbis-open-8.2.2.2993.linux.x86_64.deb.sh
#cd ~
#wget $dl
chmod a+x $pbis
./$pbis
#Use PBIS Open to join the PC to the Windows Domain.
domainname=xxx.lan
domainadmin=xxx
domainjoin-cli join --disable ssh $domainname $domainadmin
#Enter password for authentication and wait for the "SUCCESS" prompt.
#Configure Domain Account defaults using PBIS.
/opt/pbis/bin/config UserDomainPrefix nomdemondomaine
/opt/pbis/bin/config AssumeDefaultDomain 'true'
/opt/pbis/bin/config LoginShellTemplate /bin/bash
/opt/pbis/bin/config HomeDirTemplate /%H/%U
/opt/pbis/bin/update-dns
/opt/pbis/bin/ad-cache --delete-all
#Restart system to complete the process.
echo "Le PC va redémarrer"
reboot
c’est tout
le lien pour télécharger en direct:
http://download1.beyondtrust.com/Technical-Support/Downloads/PowerBroker-Identity-Services-Open-Edition/?Pass=True
et les docs
http://www.beyondtrust.com/Resources/OpenSourceDocumentation/
Pour les manip plus fines la doc est très bien faite.