Currently Being ModeratedJan 8, 2013 7:10 PM (in response to Delarado)
I found this while looking into a different issue but what you're trying to do should be easy.
smbutil view //user@server should ask for the authentication and then show you the available shares.
Logs are in /var/log as on most (all?) UNIX variants.
Can you access the shares any other way?
Currently Being ModeratedJan 9, 2013 4:28 AM (in response to Delarado)
This doesn't solve your issue - but I have no problem connecting to Win 7 SMB shares on my MBP from Finder.
It seems to me that you have an authentication issue of some kind - possibly a firewall setting on your Mac (? long shot).
Currently Being ModeratedJan 21, 2013 4:10 AM (in response to Delarado)
Thanks for the replies guys. I do not have a firewall enabled. I have some developments (Slight)
I have an SMB share on a windows machine. If I CMD+K and just do SMB://IP.Address then it ask me for credentials.
If I put in completely wrong credentials, the box just shakes when I hit OK.
If I put in correct credentials, it shows me a list of available shares (to that particular user) and then when I click the one I want and hit OK I get a popup "You do not have permission to access this server"
So its obviously taking the login in some way or another, just failing at another part.
I've looked in /var/log and the only log I can see that has anything relevant is system.log (Admittedly I didnt check them all as there are a lot)
I get the below message after a failed attempt to access an SMB share:
Jan 21 12:04:51 Carls-MacBook-Air.local NetAuthSysAgent: NAHSelectionAcquireCredential The operation couldn’t be completed. (com.apple.NetworkAuthenticationHelper error -1765328228 - acquire_kerberos failed carlnewton@EUDC1PCUBAC: -1765328228 - unable to reach any KDC in realm EUDC1PCUBAC)
EUDC1PCUBAC is the name of the computer that I am trying to access the SMB share on. carlnewton is the name of the user account on that machine that I am trying to use to access the share.
I'm going to start googling this error now but if anyone else has seen it before then input would be appreciated!
Currently Being ModeratedJan 21, 2013 4:11 AM (in response to Delarado)
Paul, accessing SMB shares works if I do it through the command line.
Just doing it through the GUI wont work; ever! Even to the same share using the same user account. No matter what I input. Its all described in the original post.
Currently Being ModeratedMay 21, 2013 5:01 AM (in response to Delarado)
Interestingly, I've just found that I also cannot access FTP Shares.
If I click on an FTP Link (E.g ftp://ftp.company.com) and then put in a username and password to authenticate, I get the same "You do not have permission to access this server" message.
If i use the terminal FTP with the exact same credentials I can access it fine.
Currently Being ModeratedMay 21, 2013 5:33 AM (in response to Delarado)
You legend! Thank you so much. Seems to be working ok now, I have sucessfully accessed two SMB shares I could not access before using the GUI, and the FTP now works great too.
Such a simple fix for a problem I've had forever!