Posted on 05-06-2016 12:28 PM
We currently upgrading users from Yosemite to El Capitan and we need to check each user for the "Use UNC path from Active Directory to derive network home location" setting before proceeding, I have created a simple extension attribute which will show the status of the setting under General tab for each machine in JSS as: AD UNC Path Check: Use Windows UNC path for home = Disabled
Posted on 01-08-2019 06:26 AM
@shurkin18 Do you still have this extension attribute? Your link no longer works, but I could actually really use this.
Posted on 01-08-2019 06:43 AM
@john.sherrod , definitely. Sorry, I am currently out of country, and don't have access to my work computer, but will be back in 4-5 days and can share the extension attribute.
Posted on 01-08-2019 07:14 AM
@shurkin18 Thanks!
Posted on 01-08-2019 08:27 AM
@shurkin18 I started messing around with this and came up with this:
#!/bin/bash
if dsconfigad -show | grep -q 'Use Windows UNC path for home = Disabled'
then
echo "<result>Disabled</result>"
else
echo "<result>Enabled</result>"
fi
I don't know if that's the best way to format it, but it seems to work.
Posted on 01-14-2019 08:13 AM
@john.sherrod , that's a way to do it. Here is how we got it setup here:
#!/bin/sh
ad_specs_uncset=`dsconfigad -show | grep "Use Windows UNC path for home"`
echo "<result>$ad_specs_uncset</result>"