Hi guys,
I've been using autorid on my other Linux installs for quite some time with SSSD. When I attempt to use autorid with FreeNAS though, it completely ignores the idmap and defers to the idmap used for the SMB shares. An example of that would be as follows:
Now this should mean that user
I've tried a variety of things but nothing actually works. Why is it autorid does NOT function correctly? To be clear, rid works fine this is specific to autorid. If you are wondering why I would want autorid instead of rid that would be because autorid does not create a
I've been using autorid on my other Linux installs for quite some time with SSSD. When I attempt to use autorid with FreeNAS though, it completely ignores the idmap and defers to the idmap used for the SMB shares. An example of that would be as follows:
idmap config mydomain: ignore builtin = yes
idmap config mydomain: read only = no
idmap config mydomain: rangesize = 20000
idmap config mydomain: range = 20000-80000000
idmap config mydomain: backend = autorid
idmap config *: range = 80000001-90000000
idmap config * : backend = tdb
Now this should mean that user
elegant
gets assigned an uid
within the range for mydomain
but it doesn't. Instead it gets assigned a uid
within the range of *
: id elegant
uid=80000001(elegant) gid=80000005(domain users)
I've tried a variety of things but nothing actually works. Why is it autorid does NOT function correctly? To be clear, rid works fine this is specific to autorid. If you are wondering why I would want autorid instead of rid that would be because autorid does not create a
gid
for every uid
. Having a gid
for every uid
causes confusion with some permissions as it (more often than not) will grab the gid
and assign it as a ACE when that gid
does not truly exist.
Last edited: