Trying to configure idmap_autorid in Directory Services -> Active Directory -> Edit IDMAP. Cleared out dbs in /var/db/system/samba4. Set it to use 10m-20m with 100k ranges then joined successfully but `getent passwd` is showing UIDs in 90m+ range.
Being very confused I poked about, and find that in the SMB service web interface, there are "Range Low" and "Range High" settings there which seem to be resulting in the following in `/etc/local/smb4.conf`:
The web interface won't let me remove Range Low/High, so how can I prevent that tdb configuration from squashing the autorid config? This feels like a bug to me.
Edit: I should add, it won't let me set them to the same range either. Says they conflict.
Being very confused I poked about, and find that in the SMB service web interface, there are "Range Low" and "Range High" settings there which seem to be resulting in the following in `/etc/local/smb4.conf`:
Code:
idmap config * : backend = autorid idmap config * : range = 10000000-19999999 idmap config * : rangesize = 100000 idmap config *: backend = tdb idmap config *: range = 90000001-100000000
The web interface won't let me remove Range Low/High, so how can I prevent that tdb configuration from squashing the autorid config? This feels like a bug to me.
Edit: I should add, it won't let me set them to the same range either. Says they conflict.
Code:
# uname -a FreeBSD nas 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 #0 r325575+8ed1cd24b60(HEAD): Mon Jan 27 18:07:23 UTC 2020 root@tnbuild02.tn.ixsystems.com:/freenas-releng/freenas/_BE/objs/freenas-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64