svennd
Cadet
- Joined
- Nov 29, 2021
- Messages
- 5
Hey,
So I connected my TrueNAS with AD, and created some SMB shares. This worked out-of-the-box ! I was amazed, now however I would like to also setup NFS shares. The server that mounts the NFS share is also part of the same AD, although connected through SSSD. When I mount the NFS, the server doesn't resolve the user id and group ID.
I'm assuming this has something to do with user mapping / group mapping that is different on both devices. Now I wonder how I can fix this ? (Both are test setups, so I can play with them) Also the NFS share is basically 777 but i'm not to worried about that yet, i first want to get user/group id's resolved correctly.
I found that i can edit the idmap in the webinterface /ui/directoryservice/idmap so I assume there must be a way to get those numbers correctly from the sssd server ?
Thanks!
So I connected my TrueNAS with AD, and created some SMB shares. This worked out-of-the-box ! I was amazed, now however I would like to also setup NFS shares. The server that mounts the NFS share is also part of the same AD, although connected through SSSD. When I mount the NFS, the server doesn't resolve the user id and group ID.
Code:
root@server:/mnt# ls -l total 2 drwxrwxrwx 2 100172585 100028848 2 Dec 1 10:26 dir drwxrwxrwx 2 100028848 100028848 2 Nov 30 12:05 study_123 -rwxrwxrwx 1 100028848 100028848 0 Nov 30 12:07 test drwxrwxrwx 2 nobody 100028848 2 Dec 1 10:27 test_123
I'm assuming this has something to do with user mapping / group mapping that is different on both devices. Now I wonder how I can fix this ? (Both are test setups, so I can play with them) Also the NFS share is basically 777 but i'm not to worried about that yet, i first want to get user/group id's resolved correctly.
I found that i can edit the idmap in the webinterface /ui/directoryservice/idmap so I assume there must be a way to get those numbers correctly from the sssd server ?
Thanks!