[Casper] Open Directory binding

Chad Brewer chad.brewer at bend.k12.or.us
Thu Aug 14 14:32:42 PDT 2008


Here's my script.  We also bind to AD so I have it adding AD to the search
policy ahead of LDAP.

defaults write /Library/Preferences/DirectoryService/DirectoryService
"LDAPv3" "Active"
dsconfigldap -v -a od.server.com -n od.server.com -u username -p password
sleep 10
dscl /Search -create / SearchPolicy CSPSearchPath
killall DirectoryService
sleep 5
dscl /Search -create / SearchPolicy CSPSearchPath
dscl /Search -append / CSPSearchPath "/Active Directory/All Domains"
dscl /Search -append / CSPSearchPath /LDAPv3/od.server.com


NATHANIEL.LINDLEY at spps.org on August 14, 2008 at 2:23 PM -0700 wrote:
>
>Can someone point me in the right direction for pushing/automating Open
>Directory binding with Casper Remote or policy?  I'm thinking it will be
>dscl commands on 10.5, but will that work for 10.4?   
>We need to remove current OD bindings from clients and then create a new
>OD binding on a whole bunch-o-machines. 
>
>Thanks, 
>-Nathaniel 
>
>SPPS_______________________________________________
>Casper mailing list
>Casper at list.jamfsoftware.com
>http://list.jamfsoftware.com/mailman/listinfo/casper


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080814/f754c7cc/attachment.html 


More information about the Casper mailing list