1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
Stefan Metzmacher
e6a24c2172 r20410: add functions to access dsdb_attributes and dsdb_classes by oid, uint32_id or ldap name
they will be optimized uing binary searches later...

metze
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
d042aac3f7 r20409: load the attribute syntax for the attribute
metze
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
af78a86d2c r20408: fix cut'n'paste error
metze
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
5440c0a99f r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes
metze
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
5f0da4a3ae r20379: - make sure the schema info blob is 21 bytes long
- add a function to verify the incoming mapping and schema info

metze
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
bfb7756bb0 r20331: the last entry in the oid mapping array which starts with 0xFF
is the content of the schemaInfo attribute of the schema head object

metze
2007-10-10 14:29:42 -05:00
Stefan Metzmacher
0352b7bbc6 r20307: remove unused vars
metze
2007-10-10 14:29:36 -05:00
Stefan Metzmacher
df63995ec5 r20306: remove the static oid mapping table
and attach the table to the dsdb_schema

metze
2007-10-10 14:29:36 -05:00
Stefan Metzmacher
9168236ddd r20233: add functions to create a dsdb_attribute and dsdb_class from
a drsuapi_DsReplicaObject

metze
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
5d7827f45e r20232: specify attribute name and structure element name always together
there're a view elements where both values doesn't match

LDAP-SCHEMA now successful loads the schema

metze
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
3af0a9b2c4 r20231: - add more oid => uint32 id mappings
- handle the case where mappings for 1.2.3.4. and 1.2.3.4.5. prefixes
  exist
- extend test suite for the mappings

metze
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
e5b67046c2 r20226: rename macros with a _LDB at the end, because I'll add macros with _DS
soon

metze
2007-10-10 14:29:25 -05:00
Stefan Metzmacher
e50cf96fea r20224: the struct element msDs_Schema_Extensions and the attribute name "msDs-Schema-Extensions"
doesn't match so we need to pass 2 parameters to the GET_BLOB() macro

metze
2007-10-10 14:29:24 -05:00
Stefan Metzmacher
66c4b42f5f r20223: this function is in the torture test now
metze
2007-10-10 14:29:24 -05:00
Stefan Metzmacher
58ba6ec195 r20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs into
a generic location
- this struct should be also used by the dsdb/samdb/ldb_modules/schema.c
  module later
- add functions to map from LDAP OID values to uint32_t values
- add torture test for the OID => uint32 mapping code

metze
2007-10-10 14:29:23 -05:00