Skip to main content
Question

Mac - network share mapping script


Forum|alt.badge.img+9

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 ?

2 replies

mark_mahabir
Forum|alt.badge.img+15
  • Jamf Heroes
  • 331 replies
  • April 9, 2018

We use this extremely useful script


howie_isaacks
Forum|alt.badge.img+23
  • Esteemed Contributor
  • 772 replies
  • April 9, 2018

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings