Script for creating datasets for each user imported from an active directory

Status
Not open for further replies.

Hamza

Cadet
Joined
Jun 5, 2015
Messages
8
Hi,
Like it was mentioned in the thread's title, I want to create datasets for a bunch of users that I'll import from LDAP, I want also to change permissions and quota for each dataset.
I've tried to create a pool and a dataset right from the shell but it doesn't seem to work. Any suggestion on how I should proceed or how could I use freeNAS without the GUI?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You can use any language you want or even a shell scripting language like sh or bash. Pick what your confident using but at the same time python will be easy to work with.
 

Hamza

Cadet
Joined
Jun 5, 2015
Messages
8
You can use any language you want or even a shell scripting language like sh or bash. Pick what your confident using but at the same time python will be easy to work with.
Thank you! I will try to use Python.
 
Status
Not open for further replies.
Top