dc site change and ldb_get_opaque(ldb, "cache.ntds_settings_dn")

Matthieu Patou mat at samba.org
Mon Jun 27 00:29:55 MDT 2011


Hello Andrew,

Yesterday I started to look how I can make samdb_ntds_settings_dn use 
either the netbios name or a GUID to find the DN of the NTDS Settings 
for the running.

And I realized that we are using a cache, and most of the time it's this 
value that is used.

My current version of pseudobacklinks that update the rootdse when you 
are make a change that impact current DC's NTDS Settings didn't update 
the cache but it will be trivial to do so, because it is already 
monitoring the changes that impact this DN.

When switching to another way to locate DC's NTDS Settings, if we don't 
monitor changes then we can't anymore use a cache or we can just cache 
the GUID of the object.

Is it what we want or should we keep the cache is so, how ?

Matthieu

-- 
Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary




More information about the samba-technical mailing list