Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-15 | s4:dsdb/schema: add "dsdb:schema update allowed" option to enable schema updates | Stefan Metzmacher | 3 | -2/+17 | |
By default schema updates are not allowed anymore, as we don't have complete validation code to prevent database corruption. metze | |||||
2011-11-15 | s4:param/provision: pass schema_dn to provision_get_schema() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-11-15 | s4:dsdb/schema: pass and remember the schema_dn in dsdb_set_schema_from_ldif() | Stefan Metzmacher | 1 | -3/+11 | |
metze | |||||
2011-10-12 | s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value | Gregor Beck | 2 | -4/+4 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-07 | s4-dsdb: fixed one_way_link calculation | Andrew Tridgell | 1 | -1/+2 | |
we need to check for the other end of the link, not the current linkID Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-09-05 | s4-schema consolidate schema handling | Andrew Bartlett | 1 | -24/+32 | |
It also creates a single routine dsdb_load_ldb_results_into_schema() to handle cases where the schema is in the form of an ldb_result. Andrew Bartlett | |||||
2011-08-25 | s4-dsdb: fixed calls to ldb_val_string_cmp() | Andrew Tridgell | 1 | -2/+2 | |
wrong order of arguments | |||||
2011-08-09 | move schema_fill_constructed() call to dsdb_setup_sorted_accessors() | Andrew Bartlett | 1 | -5/+7 | |
2011-08-09 | s4-dsdb Remove unused schema function | Andrew Bartlett | 1 | -18/+0 | |
2011-08-09 | s4-dsdb: added SAMDB_INDEXING_VERSION to @INDEXLIST | Andrew Tridgell | 1 | -0/+11 | |
this can be used to force re-indexing of samdb when we change something that affects index comparison, in this case the canonicalisation of booleans Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-09 | s4-dsdb: fixed booling conversion to check value length | Andrew Tridgell | 1 | -11/+14 | |
this ensures we don't look past the end of the data Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-09 | s4-dsdb: add auto-normalisation of attributes | Andrew Tridgell | 2 | -3/+10 | |
this auto-normalises some attributes when they are added/modified. The list that we auto-normalise is currently: Boolean INT32 INTEGER UTC_TIME This fixes a problem with groupType being stored in an unnormalised form Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-09 | s4-dsdb: ensure we setup the dn_format field in schema attributes | Andrew Tridgell | 2 | -31/+40 | |
this ensures we setup dn_format when we do runtime schema changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-04 | s4-dsdb: added dn_format attribute of a dsdb_attribute | Andrew Tridgell | 2 | -2/+14 | |
this is faster than string comparisons during searches at runtime Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-04 | s4-dsdb: setup a one_way_link attribute on schema attributes | Andrew Tridgell | 2 | -0/+30 | |
this allows us to quickly determine if a DN is a one way link Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-21 | update/add my copyright | Matthieu Patou | 1 | -0/+1 | |
2011-07-21 | s4-schema: add systemFlags to dsdb classes objects | Matthieu Patou | 2 | -0/+2 | |
2011-07-13 | dsdb: fixed special case of zero NTTIME | Andrew Tridgell | 1 | -0/+20 | |
we can't convert 0 NTTIME via a unix time_t Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-06-22 | s4-schema: avoid segfaulting if id3.guid is NULL | Matthieu Patou | 1 | -2/+1 | |
2011-06-22 | s4-dsdb: don't add zero GUID to BINARY_DN | Andrew Tridgell | 1 | -9/+11 | |
When converting from DRS to ldb format for a BINARY_DN, don't add the GUID extended DN element if the GUID is all zeros. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-06-17 | s4-dsdb: if we don't have a remote schema, then use the local one | Andrew Tridgell | 1 | -2/+8 | |
this allows the use of drsuapi_to_ldb() on all attributes for the local database | |||||
2011-06-09 | s4:schema_convert_to_ol.c - fix memory contexts | Matthias Dieter Wallnöfer | 1 | -3/+13 | |
- Add more "mem_ctx" free functions on error cases - Steal the "out" string directly onto the LDB context to be able to free the local "mem_ctx" Reviewed-by: Tridge | |||||
2011-06-09 | s4:dsdb/schema_convert_to_ol.c - quiet enum warning | Matthias Dieter Wallnöfer | 1 | -0/+9 | |
Introduce a error message when choosing wrong targets. Reviewed-by: Tridge | |||||
2011-04-07 | dsdb:schema/schema_syntax.c - correctly check error code of ↵ | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
"ldb_string_utc_to_time" This one doesn't set ERRNO. An error happens if the result is "0". Reviewed-by: abartlet | |||||
2011-04-07 | dsdb:schema/schema_syntax.c - add some empty value checks on validate functions | Matthias Dieter Wallnöfer | 1 | -0/+9 | |
They are needed since the check in "ldb_msg_sanity_check" will be removed. Reviewed-by: abartlet | |||||
2011-03-29 | Ensure convert_string_XXX is always called with a valid converted_size pointer. | Jeremy Allison | 1 | -2/+4 | |
Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104 | |||||
2011-03-24 | charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵ | Andrew Tridgell | 1 | -5/+5 | |
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104 | |||||
2011-02-10 | ldb: use #include <ldb.h> for ldb | Andrew Tridgell | 7 | -10/+10 | |
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-12-21 | s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDs | Matthias Dieter Wallnöfer | 2 | -2/+5 | |
2010-12-18 | s4-dsdb_schema: Copy info needed for Schema refresh in dsdb_schema_copy_shallow | Kamen Mazdrashki | 1 | -0/+4 | |
Just 'refresh_fn' and 'loaded_from_module' are copied. I left 'reload_seq_number' set to 0 intentionally, so that this Schema cache will looks like a very old one to ,refresh_fn'. This way, if this shallow copy is attached to LDB, it will be refreshed as soon as possible by 'refresh_fn'. | |||||
2010-12-15 | s4-dsdb_schema: Handle remote ATTIDs based on msDs-IntId value | Kamen Mazdrashki | 1 | -4/+17 | |
If we get such an msDs-IntId value, then we should just use it, there is no mapping available for such values | |||||
2010-12-15 | s4-schema_syntax: Log error message when ↵ | Kamen Mazdrashki | 1 | -1/+5 | |
_dsdb_syntax_OID_oid_drsuapi_to_ldb() fails I haven't found a way to test this function during replication so far, but when I do, it will be useful to notice this error in the log file | |||||
2010-12-15 | s4-dsdb_schema: We need base_dn in Schema's shallow copy too | Kamen Mazdrashki | 1 | -1/+7 | |
2010-12-15 | s4-schema_syntax: We should use make_ATTID function when converting ↵ | Kamen Mazdrashki | 1 | -1/+1 | |
remote-ATTID to local one We may have no prefix for the remote ATTID (remote OID strictly speaking) So this is the place for us to update our local prefixMap adding a prefix for the numeric OID we've recived | |||||
2010-12-15 | s4-schema_syntax: Use remote prefixMap to map remote ATTID to local one | Kamen Mazdrashki | 1 | -5/+13 | |
in dsdb_attribute_drsuapi_to_ldb() function. drsuapi_DsReplicaAttribute *in parameter come from remote DC so we can't rely on in->attid to map it directly to an dsdb_attribute in our local schema cache | |||||
2010-12-15 | s4-dsdb_schema: Seize using global_schema when referencing new schema for an LDB | Kamen Mazdrashki | 1 | -0/+6 | |
Without this change, when a schema is set to ldb, the effect is that dsdb_get_schema() returns global_schema preferably. Thus we end up with two schemas in effect: - global one, which is the old one and it is still used everywhere - new one, which is just cached in ldb, but can't be used, as there is no way to access it | |||||
2010-12-11 | s4-smbtorture: Make test names lowercase and dot-separated. | Jelmer Vernooij | 1 | -1/+1 | |
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104 | |||||
2010-12-02 | s4-dsdb/syntax: Map remote ATTIDs for Class OID syntax | Kamen Mazdrashki | 1 | -0/+6 | |
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Dec 2 18:47:59 CET 2010 on sn-devel-104 | |||||
2010-12-02 | s4-dsdb_syntax: Be a little bit more chatty when we can't an ATTID in our cache | Kamen Mazdrashki | 1 | -1/+3 | |
2010-12-01 | s4-dsdb/syntax: Map remote ATTIDs for Attribute OID syntax | Kamen Mazdrashki | 1 | -0/+6 | |
2010-12-01 | s4-dsdb/syntax: Implement Remote-ATTID to Local-ATTID mapping function | Kamen Mazdrashki | 1 | -0/+35 | |
2010-12-01 | s4-dsdb/schema: Add Schema shallow copy function | Kamen Mazdrashki | 1 | -0/+57 | |
2010-12-01 | s4-dsdb/prefixMap: Add prefixMap shallow copy function | Kamen Mazdrashki | 1 | -0/+17 | |
2010-11-11 | s4-repl: Propagate remote prefixMap in DRSUAPI data conversion functions | Kamen Mazdrashki | 1 | -0/+2 | |
2010-11-11 | s4-dsdb_syntax: Warning message that we can't find requested ATTID in Schema ↵ | Kamen Mazdrashki | 1 | -0/+1 | |
Cache | |||||
2010-11-11 | s4-prefixMap: dsdb_schema_pfm_oid_from_attid() to use const prefixMap | Kamen Mazdrashki | 1 | -1/+2 | |
It is not supposed to change supplied prefixMap | |||||
2010-11-11 | s4-dsdb_syntax: Use remote prefixMap to handle generic cases in ↵ | Kamen Mazdrashki | 1 | -2/+7 | |
drsuapi_to_ldb conversions | |||||
2010-11-11 | s4-dsdb_syntax: Add remote prefixMap member for dsdb_syntax conversions | Kamen Mazdrashki | 2 | -0/+5 | |
2010-11-09 | s4:dsdb/schema/schema_filtered.c: make never_in_filtered_attrs static const | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-11-09 | s4:dsdb/schema/schema_filtered.c: use DSDB_SECRET_ATTRIBUTES | Stefan Metzmacher | 1 | -11/+1 | |
metze |