I have a Mac I have installed openLDAP on (using Macports). I have gotten the system up and am able to create objects. The only schema I have configured in the slapd.conf is core.schema.
I am looking to add nis.schema, but when i try this the
slapd -d3 command won't work for me. Specifically, it says:
5b994529 @(#) $OpenLDAP: slapd 2.4.28 (Oct 14 2016 16:25:43) $ email@example.com:/Library/Caches/com.apple.xbs/Binaries/OpenLDAP/OpenLDAP-523.30.2~39/TempContent/Objects/servers/slapd 5b994529 daemon: SLAP_SOCK_INIT: dtblsize=256 5b994529 daemon_init: listen on ldap:/// 5b994529 daemon_init: 1 listeners to open... ldap_url_parse_ext(ldap:///) 5b994529 daemon: listener initialized ldap:/// 5b994529 daemon_init: 2 listeners opened 5b994529 daemon_init: DNSServiceRegister ldap_create 5b994529 slapd init: initiated server. 5b994529 int pws_auxprop_init(const sasl_utils_t *, int, int *, sasl_auxprop_plug_t **, const char *): entered5b994529 slap_sasl_init: initialized! 5b994529 bdb_back_initialize: initialize BDB backend 5b994529 bdb_back_initialize: Berkeley DB 4.7.25: (May 15, 2008) 5b994529 hdb_back_initialize: initialize HDB backend 5b994529 hdb_back_initialize: Berkeley DB 4.7.25: (May 15, 2008) 5b994529 ==> OD Locales overlay initialize called 5b994529 ==> translucent_initialize 5b994529 slapd destroy: freeing system resources. 5b994529 slapd stopped. 5b994529 connections_destroy: nothing to destroy. tlsst_destroy()
I'm unable to locate any logs for this to narrow down the cause. How can I import this schema and still have slapd run successfully?
I have run slapd -d-1 for additional logging. I can provide the full log if needed, but I am seeing the following as the likely culprit:
5b9a54a1 /opt/local/etc/openldap/schema/nis.schema: line 203 (objectclass ( 22.214.171.124.126.96.36.199 NAME 'ipHost' DESC 'Abstraction of a host, an IP device' SUP top AUXILIARY MUST ( cn $ ipHostNumber ) MAY ( l $ description $ manager ) )) 5b9a54a1 /opt/local/etc/openldap/schema/nis.schema: line 203 objectclass: AttributeType not found: "manager"
Is this a dependency I am missing?