AFP548

Add DHCP-supplied LDAP servers to automatic search policies

Hello! I use Apple NetInstall with a 10.5.6 retail install CD. Which means that my system actually installs Mac OS X through packages onto the netbooting machine. And I wanted to make a package that could tick "Add DHCP-supplied LDAP servers to automatic search policies" on... I've tried this script: [code]#!/bin/bash currentSetUUID=`defaults read /Library/Preferences/SystemConfiguration/preferences CurrentSet` defaults write /Library/Preferences/DirectoryService/ContactsNodeConfig "DHCP LDAP" -dict-add $currentSetUUID -bool true defaults write /Library/Preferences/DirectoryService/SearchNodeConfig.plist "DHCP LDAP" -dict-add $currentSetUUID -bool true[/code] But my users can't login from the login-screen then. That only seems to work when I tick it manually. And I want this information to be transfered over DHCP :)
Exit mobile version