What is the origin of dsdb_syntax dsdb_syntaxes in source4/dsdb/schema/schema_syntax.c?
geza at kzsdabas.hu
Tue Apr 10 04:52:27 MDT 2012
2012-04-10 09:43 keltezéssel, Matthieu Patou írta:
> On 04/09/2012 11:55 PM, Gémes Géza wrote:
>> In an attempt to create AD compatible schema ldif file (to be loaded in
>> Samba4) for the ISC DHCPD (LDAP support is included in the ISC DHCPD
>> from 4.2, but extended to include support for IPv6 by:
>> tried to convert the attached schema file to AD schema ldif.
>> oLschema2ldif failed after converting a few attributes. Looking at its
>> source code I've found, that it is using a mapping between ldap_oid,
>> attributeSyntax_oid and oMSyntax in dsdb_syntax dsdb_syntaxes from
>> source4/dsdb/schema/schema_syntax.c. In order to be able to convert an
>> arbitrary (in my case dhcpd) schema file I would need a generic mapping
>> rule set between ldap_oids and attributes needed by AD
>> (attributeSyntax_oid and oMSyntax)
> What is dsdb_syntaxes is supposed to be the rule for MS AD.
> From your file I found the following syntax
> Which one is missing in the table ?
oLschema2ldif fails at converting attribute dhcpOptionsDN which is the
first with syntax 126.96.36.199.4.1.14188.8.131.52.12
More information about the samba-technical