In real environment, JCSI, SECOM, JPKI and LGPKI LDAP servers are refered as referral. However only JCSI and SECOM LDAP servers will be refered as referral.
When you want to assign multiple IP addresses to one Linux machine, you can use virtual host function. See here for detail.
# 1. move into LDIF data directory for 'ldap1' server. % cd /usr/local/cpki/testcase/cpki2002jpki2/data/ldif/ldap1 (default) # 2. clear all DITs on the LDAP server 'ldap1'. % cpki_ldapclean -h ldap1 # 3. set the LDIF file to 'ldap1' LDAP server. % cpki_ldapadd -h ldap1 -f z.ldif # 4. move into LDIF data directory for 'ldap2' server. % cd /usr/local/cpki/testcase/cpki2002jpki2/data/ldif/ldap2 (default) # 5. clear all DITs on the LDAP server 'ldap2'. % cpki_ldapclean -h ldap2 # 6. set the LDIF file to 'ldap2' LDAP server. % cpki_ldapadd -h ldap2 -f z.ldif # 7. move into LDIF data directory for 'ldap3' server. % cd /usr/local/cpki/testcase/cpki2002jpki2/data/ldif/ldap3 (default) # 8. clear all DITs on the LDAP server 'ldap3'. % cpki_ldapclean -h ldap3 # 9. set the LDIF file to 'ldap3' LDAP server. % cpki_ldapadd -h ldap3 -f z.ldif
# 1. move into LDIF data directory for 'ldap2' server which is # fake JCSI repository. % cd /usr/local/cpki/testcase/cpki2002jpki2/data/ldif/ldap2 (default) # 2. delete old data. % make clean # 3. rebuild LDIF file. % make z.ldif