i’m playing around with the script that is frequently referred to for binding a mac client to AD.
part of this script does this:
[code]sudo defaults write /Library/Preferences/DirectoryService/SearchNodeConfig “Search Node Custom Path Array” -array “/Active Directory/All Domains”
sudo defaults write /Library/Preferences/DirectoryService/SearchNodeConfig “Search Policy” -int 3
sudo plutil -convert xml1 /Library/Preferences/DirectoryService/SearchNodeConfig.plist[/code]
i believe that for our environment, i’d like two custom paths instead of just the one added via the above command.
/Active Directory/domain.net.example.edu
/Active Directory/All Domains
i’ve played around with this with “defaults write” but can’t seem to get it to work. can anyone help me out?
i’m thinking that it’s via something along the lines of:
[code]sudo defaults write /Library/Preferences/DirectoryService/SearchNodeConfig “Search Node Custom Path Array” -array “/Active Directory/domain.net.example.edu” “/Active Directory/All Domains”[/code]
this gets added, but viewing via Directory Utility doesn’t display both as if they were added via the gui.
thanks,
chris
Comments are closed