1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/dsdb/schema
Bob Campbell 8ac1646e92 samdb/schema_load: do schema loading with one search
It appears that there was a race condition between searching for the
attribute & class definitions, and searching for the schema object, if
the schema was changed in-between the two searches.

This is likely the cause of ldap_schema being flapping.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12889

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2018-03-05 20:50:15 +01:00
..
tests schema: Make writing indices flag an enum for a new state 2017-11-24 01:13:14 +01: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 source4/dsdb/schema/schema_convert_to_ol.c: Fix typo in comment. 2013-05-15 21:04:42 -07: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 dsdb-schema: schema_fill_possible_inferiors() should rebuild everthing 2013-05-23 20:25:59 +10:00
schema_info_attr.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source4/dsdb/ 2016-09-28 00:04:19 +02:00
schema_init.c samdb/schema_load: do schema loading with one search 2018-03-05 20:50:15 +01:00
schema_prefixmap.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source4/dsdb/ 2016-09-28 00:04:19 +02:00
schema_query.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source4/dsdb/ 2016-09-28 00:04:19 +02:00
schema_set.c schema_set: Add a missing newline between functions 2018-03-05 20:50:15 +01:00
schema_syntax.c Correct "paramter" typos. 2017-02-22 08:26:21 +01:00
schema.h schema: Make writing indices flag an enum for a new state 2017-11-24 01:13:14 +01:00