You can use Data ONTAP home directory functionality to create users' home directories on the CIFS server and automatically offer each user a dynamic share to their home directory without creating an individual SMB share for each user.
How clustered Data ONTAP enables dynamic home directories
Clustered Data ONTAP home directories enable you to configure an SMB share that maps to different directories based on the user that connects to it and a set of variables. Instead of having to create separate shares for each user, you can configure a single share with a few home directory parameters to define a user's relationship between an entry point (the share) and their home directory (a directory on the Storage Virtual Machine (SVM)).
Adding a home directory share
If you want to use the SMB home directory feature, you must add at least one share with the home directory property included in the share properties.
Configuring home directories using the %u variable
You can create a home directory configuration where you designate the share name using the %w variable but you use the %u variable to designate the relative path to the home directory share. Users can then connect to their home share using dynamically shares created using their Windows user name without being aware of the actual name or path of the home directory.
Additional home directory configurations
You can create additional home directory configurations using the %w, %d, and %u variables, which enables you to customize the home directory configuration to meet your needs.
Commands for managing search paths
There are specific Data ONTAP commands for managing search paths for CIFS home directory configurations. For example, there are commands for adding, removing, and displaying information about search paths. There is also a command for changing the search path order.
Managing accessibility to users' home directories
By default, a user's home directory can be accessed only by that user and by Windows administrators. For shares where the dynamic name of the share is preceded with a tilde (~), you can enable or disable access to users' home directories by Windows administrators or by any other user (public access).