Posted on 02-05-2013 06:29 AM
I noticed a machine this morning having an issue mounting our distribution point. I remoted in and triggered the policy that was supposed to run with the verbose flag and I'm getting the following error.
verbose: Result of mount attempt: mount_afp: AFPMountURL returned error 13, errno is 13 - The operation couldn’t be completed. (com.jamfsoftware.core.errors error 13.)
verbose: Result code of mount attempt: 13
Error: Could not mount a distribution point.
Any ideas?
Thanks
Allen
Posted on 02-05-2013 06:39 AM
Can you reboot the box having problems? That's usually an effective fix when it comes to problems mounting network shares.
Posted on 02-05-2013 06:53 AM
Not right now, but I'll reach out to the user and see if he can.
Thanks
Allen
Posted on 02-05-2013 07:02 AM
Reboot did not work.
Posted on 02-05-2013 07:28 AM
Can you run the following command and let us know what it reports?
sudo defaults read /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams
Posted on 02-05-2013 07:30 AM
Can you manually mount that share using one of the accounts listed in the JSS>>Settings>>Servers>>Edit the Problem DP>>File Sharing Tab? If you are unable to mount it manually the best thing to do is reset the passwords for both of those accounts and then re-enter them in the JSS.
Thanks,
Joel
Posted on 02-05-2013 08:00 AM
@franton here is what I see when I look at com.apple.AppleShareClient.plist on that machine.
/usr/libexec/PlistBuddy -c Print /Library/Preferences/com.apple.AppleShareClient.plist
Dict {
afp_disabled_uams = Array {
DHX2
}
}
Posted on 02-05-2013 09:33 AM
Hrm. It could be that you need to enable more authentication methods on your client macs.
See if this kb helps you. http://support.apple.com/kb/HT4700
Posted on 02-05-2013 09:41 AM
Was it working before? Is there any other shares hosted on your Distribution Point server?
Posted on 02-05-2013 10:55 AM
I've only seen this happen on a handful of machines and we have over 2000 macs
Posted on 02-05-2013 11:59 AM
@Joel.Peasley I tried manually mounting the share from the command line on the machine that is failing. I get this error, mount_afp: AFPMountURL returned error 13, errno is 13.
I'm able to successfully mount the share from my machine.
Posted on 02-06-2013 08:30 AM
Looks like it was that com.apple.AppleShareClient.plist file after all. Once I moved it out, the machine was able to mount the distribution point. Thanks.
Posted on 02-06-2013 09:17 AM
Yeah that file controls which authentication methods are allowed to be used. 10.8 by default restricts this to DHX2. In the tech note I linked, it's possible to reprogram it to allow more. Comes in handy for dealing with Novell AFP which is still stuck at v.2 level of AFP.