all,
i am trying to load the bind-dyndb-ldap schema into my ldap instance and keep getting an error 'AttributeType not found: "ARecord"'. from what i can tell, the ARecord AttributeType is defined by the cosine schema, which is loaded and present in the ldap instance. I have the dnszone schema loaded too and i am serving static dns entries out of ldap right now. it would seem that the prerequisites for bind-dyndb-ldap are fulfilled, but i cant load the schema. some details:
[root@server cn=schema]# slapd -V @(#) $OpenLDAP: slapd 2.4.26 (Jun 27 2012 15:27:46) $
mockbuild@x86-16.phx2.fedoraproject.org:/builddir/build/BUILD/openldap-2.4.26/openldap-2.4.26/build-servers/servers/slapd
[root@server schema]# slaptest -v -d9 -f ./dns-dyndb.schema -F ../slapd.d/cn=config/cn=schema/ slaptest init: initiated tool. slap_sasl_init: initialized! bdb_back_initialize: initialize BDB backend bdb_back_initialize: Berkeley DB 5.2.36: (September 14, 2011) hdb_back_initialize: initialize HDB backend hdb_back_initialize: Berkeley DB 5.2.36: (September 14, 2011) null_back_initialize: initialize null backend backend_startup_one: starting "cn=config" ./dns-dyndb.schema: line 296 objectclass: AttributeType not found: "ARecord" slaptest: bad configuration directory!
Since the cosine schema is loaded, the ARecord AttributeType is available for reference by this schema, but it does not seem to load. am i missing something obvious? can anyone shed light on this?
to make sure i was going about this right, i also tried it this way:
[root@server openldap]# cat this.out include /etc/openldap/schema/dns-dyndb.schema [root@server openldap]# slaptest -v -d9 -f /etc/openldap/this.out -F /etc/openldap/slapd.d/ slaptest init: initiated tool. slap_sasl_init: initialized! bdb_back_initialize: initialize BDB backend bdb_back_initialize: Berkeley DB 5.2.36: (September 14, 2011) hdb_back_initialize: initialize HDB backend hdb_back_initialize: Berkeley DB 5.2.36: (September 14, 2011) null_back_initialize: initialize null backend backend_startup_one: starting "cn=config" /etc/openldap/schema/dns-dyndb.schema: line 296 objectclass: AttributeType not found: "ARecord" slaptest: bad configuration directory!
still got the error...