[Date Prev][Date Next] [Chronological] [Thread] [Top]

Troubles enabling ACI



Hello!

We're developing project based on OpenLDAP server ver. 2.1.8. The project is
a highly customized address book with large amounts of data being stored in
server.

Now we're about to enable the ACI. For this we defined the macro #define
SLAPD_ACI_ENABLED in include/portable.nt and compiled OpenLDAP. But when we
added the following objectclass definition into core.scheme (as it's
described in http://www.openldap.org/faq/data/cache/634.html):

   objectclass ( 1.3.6.1.4.1.10755.1.2.1.6
        NAME 'OpenLDAPacl'
        DESC 'OpenLDAP access control information'
        SUP top STRUCTURAL
        MUST    ( objectclass )
        MAY     ( OpenLDAPaci ) )

and started slapd with command line C:\OpenLDAP\slapd.exe -f slapd.conf -d
1 -h ldap://0.0.0.0:389
we got error:

   starting slapd...
   entry is = [c:\OpenLDAP\saslANONYMOUS.dll]
   entry is = [c:\OpenLDAP\saslKERBEROSV4.dll]
   Unable to dlopen c:\OpenLDAP\saslKERBEROSV4.dll: 1114
   entry is = [c:\OpenLDAP\saslPLAIN.dll]
   entry is = [c:\OpenLDAP\saslCRAM.dll]
   entry is = [c:\OpenLDAP\saslSCRAM.dll]
   OpenLDAP 2.X Standalone LDAP Server (slapd)daemon_init: listen on
ldap://0.0.0.0:389
   daemon_init: 1 listeners to open...
   ldap_url_parse_ext(ldap://0.0.0.0:389)
   daemon: initialized ldap://0.0.0.0:389
   daemon_init: 1 listeners opened
   slapd.exe init: initiated server.
   entry is = [c:\OpenLDAP\saslANONYMOUS.dll]
   entry is = [c:\OpenLDAP\saslKERBEROSV4.dll]
   Unable to dlopen c:\OpenLDAP\saslKERBEROSV4.dll: 1114
   entry is = [c:\OpenLDAP\saslPLAIN.dll]
   entry is = [c:\OpenLDAP\saslCRAM.dll]
   entry is = [c:\OpenLDAP\saslSCRAM.dll]
   slap_sasl_init: initialized!
   bdb_open: initialize BDB backend
   bdb_open: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
   C:\OpenLDAP\schema\core.schema: line 477: user-defined ObjectClass has
inappropriate SUPerior:
   "( 1.3.6.1.4.1.10755.1.2.1.6        NAME 'OpenLDAPacl'
   DESC 'OpenLDAP access control information'
   SUP top STRUCTURAL
   MUST    ( objectclass )
   MAY     ( OpenLDAPaci) )"
   slapd.exe shutdown: freeing system resources.
   slapd stopped.
   connections_destroy: nothing to destroy.

What's wrong here? Schema? Server? Any suggestions?
We'll appreciate if you give us an answer in the nearest time.

Many thanks in advance.


Michael Hersonsky, Developer