smb Automount issue in Sierra and above

msathees
New Contributor

Guys,
I am having issue while auto mounting the smb network drive in Sierra and high sierra machines. we usually use a script for mounting the drive for the logged in user and here no user interaction should be required. somehow its not working for sierra and high sierra machines. when I run the script it asks for user password to mount the drive.
Anyone has found a solution for this to make this transparent (without user interaction).
All suggestions will be much appreciated.
Thanks.

3 REPLIES 3

ilja_glu
New Contributor
mount_smbf //username:password@0.0.0.0/What_you_need_to_mount /Destination

just import random username and password who has access to this share folder, and use ip of your smb network

jbutler47
Contributor II

Might also be:

mount_smbfs .......
or
mount -t smbfs

or

/sbin/mount_smbfs
or
/sbin/mount -t smbfs

Might need sudo, depends on need.

prl
Contributor

These should help.

https://superuser.com/questions/1277259/smb-fileshare-mount-in-osx?noredirect=1&lq=1

https://superuser.com/questions/1269386/why-cant-i-mount-shares-by-smb-since-high-sierra?noredirect=1&lq=1

https://support.apple.com/en-us/HT207112

https://itunes.apple.com/gb/app/automounter/id1160435653?mt=12

https://forums.plex.tv/t/how-to-fix-auto-mounting-shares-broken-in-sierra-macos/162501