Hey Everyone,
I have an existing file structure where the each of my users have a folder matching their Active Directory Alias. The folders are 3 folder into our file server.
Example:
SMB://Server/UserFolders/UserAlias
- UserAlias would be the currently logged in user.
Here's what I need:
When a user logs in, their personal folder is automatically mapped.
The script or policy needs to be able to deploy to multiple people.
The script also needs to identify the current user's alias and map that folder by name
In my windows environment I use this as a bat login script:
Net Use Y: "serveruser drives%username%" /persistent:yes
The %username% will auto fill in the currently logged in user.
On my mac I try to "Connect to server" and use use the $USER and $WHOAMI but it errors out saying it cannot find the folder.
Some other details about my environment are below:
- We run Windows 2012 r2
- All computers in question have 10.10.3
- We have FireVault2 enabled
- All computers are joined to the domain
Can anyone help me?
Thanks!
- Jason
