Specifying a supplier DN and password for a subtree

You can specify a supplier DN and PW for a particular subtree. You can perform the steps provided here to do the same.

Procedure

  1. Start the consumer servers.
  2. You must configure replica1 to be a replica server. Do the following step to add an entry to the ibmslapd.conf file on replica1:
    idsldapmodify -D <admin_dn> -w <admin_pw> -I <instance_name> -i <LDIF_file>
    where <LDIF_file> contains the following settings:
    dn: cn=Master Server, cn=configuration 
    cn: Master Server 
    ibm-slapdMasterDN: cn=master 
    ibm-slapdMasterPW: <masterserverpassword> 
    ibm-slapdMasterReferral: ldap://<masterhostname:masterport> 
    objectclass: ibm-slapdReplication 
    dn: cn=Supplier s1, cn=configuration 
    cn: Supplier s1 
    ibm-slapdMasterDN: cn=s1 
    ibm-slapdMasterPW: s1 
    ibm-slapdReplicaSubtree: ou=Test, o=sample 
    objectclass: ibm-slapdSupplier
  3. Save the ibmslapd.conf file.
  4. Restart replica1.