Hi! I am trying to migrate from OpenLdap? 2.3 to CentOS Directory Server. First step is to convert schema from "old" OpenLdap? format to "new" used in CentOS Directory Server.
Perl script I got from there:
http ://directory.fedoraproject.org/download/ol-schema-migrate.pl
and info from there:
http ://directory.fedoraproject.org/wiki/Howto:Samba
Problem is in declaration of some attributes in dnszone.schema in objectClass "dNSZone":
objectClasses: (
1.3.6.1.4.1.2428.20.3
NAME 'dNSZone'
SUP top
STRUCTURAL
MUST ( zoneName $ relativeDomainName )
MAY ( DNSTTL $ DNSClass $ ARecord $ MDRecord $ MXRecord $ NSRecord $ SOARecord $ CNAMERecord $ PTRRecord $ HINFORecord $ MINFORecord $ TXTRecord
)
Declarations for some attribues are missed:
ARecord
MDRecord
MXRecord
and so on.
For some onter attributes there are. Like for "dNSTTL":
attributeTypes: (
1.3.6.1.4.1.2428.20.0.0
NAME 'dNSTTL'
DESC 'An integer denoting time to live'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
)
This case error with Redhat/Fedora/CentOS Directory Server:
ldap-server...[13/Aug/2008:16:30:39 +0300] dse - The entry cn=schema in file /etc/dirsrv/slapd-tactel-server2/schema/61dnszone.schema.ldif is invalid, error code 21 (Invalid syntax) - object class dNSZone: Unknown allowed attribute type "MXRecord"
[13/Aug/2008:16:30:44 +0300] dse - Please edit the file to correct the reported problems and then restart the server.