Hi,
Am attempting to add an LDAP Bind to the First Boot package at http://www.osxdeployment.info/wiki/Firstboot_Package_Guide by adding as a package in InstaDMG
By adding in the firstboot.sh script:
[code]#! /bin/sh
###
# First Boot script that is used along with a launchd item. Delets both itself and the launchd item after completion.
###
#Bind in
defaults write “/Library/Preferences/DirectoryService/DirectoryService” “LDAPv3” “Active”
dsconfigldap -a server.geestar.com -u diradmin -p password#
dscl /Search -create / SearchPolicy CSPSearchPath
dscl /Search/Contacts -create / SearchPolicy CSPSearchPath
dscl /Search -append / CSPSearchPath /LDAPv3/server.geestar.com
dscl /Search/Contacts -append / CSPSearchPath /LDAPv3/server.geestar.com
killall DirectoryService[/code]
But it doesn’t bind, all the other parts of firstboot.sh are OK.
If I send the commands via ARD to the newly imaged computer it binds or if I install an empty package with just the commands as a postflight it works.
Is there something I am missing??
I have put the Firstboot package in the base catalog
Comments are closed