Ldap Master slave
I configured Ldap in master slave.
I have edited both the slapd file and ldap file of master and slave.
now just tell me how the replication process works.
i had manually copied the ldif files from master database to slave
when i try to add those ldif files in slave i get the following error.
root@client openldap]# slapadd -b "dc=example,dc=com" -v -l root.ldif
slapadd: could not add entry dn="dc=example,dc=com" (line=13): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
[root@client openldap]# slapadd -b "dc=example,dc=com" -v -l ldapuser.ldif
slapadd: could not add entry dn="dc=example,dc=com" (line=13): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
only dom_ldap.ldif as been added.That is directory file .
when i try to use ldapsearch command i get the following error.
[root@client ~]# ldapsearch -x -b 'dc=example,dc=com' \
> '(objectclass=*)'
ldap_bind: Can't contact LDAP server (-1)
[root@client ~]#
please tell me how to check the replication.
|