Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2010-11-08 | s4-attid: Uppercase ATTID type constants | Kamen Mazdrashki | 3 | -10/+10 | |
Thanks Metze for noting this! Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 8 23:06:41 UTC 2010 on sn-devel-104 | |||||
2010-11-07 | s4-dsdb: give the DN on a shema attribute failure | Andrew Tridgell | 1 | -1/+1 | |
2010-11-01 | s4-dsdb_schema: Use DRSUAPI_ATTID_INVALID instead of 0xFFFFFFFF magic value | Kamen Mazdrashki | 2 | -28/+28 | |
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 1 00:36:20 UTC 2010 on sn-devel-104 | |||||
2010-10-31 | idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values | Kamen Mazdrashki | 1 | -33/+33 | |
Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes. | |||||
2010-10-29 | s4-schema_init: we should be able to resolve Syntax OIDs with prefixMap we have | Kamen Mazdrashki | 1 | -3/+3 | |
If Syntax OID is not in the prefixMap then we are getting an unknown Attribute Syntax (which we can't handle anyway) | |||||
2010-10-26 | s4-dsdb_syntax: *_OID_oid_ldb_to_drsuapi() functions should use | Kamen Mazdrashki | 1 | -6/+6 | |
dsdb_schema_pfm_attid_from_oid() instead of dsdb_schema_pfm_make_attid() as those functions are supposed to return ATTIDs only for OIDs we already know about (i.e. are in prefixMap) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Oct 26 22:44:36 UTC 2010 on sn-devel-104 | |||||
2010-10-26 | s4-prefixMap: split dsdb_schema_make_attid() function into read-only and | Kamen Mazdrashki | 1 | -1/+38 | |
read-write functions. dsdb_schema_make_attid() may change prefixMap implicitly and this is not always desired behavior. The problem was that (1) callers had no control on this behavior (2) callers had no way to know wheter prefixMap has been changed which can lead to hard to find bugs like prefixMap is changed in read operation | |||||
2010-10-26 | s4-prefixmap: Use WERR_NOT_FOUND when OID is not found in current prefixMap | Kamen Mazdrashki | 2 | -2/+2 | |
rather than WERR_DS_NO_MSDS_INTID. WERR_DS_NO_MSDS_INTID is intended to be used for msDsIntId attribute values handling | |||||
2010-10-22 | s4-dsdb_syntax: Setup "String(Case Sensitive)" syntax | Kamen Mazdrashki | 1 | -3/+10 | |
Currently it is mapped to Octet String LDAP syntax for comparison purposes. According to LDAP rfc we should be using same comparison as Directory String (LDB_SYNTAX_DIRECTORY_STRING), but case sensitive. But according to ms docs binary compare should do the job: http://msdn.microsoft.com/en-us/library/cc223200(v=PROT.10).aspx Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri Oct 22 22:19:50 UTC 2010 on sn-devel-104 | |||||
2010-10-21 | s4-dsdb/schema_syntax: Separate validation for numericoid OID values | Kamen Mazdrashki | 1 | -3/+47 | |
This implementation doesn't use prefixMap/Schema to validate numericoid OIDs. We may not have this OID yet, so I see no point checking schema for if we have it. Side effect of using prefixMap/Schema for validating numericoids is that we mistakenly add the OID to the prefixMap. This led to a corrupted prefixMap in LDB. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Oct 21 23:32:26 UTC 2010 on sn-devel-104 | |||||
2010-10-21 | s4-dsdb: moved a bunch of fuctions from schema/schema_info_attr.c to ↵ | Andrew Tridgell | 1 | -268/+0 | |
samdb/ldb_modules/schema_util.c these functions operate on ldb_modules, so they should be in the ldb_modules directory. They also should return ldb errors codes, not WERROR codes, as otherwise the error can be hidden from the ldap caller This re-arrangement fixes a dependency loop in the schema/samdb code. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-10-20 | s4-schema_init: Print more info about syntax we fail to recognize | Kamen Mazdrashki | 1 | -2/+4 | |
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Oct 20 13:54:01 UTC 2010 on sn-devel-104 | |||||
2010-10-19 | s4:dsdb/schema/schema_init.c - remove a duplicated "talloc_free" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
2010-10-15 | s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵ | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
"samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-12 | torture/becomedc: Add test for global schema, use samdb_connect(). | Jelmer Vernooij | 1 | -1/+6 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Oct 12 18:35:33 UTC 2010 on sn-devel-104 | |||||
2010-10-11 | dsdb/schema: Move some dsdb_dn functions that are schema-specific. | Jelmer Vernooij | 2 | -0/+103 | |
2010-10-10 | s4-dsdb: Make dsdb_setup_sorted_accessors() public | Kamen Mazdrashki | 1 | -2/+2 | |
We are going to need it while converting DRS schema. | |||||
2010-09-21 | s4-dsdb-schema_prefixmap: return WERR_DS_NO_ATTRIBUTE_OR_VALUE when ATTID is ↵ | Kamen Mazdrashki | 1 | -1/+1 | |
not found rather than WERR_INTERNAL_ERROR - it is not internal error! | |||||
2010-09-21 | s4-dsdb-schema_prefixmap: Print debug message when internal failure occurs | Kamen Mazdrashki | 1 | -0/+5 | |
2010-09-17 | s4-schema: Helper func to compare schemaInfo signitures | Kamen Mazdrashki | 1 | -0/+41 | |
2010-09-17 | s4-schema: use dsdb_schema_info_blob_is_valid() to verify schemaInfo blob | Kamen Mazdrashki | 1 | -9/+6 | |
instead of parsing it. | |||||
2010-09-17 | s4-prefixMap: use dsdb_schema_info_blob_is_valid() for schemaInfo blob ↵ | Kamen Mazdrashki | 1 | -4/+2 | |
validation This fixes a leaking dsdb_schema_info object also. | |||||
2010-09-17 | s4-dsdb: Add dsdb_schema_info_blob_is_valid() to verify schemaInfo blobls | Kamen Mazdrashki | 1 | -10/+24 | |
2010-09-13 | s4:cosmetic - the SID attribute is called objectSid - not objectSID | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-08-19 | s4-drs: ATTIDs for deleted attributes should be based on msDs-IntId value if ↵ | Kamen Mazdrashki | 1 | -2/+2 | |
it exists | |||||
2010-08-19 | s4-dsdb: No need for dsdb_syntax_one_DN_drsuapi_to_ldb() to be public | Kamen Mazdrashki | 1 | -3/+3 | |
It is intended to be used in schema_syntax.c module | |||||
2010-08-19 | s4-dsdb-syntax: ATTID should be msDs-IntId value for the attributeSchema object | Kamen Mazdrashki | 2 | -14/+55 | |
in case object replicated is not in Schema NC and attributeSchema object has msDs-IntId attribute value set | |||||
2010-08-19 | s4: fix few comment typos | Kamen Mazdrashki | 1 | -1/+1 | |