Home Forums OS X Server and Client Discussion Questions and Answers Add DHCP-supplied LDAP servers to automatic search policies

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #375469
    simen
    Participant

    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 🙂

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed