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

SMB *Connection Failed* Before Prompt to Enter Credentials

I am having a problem connecting to Windows shares via SMB on my MBP. It works fine from all accounts on the MBP - network accounts (it's bound to AD) and local accounts, except for the primary local user account I use. I do not have the firewall turned on. It worked up until about a month ago, though I used to get some message from the system wanting Keychain Access every time I tried to connect, and I had to say "no" otherwise it would give me a connection failed error (I never got/get this message from other accounts on the machine). Now I don't get this message asking me for Keychain Access from my primary account. I wish I could remember what the message was, as I suspect it may have something to do with this issue, but I can't.

Anyway, I've tried the following:
smb://domain;username@winserver01/share
smb://winserver01/share

And then get the following:
Connecting to Server
Connecting to smb://winserver01/share

*Connection Failed*
You do not have permission to access the server "winserver01".

When I try without domain/username in the Server Address field I don't even get prompted to put them in. If I put in smb://winserver01 I get prompted to mount a volume, but then get the permissions error before getting prompted to enter in credentials.

I've tried repair permissions on my Mac. I've tried Keychain First Aid. I've verified the disk on my Mac.

Any ideas?

15" i7 Macbook Pro, Mac OS X (10.6.4)

Posted on Oct 20, 2010 9:00 AM

Reply
6 replies

Oct 21, 2010 11:58 AM in response to Kevin Smith4

I found that running the following via the command line worked:

mkdir /smb
mkdir /smb/public
mount -t smbfs //username:password@winserver01/share

...that is, it worked once, until I unmounted the drive via the Finder. Now when I try to mount the share using the same command I get mount_smbfs: mount error: /smb/public: Permission denied.

Permissions on /smb/public/ are:
drwxr-xr-x 2 username admin

Note that the local user account I'm using "username" is a member of the local admin group.

I tried creating a subdirectory, /smb/public/mountpoint/, and another directory /smb/public2/, but I get the same Permission denied message on both of these.

I also tried another server/share I've been having problems accessing but get the same errors.

I'd love to figure this out. Any ideas?

Oct 21, 2010 12:46 PM in response to Kevin Smith4

I found that if I include my password in the Server Address field in the Finder's Connect to Server dialog I can successfully mount the share, unmount the share and mount the share again. I tried it on the other share I was having an issue with too and it worked as well. It looks like:
smb://domain;username:password@winserver01/share
smb://domain;username:password@winserver02/path_to/share

It seems like something somewhere is corrupt. Any ideas?

Anyway, at least I now have a workaround.

Message was edited by: Kevin Smith4

Oct 22, 2010 3:00 AM in response to Kevin Smith4

It seems that I've a similar issue.
I can browse a samba(3.2.5) share with smbclient without any problems.
But with the Finder's Connect to Server dialog it doesn't work anymore.
I tried the same with another samba server (3.0.x) and it works ?!?
The problems exists only with the newer one and I think since the last
mac os security update.

When I use Finder's dialog I got the follwing message in my system.log:
/System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthAgent[5429]: smb_mount: mount failed to servername.de/sharename : syserr = Broken pipe

With mount -t smbfs ....
I got this: mount_smbfs: mount error: /path: Broken pipe

When I mount the share as superuser it works:
sudo mount -t smbfs ....

And again: with Samba 3.0.x everthing is fine.

SMB *Connection Failed* Before Prompt to Enter Credentials

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