Bind Lion to Active Directory with a shell script
Hello,
Does anyone have a script to bind Lion to Active Directory? I ask because the script that I use, one that I got from Mike Bombich's website many years ago, and has worked since Tiger, doesn't seem to work with Lion.
A snippet from my script:
# Standard parameters
domain="sespactivedirectory.northwestern.edu"
id="myaccount"
password="mypassword"
# Advanced options
ou="CN=Computers,DC=sespad,DC=northwestern,DC=edu"
preferredserver="sespdc1.sespactivedirectory.northwestern.edu"
multidomain="enable"
mobileconfirm="enable"
caching="enable"
localhome="disable"
mountstyle="afp"
Specifically, I get dsconfigad: Node name wasn't found. (2000) when I define AD in my script. This was never an issue with Tiger-Snow Leopard.
Any help or insight is greatly appreciated!
Sincerely,
Ryan