summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-12-16 22:31:28 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-12-18 05:32:14 +0200
commitbd6f9efc1e993d41d14da3ac56307ed424745153 (patch)
treea82131fca4c4ca6421b92e5883496e38c66f684f /source4/scripting
parent09a2f14c84de1da658009c62572c7cbffb07febc (diff)
downloadsamba-bd6f9efc1e993d41d14da3ac56307ed424745153.tar.gz
samba-bd6f9efc1e993d41d14da3ac56307ed424745153.tar.bz2
samba-bd6f9efc1e993d41d14da3ac56307ed424745153.zip
s4-drepl: Make refreshed schema a global one
We need to do this as dsdb_reference_schema() function clears "use_global_schema" ldb flag. Basically what is going to happen is that after dsdb_reference_schema() global_schema pointer will continue to point at old schema cache, while "dsdb_schema" for LDB will point at the working_schema. After replication is done, we reset "dsdb_schema" for the ldb with an updated Schema cache, but this leaves global_schema pointer with its old value, which is not up to date. So we need to call dsdb_make_schema_global() again so that global_schema points to a valid Schema cache.
Diffstat (limited to 'source4/scripting')
0 files changed, 0 insertions, 0 deletions