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

32 Commits

Author SHA1 Message Date
Stefan Metzmacher
587f70e153 r22992: add a function to attach the dsdb_schema to a ldb_context
loaded from ldif files. The first file should contain
the info's about the 'prefixMap' attribute in the first ldif chunk.
The 2nd file should contain all attributes and classes.

metze
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
e3be33c1d9 r21839: add my email address
metze
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
6ecd1342de r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached

metze
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
1c3d1723e9 r20764: fix some little bugs
metze
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
cab3acb9bb r20763: add function to get the oid mappings in drsuapi or ldb form
metze
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
b7f681a8a1 r20733: add a function to load the oid mappings from ldb_val's
metze
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
2e054be8e0 r20576: add functions to get and set dsdb_schema on the ldb context
metze
2007-10-10 14:37:05 -05:00
Stefan Metzmacher
c32ec0a100 r20523: match the lDAPDisplayName case insensitive
metze
2007-10-10 14:36:48 -05:00
Stefan Metzmacher
d47c81923d r20504: we handle the attribute values always as DATA_BLOB's and
don't need the union with the attribute id as switch anymore

metze
2007-10-10 14:36:01 -05:00
Stefan Metzmacher
4c2addf2dd r20484: get rid of the special case for DN strings
metze
2007-10-10 14:35:59 -05:00
Stefan Metzmacher
ececda44c7 r20477: get rid of the spcial case for unicode strings
metze
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
13ccd405b5 r20476: get rid of extra case for uint32 values
metze
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
b7ab1c0039 r20475: remove special case for GUID values
metze
2007-10-10 14:35:56 -05:00
Stefan Metzmacher
8d80629c5d r20473: remove special case for boolean values
metze
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
1313b47745 r20439: this should be const pointers
metze
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
bfb0c04dff r20416: fix compiler warnings
metze
2007-10-10 14:30:32 -05:00
Stefan Metzmacher
437db39079 r20415: add a function to get the lDAPDisplayName for an objectClass
or attribute

metze
2007-10-10 14:30:30 -05:00
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