Access Denied Message When Accessing a Server

If you get an Access Denied error when attempting to access or view SMB shares from a server, the password you supplied might be wrong or the SMB server might be part of a different domain.

If the SMB server and SMB client are in different domains, you must provide the domain name for the smbadm show-shares or mount command. Otherwise, the server assumes that you are attempting to authenticate a local user, and the authentication process fails.

For example, if the server solarsystem is in the mydomain domain, the following commands would be appropriate to view and access SMB shares as user auser:

$ smbadm show-shares -u "auser@mydomain" solarsystem
$ mount -F smbfs -o user=auser,domain=mydomain //solarsystem/tmp /mnt