Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-07 | s4:schema - Change also here counters to "unsigned" where needed | Matthias Dieter Wallnöfer | 7 | -26/+27 | |
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there. | |||||
2010-03-07 | s4:schema_syntax.c - Change also here counters to "unsigned" where needed | Matthias Dieter Wallnöfer | 1 | -44/+44 | |
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there. There were many counter variables typed "uint32_t". This isn't fully correct since those count LDB objects. The amount is saved in a "num_*" variable which is "unsigned" without a bitlength specification. Therefore change also these counters to be plain "unsigned". | |||||
2010-02-26 | s4:dsdb/schema: fix validation of DNs | Stefan Metzmacher | 1 | -1/+0 | |
ldb_dn_extended_filter() removes all but the listed components, I didn't noticed that when writting the code. Doing a ldb_dn_remove_extended_components(dn2) is wrong. This was hidden by some bugs in the ldb_dn code. metze | |||||
2010-02-16 | s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flags | Andrew Tridgell | 2 | -4/+5 | |
This allows for controls to be added easily where they are needed. | |||||
2010-02-13 | s4-dsdb: use TYPESAFE_QSORT() in dsdb code | Andrew Tridgell | 2 | -23/+12 | |
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_OID_validate_ldb() | Stefan Metzmacher | 1 | -13/+50 | |
This is a very heavy weight way of checking this syntax, but it's very complex and using the existing function should be ok for now. We can optimize it later. metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_STRING_validate_ldb() | Stefan Metzmacher | 1 | -1/+48 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_BINARY_validate_ldb() | Stefan Metzmacher | 1 | -2/+49 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_validate_ldb() | Stefan Metzmacher | 1 | -1/+139 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_PRESENTATION_ADDRESS_validate_ldb() | Stefan Metzmacher | 1 | -1/+12 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_UNICODE_validate_ldb() | Stefan Metzmacher | 1 | -1/+69 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DATA_BLOB_validate_ldb() | Stefan Metzmacher | 1 | -8/+61 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_NTTIME_validate_ldb() | Stefan Metzmacher | 1 | -1/+37 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_NTTIME_UTC_validate_ldb() | Stefan Metzmacher | 1 | -1/+49 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_INT64_validate_ldb() | Stefan Metzmacher | 1 | -1/+47 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_INT32_validate_ldb() | Stefan Metzmacher | 1 | -1/+48 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_BOOL_validate_ldb() | Stefan Metzmacher | 1 | -1/+30 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add inftrastructure for dsdb_validate_ldb() | Stefan Metzmacher | 2 | -0/+61 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_STRING_* wrappers | Stefan Metzmacher | 1 | -2/+30 | |
metze | |||||
2010-01-08 | s4-schema: added some debug for bad attributes | Andrew Tridgell | 1 | -0/+8 | |
2010-01-08 | s4-schema: added generic attributeID conversion functions | Andrew Tridgell | 1 | -63/+117 | |
When we get one we haven't seen before, we can work out the right type automatically in most cases. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-schema: added dsdb_attribute_by_lDAPDisplayName_ldb_val | Andrew Tridgell | 1 | -0/+12 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-schema: make ldb_val to string comparison safer with nul termination | Andrew Tridgell | 1 | -1/+8 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4/dsdb_schema: Load msDS-IntId value separately when loading from LDB | Kamen Mazdrashki | 1 | -0/+3 | |
This way we have consistent behavior when loading from DRSUAPI and from LDB. | |||||
2010-01-08 | Revert "s4-schema: Set ATTID in schema cache from "msDS-IntId"" | Kamen Mazdrashki | 1 | -13/+8 | |
This reverts commit 4e8ad284f5813413fdec8426f11e24570d22549b. | |||||
2010-01-08 | s4/dsdb_schema: use msDS-IntId value for attribute look-up | Kamen Mazdrashki | 1 | -0/+9 | |
2010-01-08 | s4/dsdb_schema: fetch msDS-IntId value during SCHEMA replication | Kamen Mazdrashki | 2 | -0/+5 | |
2010-01-08 | s4/dsdb_schema: GET_UINT32_DS() macro to use supplied default value instead of 0 | Kamen Mazdrashki | 1 | -14/+14 | |
2010-01-02 | s4-dsdb: use ldb_val_to_time() instead of ldb_string_to_time() | Andrew Tridgell | 1 | -1/+5 | |
2010-01-02 | s4-schema: don't fill in the extended DN with a zero GUID | Andrew Tridgell | 1 | -11/+12 | |
sometimes windows sends us a zero GUID in a DRS DN. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | sd-schema: order DRS classes on the wire in reverse order | Andrew Tridgell | 1 | -1/+4 | |
windows sends objectclasses in DRS in the opposite order to what LDAP uses | |||||
2010-01-02 | s4-dsdb: allow the component name to be specified in dsdb_get_extended_dn_guid() | Andrew Tridgell | 1 | -2/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-21 | s4-schema: fixed the sorting of schema attributes | Andrew Tridgell | 1 | -3/+9 | |
another case of unsigned int subtracting breaking sorts. This one surfaced now as attributeID_id now can be larger than 2^31 | |||||
2009-12-21 | s4-drs: Implement constraints on ATTID values in prefixMap | Kamen Mazdrashki | 2 | -0/+35 | |
Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-drs: Save prefix map using LDB_CONTROL_AS_SYSTEM control | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-schema: Set ATTID in schema cache from "msDS-IntId" | Kamen Mazdrashki | 1 | -8/+13 | |
According to http://msdn.microsoft.com/en-us/library/cc223224%28PROT.13%29.aspx some Attributes OIDs may not use prefixMap. Setting ATTID in Schema Cache here should work, although this code snippet should be moved in separate function. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-schema: a unsigned comparison bug in the schema code | Andrew Tridgell | 1 | -1/+2 | |
2009-12-15 | Fixed a problem with duplicate values of allowedAttributesEffective. | Nadezhda Ivanova | 1 | -1/+10 | |
2009-12-10 | s4-schema: use GUID_to_ndr_blob() | Andrew Tridgell | 2 | -17/+15 | |
2009-12-10 | s4-schema: use binsearch.h | Andrew Tridgell | 1 | -48/+21 | |
2009-12-10 | s4-dsdb: simplify schema code using new GUID functions | Andrew Tridgell | 2 | -34/+22 | |
2009-12-01 | s4:schema - Make some more (result) variables const and fix up warnings with ↵ | Matthias Dieter Wallnöfer | 2 | -53/+72 | |
"discard_const_p" | |||||
2009-11-23 | s4/schema(tort): Refactor DSDB-SYNTAX test for better performance | Kamen Mazdrashki | 1 | -35/+86 | |
Test was implemented as a test fixture so that setup/teardown occurs only once. This should impact test performace as long as provision_get_schema() is a slow function (especially when debugging) | |||||
2009-11-23 | s4/schema: Object(OR-Name) syntax handling for DRS calls | Kamen Mazdrashki | 1 | -4/+6 | |
OR-Name syntax through DRS calls looks like DN-Binary syntax | |||||
2009-11-23 | s4/schema(tort): Inject authOrig attribute into schema loaded for tests | Kamen Mazdrashki | 1 | -1/+44 | |
2009-11-23 | s4/schema(tort): Add test for Object(OR-Name) syntax | Kamen Mazdrashki | 1 | -0/+8 | |
2009-11-23 | s4/schema(tort): Test LDB_SYNTAX_DN with extended_dn in [GUID;SID;DN] form | Kamen Mazdrashki | 1 | -1/+9 | |
2009-11-17 | s4:dsdb/schema: let schema_supclasses() return the correct pointer | Stefan Metzmacher | 1 | -2/+2 | |
str_list_unique() changes the pointer via talloc_realloc(). metze | |||||
2009-11-17 | s4:schema Add the GUID to each defaultObjectCategory when loading from LDIF | Andrew Bartlett | 1 | -0/+49 | |
This makes these full extended DNs, so we set the right values into the database, even before we actually set the schema objects themselves. Andrew Bartlett | |||||
2009-11-17 | s4:dsdb Load objectGUID and extended DN defaultObjectCategory into the schema | Andrew Bartlett | 2 | -35/+27 | |
The load of defaultObjectCategory as an extended DN means we need to use the common parsing functions I just split out, rather than the GET_DS_DN macro. The objectGUIDs are loaded so that we can create the extended DN when we load from LDIF (and are loaded for the other cases for consistency). Also adapt callers to API changes needed for common parsing code Andrew Bartlett |