I introduced a samba (Version 4.5.12-Debian) to the domain when it is configured prescribed:
idmap config * : range = 1422390000-1422399999
idmap config centr:schema_mode = rfc2307
centr idmap config:range = 1422390000-1422399999
centr idmap config:backend = hash
idmap config * : backend = ad
Everything works, getend passwd, and wbinfo shows users. With Windows clients in the domain folders open without a password.
Now, as an experiment changed:
this range 1422390000-1422399999 on 1442390000-1442399999 but the uid has changed, stelisti in the old range. I tried to withdraw and enter into the domain again, but it didn't help. Tried to change different backend (tdb, hash) but nothing changes.
I think that you need to remove a file after the withdrawal from the domain that you type it snogo created. But this assumption is simply.