Hi there,
I’m running this script to bind to AD and OD.
I get a confirmation that it all works however when I go into the directory util AD is not enabled. Any suggestions?
—————————————————————————————————————————————————
defaults write /Library/Preferences/com.apple.loginwindow SHOWFULLNAME true
defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo DSStatus
defaults write /Library/Preferences/DirectoryService/DirectoryService “Active Directory” Active;
dsconfigad -f -a hostname -domain DOMAIN -u USERNAME -p PASSWORD
dsconfigldap -v -f -a xserve-01-ny -n xserve-01-ny -c hostname -u USERNAME -p PASSWORD -x -e
dscl /Search/Contacts -create / SearchPolicy CSPSearchPath
dscl /Search/Contacts -append / CSPSearchPath “/Active Directory/All Domains”
dscl /Search/Contacts -append / CSPSearchPath “/LDAPv3/ODSERVER”
dscl /Search -create / SearchPolicy CSPSearchPath
dscl /Search -append / CSPSearchPath “/Active Directory/All Domains”
dscl /Search -append / CSPSearchPath “/LDAPv3/ODSERVER”
——————————————————————————————————————————————————-