Machine not binding to OD properly


hi guys trying run script remove machines old od server , join onto new od.
have machine in test group welcome message old od

script runs fine no errors @ all. when log out still showing old od welcome message , not new one. appears have joined without issue. there no error messages on new od connection , light green.

code wrote
code:
#!/bin/sh  #this script binds machine od    #unbind existing od  /usr/sbin/dsconfigldap -r itsdms062.cs.adelaide.edu.au  sleep 5    #join machine onto new od master  /usr/sbin/dsconfigldap -v -f -a 10.32.16.172 -n 10.32.16.172 -u diradmin -p password -l pcadmin -q password  dscl /search -create / searchpolicy cspsearchpath  dscl /search -append / cspsearchpath /ldapv3/10.32.16.172  dscl /search -append / cspsearchpath "/active directory/all domains"    sleep 10  dscl /search/contacts -create / searchpolicy cspsearchpath  dscl /search/contacts -append / cspsearchpath /ldapv3/10.32.16.172  dscl /search/contacts -append / cspsearchpath "/active directory/all domains"
i guessing there record not updating. tips?
these machines running 10.6.8
 



Forums Macs macOS macOS


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Mac OS X Server as File Server for 50/50 Mac & PC Workgroup

Permissions Problem?

iPhone won't sync with iTunes