Hi,
Been having some issues with OSX mounting some SMB shares from Windows Server 2008 R2.
My Macs are joined to the domain and my users login using their network accounts. Problem is the login script I use to mount shares is no longer working with 2008 R2 shares although it continues to work flawlessly with Server 2003 shares. I don't use Apples loginhook as all commands are run as root and I require them to be run as the logged in user so instead I have configured automator to run a custom script on login.
The command:
mount_smbfs //servername/sharename mountpath
works with Server 2003 by using the domain account of the currently logged in user for authentication.
However when the same script is run to connect to the shares on a 2008 R2 server it returns an authentication error.
I can manually connect to the shares on 2008 R2 by using the command:
mount_smbfs //$USER:servername/sharename mountpath
where it then prompts for a password and connects but it is not a solution for a script that is required to run in the background without user intervention.
(would also note that using mount -t smbfs makes no difference)
Has anyone here been successful in getting OSX.6 to connect to 2008 R2 shares where the user is authenticated as the currently logged in account and could give me some tips.