Amendment to the post, we have got around the OD Bind by pushing the built in Casper Directory bind,
however prior to that running we need to remove and old OD bind that is failing and greyed out in Directory service.
We have been able to do this via ARD using the following script:
dsconfigldap -f -r odmaster.stleos.nsw.edu.au -u diradmin -p "password"
dscl /Search -delete / CSPSearchPath /LDAPv3/odmaster.stleos.nsw.edu.au
this is failing.
The event log reads:
/usr/sbin/jamf is version 8.31
Executing Policy Run Script remove OD.sh...
Downloading http://casperserv.stleos.nsw.edu.au:80/CasperShare/Scripts//Re-Bind ODmaster.sh...
Running Script Re-Bind ODmaster.sh...
Script Exit Code:2
Script Result: /private/tmp/Re-Bind ODmaster.sh: line 1: {rtf1ansiansicpg1252cocoartf1138cocoasubrtf320: command not found
/private/tmp/Re-Bind ODmaster.sh: line 2: syntax error near unexpected token `}'
/private/tmp/Re-Bind ODmaster.sh: line 2: `{fonttblf0fswissfcharset0 Helvetica;}'
Downloading http://casperserv.stleos.nsw.edu.au:80/CasperShare/Scripts//remove OD.sh...
Running Script remove OD.sh...
Script Exit Code:2
Script Result: /private/tmp/remove OD.sh: line 1: {rtf1ansiansicpg1252cocoartf1138cocoasubrtf320: command not found
/private/tmp/remove OD.sh: line 2: syntax error near unexpected token `}'
/private/tmp/remove OD.sh: line 2: `{fonttblf0fswissfcharset0 Helvetica;}'
Any help much appreciated.
Thanks
Paul