重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

openldap2.4双主MirrorMode配置

虽然主从配置提供了ldap的高可用性,但是当Master节点挂了的时候,还是需要做一些配置才能让Slave节点接管主节点的工作,但是多主的情况下,就可以直接替换主节点,甚至还可以使用keepalived来实现无缝切换。虽然官方给出的openldap 2.4有好几种replication的配置方法,但是以实际应用而言,还是syncrepl和mirror两种模式使用较多,所以这里来操作一下mirror mode。

创新互联公司客户idc服务中心,提供服务器托管、成都服务器、成都主机托管、成都双线服务器等业务的一站式服务。通过各地的服务中心,我们向成都用户提供优质廉价的产品以及开放、透明、稳定、高性价比的服务,资深网络工程师在机房提供7*24小时标准级技术保障。

环境说明:

    直接在上一篇的syncrepl基础上进行,因为上一篇主从配置已经从最简单的开始,保证syncrepl能成功(你只需要准备一台CentOS 6.5,然后脚本安装openldap,然后根据文中的配置进行配置一下即可),所以这里就使用上次的环境进行操作。

1、配置节点ldapsrv01(双主的情况没有Master和Slave之分)

cp /etc/openldap/slapd.conf /etc/openldap/slapd.conf.ori

vi /etc/openldap/slapd.conf

[root@ldapsrv01 ~]# diff /etc/openldap/slapd.conf.bak2016-09-20 /etc/openldap/slapd.conf

35c35

< # modulepath /usr/lib64/openldap

---

> modulepath /usr/lib64/openldap

57c57

< # moduleload syncprov.la

---

> moduleload syncprov.la

135a136,145

> # master replia server start

> ServerID          1  "ldap://ldapsrv01.contoso.com"

> ServerID          2  "ldap://ldapsrv02.contoso.com"

> overlay           syncprov

> syncprov-checkpoint  10 1

> syncprov-sessionlog  100

> syncrepl          rid=1                    provider="ldap://ldapsrv01.contoso.com"                    type=refreshAndPersist    schemachecking=off    retry="5 5 30 +"                    searchbase="dc=contoso,dc=com"    bindmethod=simple    binddn="cn=admin,dc=contoso,dc=com"    credentials=123456

> syncrepl          rid=2                    provider="ldap://ldapsrv02.contoso.com"    type=refreshAndPersist    schemachecking=off    retry="5 5 30 +"    searchbase="dc=contoso,dc=com"    bindmethod=simple    binddn="cn=admin,dc=contoso,dc=com"    credentials=123456

> MirrorMode        on

注:

注:这里对slapd.conf文件所做的修改如下:

     1)取消了modulepath /usr/lib64/openldap之前的注释

     2)取消了moduleload syncprov.la之前的注释

     3)在index nisMapName,nisMapEntry            eq,pres,sub这一行之后添加如下内容:

            # master replia server start

            ServerID          1  "ldap://ldapsrv01.contoso.com"

            ServerID          2  "ldap://ldapsrv02.contoso.com"

            overlay           syncprov

            syncprov-checkpoint  10 1

            syncprov-sessionlog  100

            syncrepl          rid=1               

                                provider="ldap://ldapsrv01.contoso.com"  

                                type=refreshAndPersist  

                                schemachecking=off  

                                retry="5 5 30 +"                     

                                searchbase="dc=contoso,dc=com"

                                bindmethod=simple                    

                                binddn="cn=admin,dc=contoso,dc=com"

                                credentials=123456

            syncrepl          rid=2                       

                                provider="ldap://ldapsrv02.contoso.com"      

                                type=refreshAndPersist                            

                                schemachecking=off                                    

                                retry="5 5 30 +"                 

                                searchbase="dc=contoso,dc=com"                

                                bindmethod=simple          

                                binddn="cn=admin,dc=contoso,dc=com"                   

                                credentials=123456

            MirrorMode        on

                    #千万不要复制我上面的配置,为了排版,我这里是换行而不是tab

rm -rf /etc/openldap/slapd.d/*

slaptest -u

slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/

chown -R ldap. /etc/openldap/slapd.d/

service slapd restart

提示:如果执行slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/出现以下警告,这是因为之前的syncrepl配置修改,只要结果是config file testing succeeded即可,不影响Mirror的配置。

[root@ldapsrv01 ~]# slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/

57e0e92f bdb_db_open: DB_CONFIG for suffix "dc=contoso,dc=com" has changed.

57e0e92f Performing database recovery to activate new settings.

57e0e92f bdb_db_open: database "dc=contoso,dc=com": recovery skipped in read-only mode. Run manual recovery if errors are encountered.

config file testing succeeded

2、配置节点ldapsrv02

cp /etc/openldap/slapd.conf /etc/openldap/slapd.conf.ori

vi /etc/openldap/slapd.conf

vi /etc/openldap/slapd.conf

注:这里对slapd.conf文件所做的修改如下:

       1)取消了modulepath /usr/lib64/openldap之前的注释

       2)取消了moduleload syncprov.la之前的注释

       3)在index nisMapName,nisMapEntry            eq,pres,sub这一行之后添加如下内容:

            # master replia server start

            ServerID          1  "ldap://ldapsrv01.contoso.com"

            ServerID          2  "ldap://ldapsrv02.contoso.com"

            overlay           syncprov

            syncprov-checkpoint  10 1

            syncprov-sessionlog  100

            syncrepl          rid=1                    provider="ldap://ldapsrv01.contoso.com"            type=refreshAndPersist    schemachecking=off    retry="5 5 30 +"            searchbase="dc=contoso,dc=com"    bindmethod=simple    binddn="cn=admin,dc=contoso,dc=com"    credentials=123456

            syncrepl          rid=2                    provider="ldap://ldapsrv02.contoso.com"    type=refreshAndPersist    schemachecking=off    retry="5 5 30 +"    searchbase="dc=contoso,dc=com"    bindmethod=simple    binddn="cn=admin,dc=contoso,dc=com"    credentials=123456

            MirrorMode        on

rm -rf /etc/openldap/slapd.d/*

slaptest -u

slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/

chown -R ldap. /etc/openldap/slapd.d/

service slapd restart

3、在节点1上进行测试

1)添加一个test用户,然后分别在两个节点上进行查询操作

[root@ldapsrv01 ~]# ldapadd -x -D "cn=admin,dc=contoso,dc=com" -w123456 -f test.ldif 

adding new entry "uid=test,ou=People,dc=contoso,dc=com"

[root@ldapsrv01 ~]# ldapsearch -x -H ldap://ldapsrv01.contoso.com -b "dc=contoso,dc=com" |grep uid=test

dn: uid=test,ou=People,dc=contoso,dc=com

[root@ldapsrv01 ~]# ldapsearch -x -H ldap://ldapsrv02.contoso.com -b "dc=contoso,dc=com" |grep uid=test

dn: uid=test,ou=People,dc=contoso,dc=com

2)删除test用户,然后分别在两个节点上进行查询操作

[root@ldapsrv01 ~]# ldapdelete -x -D "cn=admin,dc=contoso,dc=com" -w123456 "uid=test,ou=People,dc=contoso,dc=com"

[root@ldapsrv01 ~]# ldapsearch -x -H ldap://ldapsrv01.contoso.com -b "dc=contoso,dc=com" |grep uid=test

[root@ldapsrv01 ~]# ldapsearch -x -H ldap://ldapsrv02.contoso.com -b "dc=contoso,dc=com" |grep uid=test

4、在节点2上进行测试

1)添加一个test用户,然后分别在两个节点上进行查询操作

[root@ldapsrv02 ~]# ldapadd -x -D "cn=admin,dc=contoso,dc=com" -w123456 -f test.ldif

adding new entry "uid=test,ou=People,dc=contoso,dc=com"

[root@ldapsrv02 ~]# ldapsearch -x -H ldap://ldapsrv01.contoso.com -b "dc=contoso,dc=com" |grep uid=test

dn: uid=test,ou=People,dc=contoso,dc=com

[root@ldapsrv02 ~]# ldapsearch -x -H ldap://ldapsrv02.contoso.com -b "dc=contoso,dc=com" |grep uid=test

dn: uid=test,ou=People,dc=contoso,dc=com

2)删除test用户,然后分别在两个节点上进行查询操作

[root@ldapsrv02 ~]# ldapdelete -x -D "cn=admin,dc=contoso,dc=com" -w123456 "uid=test,ou=People,dc=contoso,dc=com"

[root@ldapsrv02 ~]# ldapsearch -x -H ldap://ldapsrv01.contoso.com -b "dc=contoso,dc=com" |grep uid=test

[root@ldapsrv02 ~]# ldapsearch -x -H ldap://ldapsrv02.contoso.com -b "dc=contoso,dc=com" |grep uid=test

两个节点上测试,数据可以双向同步,mirror模式配置成功。

注意:mirror不区分主从,每个节点都可以进行数据的增删改查,而syncrepl模式中,从节点是只读的,而无法进行数据的增删和修改等操作。

5、ldap同步日志记录

Sep 20 16:00:44 ldapsrv02 slapd[2214]: connection_resched: attempting closing conn=1005 sd=22

Sep 20 16:00:44 ldapsrv02 slapd[2214]: daemon: removing 22

Sep 20 16:00:44 ldapsrv02 slapd[2214]: conn=1005 fd=22 closed

Sep 20 16:00:44 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:00:44 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:00:44 ldapsrv02 slapd[2214]: 

Sep 20 16:00:44 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:00:44 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:00:44 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 busy

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: listen=8, new connection on 22

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: added 22r (active) listener=(nil)

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 fd=22 ACCEPT from IP=[::1]:42664 (IP=[::]:389)

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]:  22r

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: read active on 22

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 op=0 BIND dn="cn=admin,dc=contoso,dc=com" method=128

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 op=0 BIND dn="cn=admin,dc=contoso,dc=com" mech=SIMPLE ssf=0

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 op=0 RESULT tag=97 err=0 text=

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]:  22r

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: read active on 22

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 op=1 DEL dn="uid=test,ou=People,dc=contoso,dc=com"

Sep 20 16:01:13 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:13 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:13 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 op=1 RESULT tag=107 err=0 text=

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]:  22r

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: read active on 22

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 op=2 UNBIND

Sep 20 16:01:13 ldapsrv02 slapd[2214]: connection_closing: readying conn=1006 sd=22 for close

Sep 20 16:01:13 ldapsrv02 slapd[2214]: connection_resched: attempting closing conn=1006 sd=22

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: removing 22

Sep 20 16:01:13 ldapsrv02 slapd[2214]: conn=1006 fd=22 closed

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:13 ldapsrv02 slapd[2214]: 

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:13 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 busy

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: listen=7, new connection on 22

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: added 22r (active) listener=(nil)

Sep 20 16:01:27 ldapsrv02 slapd[2214]: conn=1007 fd=22 ACCEPT from IP=192.168.49.139:58869 (IP=0.0.0.0:389)

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]:  22r

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: read active on 22

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: conn=1007 op=0 BIND dn="" method=128

Sep 20 16:01:27 ldapsrv02 slapd[2214]: conn=1007 op=0 RESULT tag=97 err=0 text=

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]:  22r

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: read active on 22

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: begin get_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]: PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: end get_filter 0

Sep 20 16:01:27 ldapsrv02 slapd[2214]: conn=1007 op=1 SRCH base="dc=contoso,dc=com" scope=2 deref=0 filter="(objectClass=*)"

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => bdb_filter_candidates

Sep 20 16:01:27 ldapsrv02 slapd[2214]: #011AND

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => bdb_list_candidates 0xa0

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => bdb_filter_candidates

Sep 20 16:01:27 ldapsrv02 slapd[2214]: #011PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= bdb_filter_candidates: id=-1 first=1 last=12

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= bdb_list_candidates: id=-1 first=1 last=12

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= bdb_filter_candidates: id=-1 first=1 last=12

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: => test_filter

Sep 20 16:01:27 ldapsrv02 slapd[2214]:     PRESENT

Sep 20 16:01:27 ldapsrv02 slapd[2214]: <= test_filter 6

Sep 20 16:01:27 ldapsrv02 slapd[2214]: conn=1007 op=1 SEARCH RESULT tag=101 err=0 nentries=10 text=

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]:  22r

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: read active on 22

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: conn=1007 op=2 UNBIND

Sep 20 16:01:27 ldapsrv02 slapd[2214]: connection_closing: readying conn=1007 sd=22 for close

Sep 20 16:01:27 ldapsrv02 slapd[2214]: connection_resched: attempting closing conn=1007 sd=22

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: removing 22

Sep 20 16:01:27 ldapsrv02 slapd[2214]: conn=1007 fd=22 closed

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on 1 descriptor

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: activity on:

Sep 20 16:01:27 ldapsrv02 slapd[2214]: 

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=7 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=8 active_threads=0 tvp=zero

Sep 20 16:01:27 ldapsrv02 slapd[2214]: daemon: epoll: listen=9 active_threads=0 tvp=zero


网站名称:openldap2.4双主MirrorMode配置
URL网址:http://cqcxhl.com/article/gjhcgc.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP