Skip to main content
Question

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

  • February 4, 2015
  • 1 reply
  • 0 views

MattT
Forum|alt.badge.img+12

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

Forum|alt.badge.img+18
  • Valued Contributor
  • 1811 replies
  • February 4, 2015

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings