您好,登錄后才能下訂單哦!
雖然主從配置提供了ldap的高可用性,但是當Master節點掛了的時候,還是需要做一些配置才能讓Slave節點接管主節點的工作,但是多主的情況下,就可以直接替換主節點,甚至還可以使用keepalived來實現無縫切換。雖然官方給出的openldap 2.4有好幾種replication的配置方法,但是以實際應用而言,還是syncrepl和mirror兩種模式使用較多,所以這里來操作一下mirror mode。
環境說明:
直接在上一篇的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
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。