1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source4/dsdb/schema
Matthieu Patou 1521bb95a7 dsdb-schema: do not reload more often than schema_reload_interval
Samba 4 use to try to reload the schema every time dsdb_get_schema was
called (which could be 20+ time per ldb request). Now we only reload at
most every xx seconds (xx being the value of dsdb:"schema_reload_interval"
 or 120). The timestamp of the last reloaded schema is kept in the
 dsdb_schema object. There is also a timestamp in the ldb_context, that
 is used by the LDAP server to know if it has to reload the schema after
 handling the request. This is used to allow that the schema will be
 immediately reload after a schemaUpdateNow request has been issued, the
 reload can't occur in the handling of the LDAP request itself because
 we have a transaction autostarted.
2012-06-22 23:16:04 -07:00
..
tests s4-schema: rename dsdb_attribute_from_ldb to dsdb_set_attribute_from_ldb and dsdb_class_from_ldb to dsdb_set_class_from_ldb 2012-04-18 00:06:59 +02:00
dsdb_dn.c ldb: use #include <ldb.h> for ldb 2011-02-10 06:51:07 +01:00
prefixmap.h s4-attid: Uppercase ATTID type constants 2010-11-08 23:06:41 +00:00
schema_convert_to_ol.c s4:schema_convert_to_ol.c - fix memory contexts 2011-06-09 10:53:36 +02:00
schema_description.c s4:schema - Change also here counters to "unsigned" where needed 2010-03-07 19:01:15 +01:00
schema_filtered.c ldb: use #include <ldb.h> for ldb 2011-02-10 06:51:07 +01:00
schema_inferiors.c s4-dsdb: ensure we setup the dn_format field in schema attributes 2011-08-09 11:56:23 +02:00
schema_info_attr.c ldb: use #include <ldb.h> for ldb 2011-02-10 06:51:07 +01:00
schema_init.c s4-schema: rename dsdb_attribute_from_ldb to dsdb_set_attribute_from_ldb and dsdb_class_from_ldb to dsdb_set_class_from_ldb 2012-04-18 00:06:59 +02:00
schema_prefixmap.c s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value 2011-10-12 22:45:53 +02:00
schema_query.c s4:dsdb - move "objectclass_sort()" out from the objectclass LDB module into the schema code 2012-04-11 12:50:16 +10:00
schema_set.c s4-schema: rename dsdb_attribute_from_ldb to dsdb_set_attribute_from_ldb and dsdb_class_from_ldb to dsdb_set_class_from_ldb 2012-04-18 00:06:59 +02:00
schema_syntax.c Add some debug for FOOBAR return case as they are hard to diagnose 2012-04-29 09:08:15 +02:00
schema.h dsdb-schema: do not reload more often than schema_reload_interval 2012-06-22 23:16:04 -07:00