[root@cmlin02 openldap]# vi /etc/rsyslog.conf
...
# LDAP
local4.* /var/log/ldap.log
...
[root@cmlin02 openldap]# /etc/init.d/rsyslog restart
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
[root@cmlin02 openldap]# touch /var/log/ldap.log
[root@cmlin02 openldap]# service slapd restart
[root@cmlin02 log]# tail -100f /var/log/ldap.log
...
Jul 25 10:43:24 cmlin02 slapd[10271]: conn=1019 op=196 SRCH attr=cn
Jul 25 10:43:24 cmlin02 slapd[10271]: <= bdb_equality_candidates: (member) not indexed
Jul 25 10:43:24 cmlin02 slapd[10271]: <= bdb_equality_candidates: (uniqueMember) not indexed
Jul 25 10:43:24 cmlin02 slapd[10271]: conn=1019 op=196 SEARCH RESULT tag=10
Nhận xét
Đăng nhận xét