I just tried it using dscl as you indicated, but AD plugin in Directory Setup did not enable, and the Search Path did not switch to “Custom path”.
By writing to the /L/P/DS files directly, I am able to set the search path, and enable the AD DS plugin.
I’m I missing something, or does your drive image have those attributes configured by default?
[QUOTE BY= macshome] Hmm… that seems like a lot of work. We’ve got a naming/binding AppleScript too.
do shell script "sudo dscl /Search -append / CSPSearchPath \"/Active Directory/All Domains\"" with administrator privileges
do shell script "sudo dscl /Search -append / CSPSearchPath /LDAPv3/macxmv2.0998.DOMAIN.com" with administrator privileges
do shell script "sudo dscl /Search/Contacts -append / CSPSearchPath \"/Active Directory/All Domains\"" with administrator privileges
Except for clearing out the kerb files, it just uses dscl for searchpath setup.
This isn’t to say there is anything wrong with how you are doing it! I’ve pushed /L/P/DS around with ARD plenty of times to just copy the files to other workstations.[/QUOTE]
Comments are closed