问题与主从ldapconfiguration
我正在configuration主从ldapconfiguration。 最初我在主机上安装LDAP,也安装在从机上 apt-get install -y slapd ldap-utils 在主机中安装LDAP时,我configuration了主机ldap,具体如下: 主细节 ubuntu.somedc.local domain somedc.local dc=somedc,dc=local 奴隶细节 slave.mysomedc.local domain mysomedc.local dc=mysomedc,dc=local 在主机上,我在slapd.conf文件里面configuration了slaveconfiguration这是主机slapd.conf文件中configuration的configuration replica uri=ldap://ldaptest.somedc.local:389 binddn="cn=somecommonname,dc=somedc,dc=local" bindmethod=simple credentials=******** replogfile /var/lib/ldap/replog 这里ldaptest.somecommonname.local是我的奴隶机fqdn,389是ldap端口,现在我重新启动副本服务器的slapd进程即主, /etc/init.d/slapd restart 在slave机器上,我在slapd.conf文件里configuration了主configuration这是在slave机器的slapd.conf文件中configuration的configuration updatedn cn=somecommonname,dc=somedc,dc=local updateref ldap://ubuntu.somedc.local 这里ubuntu.somedc.local是我在主服务器上的fqdn configuration完成后,我使用以下方法添加主用ldap服务器中的用户,并期望这些用户在slave ldap服务器上复制,但是用户没有显示在从属configuration中。 level1.ldif文件 dn: cn=somecommonname,dc=somedc,dc=local objectClass: inetOrgPerson objectClass: posixAccount cn: somecommonname givenName: somename sn: office uid: someuid uidNumber: 14000 gidNumber: […]