/etc/auto_direct File

Use the /etc/auto_direct file to automatically mount an SMB share when a user accesses the mount point. To use the automount feature, you must store a persistent password for authentication to mount the share. See Storing SMB Persistent Passwords.

For instructions and examples, see How to Add an Automounter Entry for an SMB Share.