Stuff for Macs that are bound to Active Directory
bind_ad.py
The work flow is kinda specific for my environment. Adjust as needed.
- If needed update the hostname
- Bind machine to Active Directory
- Migrate a local user account to an Active Directory user account
- Update permissions
Highly recommend looking at what's being done here rather than running this blindly.
hostname_check.py
Update the Mac's hostnames to match the Active Directory binding name.