What is the origin of dsdb_syntax dsdb_syntaxes[] in source4/dsdb/schema/schema_syntax.c?

Gémes Géza geza at kzsdabas.hu
Tue Apr 10 00:55:05 MDT 2012


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)

Thank you in advance!


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dhcp.schema
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120410/2f6462ea/attachment.ksh>

More information about the samba-technical mailing list