ONTAP Discussions
ONTAP Discussions
I'm looking automate the creation of user home directory shares on my OnTap 9.3 cluster. Initially I went down the route of exposing the root of the CIFS volume as users$ (locked down to admins of course) then using a Powershell script to create the user folder then modify the DACL/SACL and ownership. This worked well but I was wondering if there is a API I could leverage within OnTap to do this?
Solved! See The Solution
Hi @shocko
This section of our ONTAP Docs might help you out here - https://docs.netapp.com/us-en/ontap/smb-admin/add-home-directory-share-task.html
It speaks to what options you have for add home directories dynamically and manually.
Hope this helps!
Hi @shocko
This section of our ONTAP Docs might help you out here - https://docs.netapp.com/us-en/ontap/smb-admin/add-home-directory-share-task.html
It speaks to what options you have for add home directories dynamically and manually.
Hope this helps!
Thanks @RossC . I'm not clear though on which config results in the actual creation of a new user share though? It seems to outline how to create the root location and the share search path (~%d~%w for example) but it seems you still have the create the folder for the user underneath.
Hi @shocko
Some of the follow-up articles in the same section might help,
If you're still not sure from a configuration standpoint on how to handle this, please consider reaching out to your local NetApp partner or Sales Team and they can help provide you some advice.