1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

128 Commits

Author SHA1 Message Date
Stefan Metzmacher
ef5b0ef449 r20452: add conversation for DN strings.
TODO: we need to implement linked attributes here,
      and keep the guid and sid

metze
(This used to be commit 72d059e8ca5e0b4708e2a62688592813d0482c82)
2007-10-10 14:35:48 -05:00
Stefan Metzmacher
5a2ab3059d r20450: implement conversation of unicode strings
metze
(This used to be commit 6383e56be88898bf533cc2476ab9e533b2cb0eec)
2007-10-10 14:35:47 -05:00
Stefan Metzmacher
4024697a0b r20441: fix compiler warnings
metze
(This used to be commit 44d09e37082a4584040d0acf36109f221a96b184)
2007-10-10 14:30:38 -05:00
Stefan Metzmacher
ce05aa5d40 r20440: some OID syntax attributes need special handling
metze
(This used to be commit 0ce5a3471a6a4e7dfc2eab1ae69964a8c5bb0aea)
2007-10-10 14:30:38 -05:00
Stefan Metzmacher
ab56d5ebb8 r20439: this should be const pointers
metze
(This used to be commit 1313b4774542fe5a0013d501225d5b4e8d585128)
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
cc70ee0739 r20437: add conversation function for OID's
metze
(This used to be commit 76ae50389d9bd2e8fc58ec5914544a865b1b8969)
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
0244585e84 r20435: implement the syntax conversation functions for most of the attribute syntaxes
metze
(This used to be commit d704c3fca819b042cec50141d25dd2d6a8356418)
2007-10-10 14:30:36 -05:00
Stefan Metzmacher
90b8b85730 r20425: a w2k3 forest doesn't have objects with attribute values
using the following attribute syntaxes by default:

String(Numeric)
String(Printable)
String(Teletex)
String(IA5)
String(UTC-Time)
String(Case Sensitive)
Object(OR-Name)
Object(Access-Point)
Object(DN-String)

metze
(This used to be commit c10e1487708003d5a6c06b1547ce46ed4e4b0fe7)
2007-10-10 14:30:35 -05:00
Stefan Metzmacher
1e41323991 r20420: create infrastructure to convert attribute values from drsuapi to ldb
metze
(This used to be commit 17c52ed27613051beecd5bbf72c6e6e749a21d27)
2007-10-10 14:30:34 -05:00
Stefan Metzmacher
9c3d5c6118 r20416: fix compiler warnings
metze
(This used to be commit bfb0c04dffdff62a6535aa31b888db636ac2f8d5)
2007-10-10 14:30:32 -05:00
Stefan Metzmacher
b29d129ce7 r20415: add a function to get the lDAPDisplayName for an objectClass
or attribute

metze
(This used to be commit 437db390795be8d6a375f2d44240b66d4406e148)
2007-10-10 14:30:30 -05:00
Stefan Metzmacher
23ccdca416 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
(This used to be commit e6a24c2172009b0225fa189b7107217838d286d3)
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
124cd6fb23 r20409: load the attribute syntax for the attribute
metze
(This used to be commit d042aac3f72ab2022479bee48e49a0ab289315f5)
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
91837a908f r20408: fix cut'n'paste error
metze
(This used to be commit af78a86d2cf0f05a048c5dfd86ea21c92a9d75b0)
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
030ede5852 r20407: the oMObjectClass values are not padded to 10 bytes!
metze
(This used to be commit f860dd2dca391edf55975d582dda0c1d01ddb6e3)
2007-10-10 14:30:24 -05:00
Stefan Metzmacher
d97302d539 r20405: add an array with attribute syntexes
metze
(This used to be commit 1a21eb700003db1d7853c9be330b2583db9bff03)
2007-10-10 14:30:24 -05:00
Stefan Metzmacher
40e7f36212 r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes
metze
(This used to be commit 5440c0a99fd8dced9020a47af4dbee74df504219)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
58388f7090 r20379: - make sure the schema info blob is 21 bytes long
- add a function to verify the incoming mapping and schema info

metze
(This used to be commit 5f0da4a3ae4eae8a6f14f813a65583cef78e73e4)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
3710a7ae99 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
(This used to be commit bfb7756bb0f1bbd9a7a17c9689cf2ea351247116)
2007-10-10 14:29:42 -05:00
Stefan Metzmacher
a624503418 r20307: remove unused vars
metze
(This used to be commit 0352b7bbc659f3683355b793630fe44e9fd5b8cb)
2007-10-10 14:29:36 -05:00
Stefan Metzmacher
97d066464b r20306: remove the static oid mapping table
and attach the table to the dsdb_schema

metze
(This used to be commit df63995ec5f322d17145664c1f174783861e1723)
2007-10-10 14:29:36 -05:00
Stefan Metzmacher
291271f226 r20233: add functions to create a dsdb_attribute and dsdb_class from
a drsuapi_DsReplicaObject

metze
(This used to be commit 9168236ddd3d8ed9daa1e47be1e6b12d2bc348b6)
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
e666389c36 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
(This used to be commit 5d7827f45ec05acaca28c94fd6a5d25f148d011c)
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
549b56b89d 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
(This used to be commit 3af0a9b2c490ed1e4cd0af7faf814823bc60c264)
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
7aa96e9960 r20226: rename macros with a _LDB at the end, because I'll add macros with _DS
soon

metze
(This used to be commit e5b67046c255c7dec07acf3ddc158278997502e3)
2007-10-10 14:29:25 -05:00
Stefan Metzmacher
836202f600 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
(This used to be commit e50cf96fea1318853a8cfc0061afcad9cbad7e2c)
2007-10-10 14:29:24 -05:00
Stefan Metzmacher
1fc9c6bf2c r20223: this function is in the torture test now
metze
(This used to be commit 66c4b42f5f4c48e9c288781208ecdd4849c2f939)
2007-10-10 14:29:24 -05:00
Stefan Metzmacher
c5571c7c39 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
(This used to be commit 58ba6ec195ce3a5e2352866809f6cb57f8d8260a)
2007-10-10 14:29:23 -05:00