getfacl show only group id instead of name in iocage

Status
Not open for further replies.

nekopep

Dabbler
Joined
Oct 18, 2017
Messages
10
Hello,

I want to develop a python to script to handle my ACL on a ZFS set.
The freenas system is connected to an AD and so far on freenas setting ACL via getfacl and setfacl was OK.
I could specifiy the domain user full name and freenas was able to match the domain to user to the ACL.

Now I want to automate a little this and wanted to create a python script and handle the ACL throught pylibacl.
As I read it correctly I need to create an iocage.

I did it and added this to share my ZFS set:
iocage fstab -a admin_scritps /mnt/pool0/data/ /mnt/pool0/data nullfs rw 0 0

I managed to install python and the needed libraries, but when it came to use ACL I just seen that the iocage could not match user id :/
root@admin_scritps:~ # getfacl /mnt/pool0/data/Admin/
# file: /mnt/pool0/data/Admin/
# owner: 20500
# group: wheel
group:22630:rwxpDdaARWc---:fd-----:allow
group:22661:rwxpDdaARWc---:fd-----:allow
group:22666:rwxpDdaARWc---:fd-----:allow
owner@:rwxpDdaARWcCos:fd-----:allow
group@:r-x---a-R-c--s:-------:allow

My user are seen as 22630 instead of user.name.
Is there a way to make the iocage see the users ID :/ ???
Is there a simple way to make the iocage get conciousness of the AD id from the Freenas server? Or shoudl I need to install something related to wbinfo?

Thanks for any directions!
 
Status
Not open for further replies.
Top