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

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.


Anyone know if this is a bug or by design?

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

Posted on Sep 24, 2016 10:34 AM

Reply
107 replies

Sep 30, 2016 11:09 AM in response to RogueChristian

if/when Apple fixes this - i would also ask that they fix the issue within login items, where i check to make an app hidden during startup.


because when i add the shares to login items, after they mount at login - finder windows showing the contents of the shares appear on the desktop.


in this way, i can finally stop using a 3rd party app to automount my shares when i login to macOS.

Oct 1, 2016 5:54 AM in response to ChrisJenkins

Just asked Apple Support about this exact issue. Heres what I was told.


I'm experiencing the same issue across 5 Macs on Sierra

I know there’s a lot of new backend security features that have been added in macOS Sierra. So I understand you properly, you have shared computers on your network. Previously you could access said devices without having to input any information. Now, when you try it, it prompts for login information. Is that correct?

Yes, even when I have saved credentials

Thought so! That is actually working as intended, Thomas. I would recommend providing some feedback per http://www.apple.com/feedback/(Opens in new window)(Opens in new window)(Opens in new window)

Really? Thats really backwards

I’m double checking right now, but I do believe that’s the case. Just a moment. 🙂

Yeah, I think that’s going to be standard functionality now. I do not see any options on enabling the auto connect without the credentials being requested. I’d say our best bet right now is to push some feedback to our engineers and let hem know it’s a feature much requested to return.


Looks like its here to stay guys 😢

Oct 1, 2016 5:55 AM in response to Thomas-M

Well, that's terrible. Not only has this totally broken a huge swatch of automation that I have in my home network across 5 different Macs but it has also broken a number of 3rd party apps such as Drive Mounter and m3 Drive Mounter.


Since this change does not add one iota of increased security I cannot imagine what Apple are thinking of. Sheesh.

Oct 2, 2016 6:38 AM in response to bcrsr

i second you on this ....


it is a concern, not just a nuance. because those ppl (like me) who use any NAS to store data which is accessed by apple applictions such as itunes, etc. will have issues frequently.


i noticed that my itunes re-instated the media folder location where my library data is - probably because the NAS was not available (do to this mounting issue) when itunes was opened.


i am really disliking Sierra because of this and i did take an image snapshot of my system with Clonezilla a few days prior to upgrading to Sierra.


if apple does not fix this soon, i'm going back to the image i took (el capitan), where this problem does not exist.

Oct 2, 2016 8:25 AM in response to zero7404

I agree. It is far more than just a nuisance. it has forced me to make major modifications to my client setup on 5 Macs and to adopt a (much) less secure mechanism for auto mounting the required network shares on login. This is major step backwards in terms of both usability and security. I cannot imagine what Apple are thinking of here to be honest. Surely this must just be a bug and not some grand plan to alienate a large section of the Mac community...

Oct 2, 2016 3:41 PM in response to ChrisJenkins

I've noticed this too. I have 3 Macs (and a few Windows PCs) in the house all running backups to a NAS as a secondary backup option to TimeMachine. My NAS backup runs (or used to) continuously, whereas TimeMachine is only when an external drive is connected. This change has for now at least reduced the reliability of the backup arrangements for the Macs (2 of which are now on Sierra). I know I can buy a Time Capsule and achieve the same thing, but that doesn't help with other non-Mac PCs. If this isn't fixed, I'll need to remove the access restrictions on the shared folder - this doesn't seem like a step forward in security...

Oct 4, 2016 1:02 AM in response to ChrisJenkins

ChrisJenkins wrote:


2. SMB shares hosted on a Synology NAS mounted via Finder/Applescript 'mount' do not mount correctly. They *always* mount as '/Volumes/sharename-1' instead of '/Volumes/sharename' and there is a bogus '/Volumes/sharename' mountpoint created but not used (which then has to be cleaned up manually).




Could you please tell me how to manually clean up the fake mountpoints?


Thanks in advance.

Oct 4, 2016 1:07 AM in response to RolandGosebruch

In my experience so far the bad mountpoints are owned by root. So if you have a bad mount point of /Volumes/SomeShare then you can remove it using the following from a Terminal session:


sudo rmdir /Volumes/SomeShare


FYI, I have updated to the latest Sierra beta (10.12.1 build 16B2338c - beta 3) and I no longer see this particular problem.

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.