I just tested; it does work under a specific share! Now I'm running into one other issue: the GID on FreeNAS doesn't match the GID on Linux, so either I set the group to the AD-linked group and have it work on Windows and not Linux, or I set the GID to the correct one with a fake account on FreeNAS (w/ manually set GID) and it works on Linux and not Windows. Is there any chance this feature request could be implemented?
That's perfect, thanks! I was under the impression they used completely different algorithms.
Unfortunately it seems to not be working. I went to AD -> Edit idmap, set the range low to 1680000000, and set the range high to 9999999999. Despite this, `getent group db_admins` still returns `db_admins:x:21267`. Any ideas? Thanks a ton for your help.
Edit: Disable FreeNAS cache is on, and UNIX extensions are off.
Sorry for taking so long to get back; I only work at this job Mondays and Fridays. So I followed your advice and set the high to 2,000,000,000 and flushed the cache, and now I'm getting db_admins:x:90000008. That shouldn't be possible, as the range min is 1,680,000,000. Any ideas what's going on? Flushed the cache again (and by flushing the cache I mean running the 4 commands you provided) doesn't fix it.
UID 90000001 is in the range for the default idmap backend for winbind. It sounds like your idmap settings are misconfigured (or this is a trusted domain). Try removing winbindd_idmap.tdb and repeat the cache clear. (back up the idmap.tdb first).