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

multi master replication



I have 2 questions regarding multi master replication:

1. I built openldap 2.4.40 from source and according to the makefile, the module directory should be at /usr/local/libexec/openldap.

    However I do not see such a folder. Am I missing something? The options I used with configure were "--enable-debug --enable-modules --enable-hdb --enable-monitor --enable-ppolicy --enable-syncprov --with-tls --with-cyrus-sasl"

    I am asking because the multi master replication example (http://www.openldap.org/doc/admin24/replication.html) needs me to load the syncprov.la module, but I am not sure if the modulepath given there is correct or not.

2. Are the ldifs mentioned in the example enough with the following slapd.conf file I have?
    include         /usr/local/etc/openldap/schema/core.schema
    include         /usr/local/etc/openldap/schema/cosine.schema
    include         /usr/local/etc/openldap/schema/inetorgperson.schema
    include         /usr/local/etc/openldap/schema/misc.schema
    include         /usr/local/etc/openldap/schema/nis.schema
    include         /usr/local/etc/openldap/schema/ppolicy.schema

    #custom password quality checker module location
    modulepath      /usr/local/lib

    moduleload      back_hdb.la
    moduleload      ppolicy.la
    moduleload      syncprov.la

​    ​database        hdb
    suffix          "dc=example,dc=com"
    rootdn          "cn=manager,dc=example,dc=com"
    rootpw          *rootpw*

    access to *
            by dn="cn=manager,dc=example,dc=com" write
            by self write
            by * read

    directory       /usr/local/var/openldap-data
    # Indices to maintain
    index   objectClass     eq

    overlay         ppolicy
    ppolicy_default "cn=default,ou=Policies,dc=example,dc=com"

    overlay                 syncprov
    syncprov-checkpoint     100 10
    syncprov-sessionlog     100

    loglevel        256

    TLSCACertificateFile    path_to_ca_certificate
    TLSCertificateFile      path_to_certificate_file
    TLSCertificateKeyFile   path_to_certificate_key_file

​I am new to openLDAP and not sure how to set up muti master replication properly.​

--
-Guruprasad