Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2009-11-17 | s4:dsdb Break up 'parse a DN from DRSUAPI' into a subfunction | Andrew Bartlett | 1 | -73/+91 | |
This should make it easier to call this function from the DRS schema load code, rather than duplicate it. (we may do the same with other functions in future). Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Add more unit tests for DN+Binary syntaxes | Andrew Bartlett | 1 | -4/+9 | |
2009-11-12 | s4:dsdb/schema Allow a schema set when bound against a remote LDAP server | Andrew Bartlett | 1 | -3/+3 | |
2009-11-12 | s4:dsdb Add expected value tests for most DRS syntax conversions | Andrew Bartlett | 1 | -0/+149 | |
I've left out those for which I could not find an expected value in my default Windows 2003 server's database, and the values that rely on the current prefix map at the time. Andrew Bartlett | |||||
2009-11-12 | s4:Fix regression in dsdb_dn code - all parses of the DN would be rejected | Andrew Bartlett | 1 | -2/+6 | |
This is most likely the cause of the DRS replication failures I observed with my changes. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Simplify schema loading from ldb messages | Andrew Bartlett | 2 | -98/+81 | |
It turns out that we always add the class/attribute to the schema. | |||||
2009-11-12 | s4:dsdb Use new dsdb_dn code in LDB modules and Samba4 schema | Andrew Bartlett | 1 | -19/+15 | |
This converts the code from using the binary DN code in ldb_dn to using a special Samba-specfic wrapper around ldb_dn. We also use the dsdb_dn code for DN+Binary and DN+String comparisons (changed from treating them as Binary blobs) Andrew Bartlett | |||||
2009-11-06 | s4/drs: Refactor to be more SAMBA.Coding style compliant | Kamen Mazdrashki | 2 | -4/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Remove unused structures and functions | Kamen Mazdrashki | 2 | -93/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: remove unused num_prefixes and prefixes from dsdb_schema | Kamen Mazdrashki | 2 | -5/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_create_prefix_mapping() refactored | Kamen Mazdrashki | 1 | -11/+9 | |
TODO: this function may be refactored further. Actually we don't need to look up for the OID supplied, but just call sdb_schema_pfm_make_attid() - it will search for the OID anyway and add it if necessary Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: prefixMap lookup by full_OID implementation | Kamen Mazdrashki | 1 | -0/+25 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_write_prefixes_from_schema_to_ldb() refactored | Kamen Mazdrashki | 1 | -39/+35 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_read_prefixes_from_ldb() refactored | Kamen Mazdrashki | 1 | -54/+13 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: refactor dsdb_load_oid_mappings_ldb() to use ↵ | Kamen Mazdrashki | 1 | -33/+29 | |
_dsdb_prefixmap_from_ldb_val() Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Load prefixMap from ldb_val moved in separate function | Kamen Mazdrashki | 1 | -0/+35 | |
It is to be used later in several places when we need such conversion. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMap | Kamen Mazdrashki | 2 | -22/+46 | |
"partial drsuapi_prefixMap" is a prefix map without last entry being special - i.e. map that does not contains schema_info entry. Test for dsdb_schema_pfm_from_drsuapi_pfm() were also extended to cover both 'full' and 'partial' map conversion. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid() | Kamen Mazdrashki | 2 | -30/+11 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_map_oid2int() replaced by dsdb_schema_pfm_make_attid() | Kamen Mazdrashki | 2 | -17/+17 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by ↵ | Kamen Mazdrashki | 1 | -71/+0 | |
dsdb_schema_pfm_contains_drsuapi_pfm() dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented prefixMap interface. This name was choosen to clearly show, that this a week verification in case we want to determine if remote schema is changed. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_get_oid_mappings_drsuapi() to use new prefixMap interface | Kamen Mazdrashki | 1 | -34/+3 | |
dsdb_get_oid_mappings_drsuapi() just need to call dsdb_drsuapi_pfm_from_schema_pfm() to get filled-in DRSUAPI prefixMap. Perhaps it won't be bad to rename this function to have more expressive name in the future Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi() | Kamen Mazdrashki | 1 | -52/+13 | |
Also, dsdb_load_oid_mappings_drsuapi() was reimplemented to use dsdb_schema_pfm_from_drsuapi_pfm() function to load drsuapi_prefixMap into schema->prefixmap Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_schema uses dsdb_schema_prefixmap definition | Kamen Mazdrashki | 1 | -0/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Move schema_prefixMap allocation in separate function | Kamen Mazdrashki | 1 | -15/+29 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: schema_prefixMap to/from drsuapi_prefixMap conversion implementation | Kamen Mazdrashki | 1 | -1/+228 | |
Along with this, dsdb_schema_pfm_contains_drsuapi_pfm() function is implemented to replace previous implementation for dsdb_verify_oid_mappings_drsuapi(). Name of the function clearly implies how week this verification is, as currently it is used to indicate "Schema modified on remote" condition. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Implement binary-oid-lookup into prefixMap | Kamen Mazdrashki | 1 | -25/+37 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> |