Настраиваю адресную книгу на OpenLDAP 2.4 под Debian 6.0. Возникли проблемы с поиском записей в Outlook Express (в Thunderbird поиск проходит успешно). По логам видно что нужные записи вроде как находятся, но в Outlook Express выводится сообщение о том, что ничего не найдено. Подскажите в чем может быть проблема.
Конфиг:
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/inetorgperson.schema
loglevel -1
allow bind_v2
lastmod on
hidden off
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
access to * by * read
modulepath /usr/lib/ldap
moduleload back_hdb
database hdb
suffix "dc=mail, dc=local"
rootdn "cn=admin, dc=mail, dc=local"
rootpw {SSHA}Gfltk0Aa8vbHPTNaiW0iYYzto4eoiTPg
directory /var/lib/ldap
index objectClass eq
index cn,sn,mail pres,eq,approx,sub
Лог:
May 25 14:00:51 mail slapd[15236]: #011SUBSTRINGS
May 25 14:00:51 mail slapd[15236]: => bdb_substring_candidates (mail)
May 25 14:00:51 mail slapd[15236]: => key_read
May 25 14:00:51 mail slapd[15236]: bdb_idl_fetch_key: [c25cf5bf]
May 25 14:00:51 mail slapd[15236]: <= bdb_index_read 1 candidates
May 25 14:00:51 mail slapd[15236]: <= bdb_substring_candidates: 1, first=3, last=3
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=1 first=3 last=3
May 25 14:00:51 mail slapd[15236]: <= bdb_list_candidates: id=1 first=3 last=3
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=1 first=3 last=3
May 25 14:00:51 mail slapd[15236]: => bdb_filter_candidates
May 25 14:00:51 mail slapd[15236]: #011OR
May 25 14:00:51 mail slapd[15236]: => bdb_list_candidates 0xa1
May 25 14:00:51 mail slapd[15236]: => bdb_filter_candidates
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=0 first=0 last=0
May 25 14:00:51 mail slapd[15236]: => bdb_filter_candidates
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=0 first=0 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_list_candidates: id=0 first=0 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=0 first=0 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_list_candidates: id=0 first=3 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=0 first=3 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_list_candidates: id=0 first=0 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=0 first=0 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_list_candidates: id=0 first=2 last=0
May 25 14:00:51 mail slapd[15236]: <= bdb_filter_candidates: id=0 first=2 last=0
May 25 14:00:51 mail slapd[15236]: bdb dep8 _search_candidates: id=0 first=2 last=0
May 25 14:00:51 mail slapd[15236]: hdb_search: no candidates
May 25 14:00:51 mail slapd[15236]: send_ldap_result: conn=1001 op=1 p=3
May 25 14:00:51 mail slapd[15236]: send_ldap_result: err=0 matched="" text=""
May 25 14:00:51 mail slapd[15236]: send_ldap_response: msgid=14 tag=101 err=0
May 25 14:00:51 mail slapd[15236]: conn=1001 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
May 25 14:00:51 mail slapd[15236]: daemon: activity on 1 descriptor
May 25 14:00:51 mail slapd[15236]: daemon: activity on:
May 25 14:00:51 mail slapd[15236]: 16r
May 25 14:00:51 mail slapd[15236]:
May 25 14:00:51 mail slapd[15236]: daemon: read active on 16
May 25 14:00:51 mail slapd[15236]: daemon: epoll: listen=9 active_threads=0 tvp=NULL
May 25 14:00:51 mail slapd[15236]: daemon: epoll: listen=10 active_threads=0 tvp=NULL
May 25 14:00:51 mail slapd[15236]: daemon: epoll: listen=11 active_threads=0 tvp=NULL
May 25 14:00:51 mail slapd[15236]: connection_get(16)
May 25 14:00:51 mail slapd[15236]: connection_get(16): got connid=1001
May 25 14:00:51 mail slapd[15236]: connection_read(16): checking for input on id=1001
May 25 14:00:51 mail slapd[15236]: op tag 0x42, time 1306317651
May 25 14:00:51 mail slapd[15236]: ber_get_next on fd 16 failed errno=0 (Success)
May 25 14:00:51 mail slapd[15236]: connection_read(16): input error=-2 id=1001, closing.
May 25 14:00:51 mail slapd[15236]: connection_closing: readying conn=1001 sd=16 for close
May 25 14:00:51 mail slapd[15236]: daemon: activity on 1 descriptor
May 25 14:00:51 mail slapd[15236]: daemon: activity on:
May 25 14:00:51 mail slapd[15236]:
May 25 14:00:51 mail slapd[15236]: daemon: epoll: listen=9 active_threads=0 tvp=NULL
May 25 14:00:51 mail slapd[15236]: daemon: epoll: listen=10 active_threads=0 tvp=NULL
May 25 14:00:51 mail slapd[15236]: daemon: epoll: listen=11 active_threads=0 tvp=NULL
May 25 14:00:51 mail slapd[15236]: connection_close: deferring conn=1001 sd=16
May 25 14:00:51 mail slapd[15236]: conn=1001 op=2 do_unbind
May 25 14:00:51 mail slapd[15236]: conn=1001 op=2 UNBIND
May 25 14:00:51 mail slapd[15236]: connection_resched: attempting closing conn=1001 sd=16
May 25 14:00:51 mail slapd[15236]: connection_close: conn=1001 sd=16
May 25 14:00:51 mail slapd[15236]: daemon: removing 16
May 25 14:00:51 mail slapd[15236]: conn=1001 fd=16 closed