Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

macOS Sierra always prompts for credentials for network drives

Reposting because my original post was incorrectly marked as 'Solved'


At home we have several Macs that mount, on login, some SMB network drives from various servers (OS X Server and Synology NAS). The credentials (username and password) for the network drives are stored in the user's keychain by way of the 'remember this password in my keychain' option the very first time the drives was ever mounted. As a result a command like 'mount' command successfully mounts the drives without the user needing to interact with an authentication dialogue. This has been working just fine for the longest time an all the way up through OS X 10.11.6.


In Sierra, any attempt to mount a network drive always pops up the authentication dialogue. The password may be prefilled (presumably from the keychain) but the user still has to respond to the dialogue by clicking OK. This is a huge problem for me as it breaks loads of automation scripts that I have that rely on using 'mount' (the problem is not specific to mount however; the same issue occurs if you use something like Finder's 'Connect to Server' command).


I've tried deleting all the 'network password' keychain entries so that they get re-creqted (they do) but the problem behaviour still occurs.

MacBook Pro with Retina display, OS X El Capitan (10.11.5)

Posted on Oct 12, 2016 7:03 AM

Reply
54 replies

Dec 18, 2016 2:37 PM in response to timothylance

Are trying to auto mount upon startup or does this behavior persist with 10.12.2 when your try to manually mount a network drive where the password is already stored in Keychain? I misspoke in my previous post when I said "auto mount"; I meant manually mounting a disk.


I have a RAID drive connected to a Time Capsule on my home network and I routinely access it to store/retrieve files. With 10.12 and 10.12.1, I had the issue described in this thread. After upgrading to 10.12.2, the usual behavior found on all previous releases of OS X (i.e., click on the disk in Finder sidebar and it would mount without entering a password, assuming you stored it in Keychain the first time you tried to mount the disk) returned. This is true with both my 2012 Mac mini server and 2015 MBPr.


If this is not the case for you, perhaps Keychain is corrupted and you could try clearing the related passwords and starting over. If you're auto mounting a drive, I'm not sure what to say since I am not configured that way. Perhaps another poster can offer advice.

Dec 18, 2016 4:30 PM in response to timothylance

it seems that there are some instances of persistent issues with this even after updating to 10.12.2.


i still have not upgraded from el capitan, and i'm not sure i will if there is a chance this issue will resurface with my installation.


would rather not deal with it again and then restoring from a disk image to get back to el capitan for a second time.

Dec 18, 2016 7:20 PM in response to timothylance

Well, that's an interesting support document. The Apple support link I included in an earlier post didn't give this information but it wasn't directed at administrators.


In any case, Apple makes it sound like the default case is for the security feature to be active but that is not what I saw when I upgraded my two Macs. In fact, just the opposite. And I never ran the Terminal command given in the link. I could connect as always once the password had been saved.

Dec 28, 2016 9:42 AM in response to ChrisJenkins

A well thought out extended post of mine was deleted by the Apple team and thanks for those that responded to me personally after reading it. I won't take the time to do that again but just to update my situation, mine now logs in correctly but it still opens every share I have set to run at login and I do have the hide box checked. I'm not a super experienced Mac user so maybe I am missing something.

Dec 28, 2016 11:46 AM in response to Bama350Z

i directed a response towards your previous deleted post and it was responded to by someone else ....


anyway .....


i observe the same behavior as you when i do not use 3rd party apps to auto mount my shares.


either it is a bug or intended to work that way. i think its a bug because the hide switch is not hiding the finder windows of the shares.

macOS Sierra always prompts for credentials for network drives

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.