Home | Mirror | Search

2. Secondary

過程 2.2. Secondary configure

  1. installation

    neo@slave:~$ sudo apt-get install slapd ldap-utils
    					
  2. configure

    neo@master:~$ vi /etc/ldap/slapd.conf
    updatedn        cn=admin,dc=example,dc=org
    updateref       ldap://master.example.org					
    					
  3. Import the master.ldif using slapadd.

    neo@slave:~$ sudo slapadd -c -l master.ldif
    					
comments powered by Disqus