creating a new user using the rest api.

Status
Not open for further replies.

millerdc

Cadet
Joined
May 1, 2015
Messages
6
I have used the python example to create a new user and it works. Is it possible to create a user with the 'bsdusr_creategroup': 'True', for the primary group and also add the user to auxiliary groups at the same time? When I add 'bsdusr_group': 'id', it only adds the user to the bsdusr_group as primary and ignores the bsdusr_creategroup statement.
 
D

dlavigne

Guest
Please create a bug report at bugs.freenas.org and post the issue number here.
 

millerdc

Cadet
Joined
May 1, 2015
Messages
6

millerdc

Cadet
Joined
May 1, 2015
Messages
6
It turns out to add a user to an auxiliary group you use bsdusr_to_group instead of bsdusr_group.
 
Status
Not open for further replies.
Top