Disabling 'Use UNC Path' in AD Binding via script - not working properly

MattT
New Contributor III
New Contributor III

Hi there,

Have a small fleet on 2011 MBP's running 10.9.4 bound to Active Directory. We have recently upgraded our SMB fileshares to DFS and wish to disable the 'Use UNC Path' function from AD as it seems to be causing issues logging in.

I am using the following syntax: ```
sudo dsconfigad -useuncpath disable
```

I run this locally on the machine and terminal outputs 'Settings changed successfully' but Directory Utility does not update, even after a restart and the setting remains. Have also tried running this script via Casper as a login/network state change policy but no dice.

Any tips in the right direction would be highly appreciated!

1 REPLY 1

davidacland
Honored Contributor II
Honored Contributor II

This has always worked ok for me, could it possibly be some kind of preference caching issue?

Possibly kill cfprefsd before and after the command to see if it makes a difference.

Also you could check what dsconfigad -show gives you incase the GUI is not up to date.

Not sure if you've tried it on multiple Macs, but the other possibility is just a corrupt local preference file. The DS prefs were well known for that a few versions ago.