So after a year of painful roadblocks, my Active Directory migration is starting to quiet down. I even have a Windows 7 deployment Task Sequence set up through Configuration Manager that lets me get a Windows machine set up with only 10 minutes of face time (~90 minutes actual install time).
I used to brag that I could set up a Linux Workstation faster than Windows 7, but now... what do I do! I was getting Jealous of Windows install times and I couldn't stand it any more.
Equivs to the rescue! One problem I have when setting up new Ubuntu Workstations is ensuring I have all the required packages installed on the machine. This can be done by creating a meta-package. There are two commands to assist you with this,
equivs-controlto create an empty equivs control file that you can fill in. At the very minimum fill out the Package, Version, Maintainer and most importantly the Depends settings.
After that you can build your meta-package using the equivs-build command and passing your control file as the parameter.
The second step for my speedy Linux deployment is a BASH script that goes through and configures Samba, PAM, nsswitch.conf and pam_mount.conf.xml so that the machine is bound to AD, authenticates to AD and mounts shares through AD when users log in. (Most importantly the Documents folder).
Now I can have a Linux workstation up and running in about 30 minutes with 5 minutes of face time! Once again I'm faster than Windows. All is right in the world.