I would recommend yo uto use the "homedir" functionality of the NetApp System. It is very well explained in the File Access and Protocols Management Guide.
A short copy/paste:
You can specify multiple home directory paths. Data ONTAP stops searching when it finds the matching directory.
You can add an extension to the home directory path if you do not want users to access the top level of their home directories. The extension specifies a subdirectory that is automatically opened when users access their home directories.
You can specify home directory paths by editing the /etc/cifs_homedir.cfg file. You can specify up to 1,000 path names in the /etc/cifs_homedir.cfg file.
Data ONTAP creates a default cifs_homedir.cfg file in the /etc directory when CIFS starts, if the file does not already exist. Changes to this file are processed automatically whenever CIFS starts. You can also process changes to this file by using the cifs homedir load command.
Steps
- Create directories to use as home directory paths. For example, in the /vol/vol0 volume, create a directory named enghome.
- Open the /etc/cifs_homedir.cfg file for editing.
- Enter the home directory path names created in Step 1 in the /etc/cifs_homedir.cfg file, one entry per line, to designate them as the paths where Data ONTAP searches for user home directories. Note: You can enter up to 1,000 path names.
- Enter the following command to process the entries: cifs homedir load [-f] The -f option forces the use of new paths.