ldap replication

Discussion in 'Server Operation' started by anandx, Dec 6, 2008.

  1. anandx

    anandx New Member HowtoForge Supporter

    Hi,

    I am looking for some ldap replication guide. I have a single ldap server which i would like to replicate to 2 slaves.

    Tried to enable the example inside slapd.conf

    Code:
    replogfile /var/lib/ldap/openldap-master-replog
    
    replica uri=ldap://1.1.1.1:389
    suffix="dc=XXXXXXX,dc=com"
    binddn="cn=Manager,dc=XXXXXXX,dc=com"
    bindmethod=simple
    
    In the above, 1.1.1.1 is my slave server ip.

    When i enable the above, and try to restart openldap service, it gives me the following error

    Code:
    /etc/init.d/ldap start
    Checking configuration files for slapd:  config file testing succeeded
                                                               [  OK  ]
    Starting slapd:                                            [  OK  ]
    Starting slurpd: Error: Malformed "replica" line in slapd config file, line 174
    Warning: failed to add replica "1.1.1.1:389 - ignoring replica
                                                               [  OK  ]
    
    Any help on this would be appreciated.
     
  2. anandx

    anandx New Member HowtoForge Supporter

    Anyone ???
     

Share This Page