Posted on 04-09-2018 12:07 AM
Is it possible to make a simple network drive mapping script on a mac ?. The script that I need should be on windows like Net use J: servershare
I have found some scripts for mac, where username and password also are included. But this should be avoided. If mac are Ad joined is username and password needed to mount a smb share ?
Posted on 04-09-2018 12:48 AM
We use this extremely useful script
Posted on 04-09-2018 02:23 AM
Why don't you use the Login Items payload in a configuration profile? One of the login items you can use is a network mount. If your Macs are joined to AD, the shares should mount without asking for a user name and password so long that a Kerberos ticket has been granted to the Mac. The network mount would be something like smb://server.domain.com/share, or smb://server/share. I prefer to use the fully qualified domain name of servers instead of just the Net Bios name.