samdb rid: clear cache to prevent old ntds_guid
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Tue, 1 May 2018 03:51:10 +0000 (15:51 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 07:15:07 +0000 (09:15 +0200)
commit8b72d4c7bbb8462232d685e17612b06b4cca57f2
tree26f6ce7c993e2c3a5635b36dc9cfc3bc3dbf00e8
parent6a09162df6bd38098253b50a7ac32bfdc8dbf9d4
samdb rid: clear cache to prevent old ntds_guid

During the new samba-tool domain backup restore the NTDS GUID changes
as the server is taken over by the new DC record.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/ridalloc.c