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 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.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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 Account.