What is the origin of dsdb_syntax dsdb_syntaxes in source4/dsdb/schema/schema_syntax.c?
geza at kzsdabas.hu
Tue Apr 10 11:46:29 MDT 2012
2012-04-10 19:12 keltezéssel, Matthieu Patou írta:
> On 04/10/2012 03:52 AM, Gémes Géza wrote:
>> 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
>>>> 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 18.104.22.168.4.1.1422.214.171.124.12
> 432:#define LDB_SYNTAX_DN
> I guess oLschema2ldif needs to be fixed !
More information about the samba-technical