If I do "ldapsearch [EMAIL PROTECTED]", it finds the user.

If I do "ldapsearch 'maillocaladdress=som*'", it returns nothing.

With loglevel set to 800:

May 3 18:33:47 ldap05 slapd[31045]: @(#) $OpenLDAP: slapd 2.3.21 (May 3 2006 17:58:33) $ root
@ldap05.peak.org:/usr/src/ports/net/openldap23-server/work/openldap-2.3.21/servers/slapd

...

May 3 19:12:27 ldap05 slapd[31046]: conn=5 fd=15 ACCEPT from IP=172.20.0.249:3503 (IP=0.0.0.0:636) May 3 19:12:27 ldap05 slapd[31046]: conn=5 fd=15 TLS established tls_ssf=256 ssf=256
May  3 19:12:27 ldap05 slapd[31046]: conn=5 op=0 BIND dn="" method=128
May  3 19:12:27 ldap05 slapd[31046]: conn=5 op=0 RESULT tag=97 err=0 text=
May  3 19:12:27 ldap05 slapd[31046]: begin get_filter
May  3 19:12:27 ldap05 slapd[31046]: SUBSTRINGS
May  3 19:12:27 ldap05 slapd[31046]: begin get_ssa
May  3 19:12:27 ldap05 slapd[31046]:   INITIAL
May  3 19:12:27 ldap05 slapd[31046]:   FINAL
May  3 19:12:27 ldap05 slapd[31046]: end get_ssa
May  3 19:12:27 ldap05 slapd[31046]: end get_filter 0
May 3 19:12:27 ldap05 slapd[31046]: conn=5 op=1 SRCH base="dc=peak,dc=org,o=Internet" scope=2 deref
=0 filter="([EMAIL PROTECTED])"
May  3 19:12:27 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:27 ldap05 slapd[31046]:    AND
May  3 19:12:27 ldap05 slapd[31046]: => bdb_list_candidates 0xa0
May  3 19:12:27 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:27 ldap05 slapd[31046]:    OR
May  3 19:12:27 ldap05 slapd[31046]: => bdb_list_candidates 0xa1
May  3 19:12:27 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:27 ldap05 slapd[31046]:    EQUALITY
May 3 19:12:27 ldap05 slapd[31046]: <= bdb_filter_candidates: id=0 first=0 last=0
May  3 19:12:27 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:27 ldap05 slapd[31046]:    SUBSTRINGS
May 3 19:12:27 ldap05 slapd[31046]: <= bdb_substring_candidates: (mailLocalAddress) index_param fai
led (18)
May 3 19:12:27 ldap05 slapd[31046]: <= bdb_filter_candidates: id=-1 first=1 last=25582 May 3 19:12:27 ldap05 slapd[31046]: <= bdb_list_candidates: id=-1 first=1 last=25582 May 3 19:12:27 ldap05 slapd[31046]: <= bdb_filter_candidates: id=-1 first=1 last=25582 May 3 19:12:27 ldap05 slapd[31046]: <= bdb_list_candidates: id=-1 first=1 last=25582 May 3 19:12:27 ldap05 slapd[31046]: <= bdb_filter_candidates: id=-1 first=1 last=25582
May  3 19:12:27 ldap05 slapd[31046]: => test_filter
May  3 19:12:27 ldap05 slapd[31046]:     SUBSTRINGS
May  3 19:12:27 ldap05 slapd[31046]: begin test_substrings_filter
May  3 19:12:27 ldap05 slapd[31046]: end test_substrings_filter 5
May  3 19:12:27 ldap05 slapd[31046]: <= test_filter 5
May  3 19:12:27 ldap05 slapd[31046]: => test_filter
May  3 19:12:27 ldap05 slapd[31046]:     SUBSTRINGS

... repeat last 5 lines a bunch, often with filter 18 instead of 5

May  3 19:12:34 ldap05 slapd[31046]: => test_filter
May  3 19:12:34 ldap05 slapd[31046]:     SUBSTRINGS
May  3 19:12:34 ldap05 slapd[31046]: begin test_substrings_filter
May  3 19:12:34 ldap05 slapd[31046]: end test_substrings_filter 18
May  3 19:12:34 ldap05 slapd[31046]: <= test_filter 18
May 3 19:12:34 ldap05 slapd[31046]: conn=5 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
May  3 19:12:34 ldap05 slapd[31046]: conn=5 op=2 UNBIND
May  3 19:12:34 ldap05 slapd[31046]: conn=5 fd=15 closed
May 3 19:12:42 ldap05 slapd[31046]: conn=6 fd=15 ACCEPT from IP=172.20.0.249:3504 (IP=0.0.0.0:636) May 3 19:12:42 ldap05 slapd[31046]: conn=6 fd=15 TLS established tls_ssf=256 ssf=256
May  3 19:12:42 ldap05 slapd[31046]: conn=6 op=0 BIND dn="" method=128
May  3 19:12:42 ldap05 slapd[31046]: conn=6 op=0 RESULT tag=97 err=0 text=
May  3 19:12:42 ldap05 slapd[31046]: begin get_filter
May  3 19:12:42 ldap05 slapd[31046]: EQUALITY
May  3 19:12:42 ldap05 slapd[31046]: end get_filter 0


For a fixed equality match:

May 3 19:12:42 ldap05 slapd[31046]: conn=6 fd=15 ACCEPT from IP=172.20.0.249:3504 (IP=0.0.0.0:636) May 3 19:12:42 ldap05 slapd[31046]: conn=6 fd=15 TLS established tls_ssf=256 ssf=256
May  3 19:12:42 ldap05 slapd[31046]: conn=6 op=0 BIND dn="" method=128
May  3 19:12:42 ldap05 slapd[31046]: conn=6 op=0 RESULT tag=97 err=0 text=
May  3 19:12:42 ldap05 slapd[31046]: begin get_filter
May  3 19:12:42 ldap05 slapd[31046]: EQUALITY
May  3 19:12:42 ldap05 slapd[31046]: end get_filter 0
May 3 19:12:42 ldap05 slapd[31046]: conn=6 op=1 SRCH base="dc=peak,dc=org,o=Internet" scope=2 deref
=0 filter="([EMAIL PROTECTED])"
May  3 19:12:42 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:42 ldap05 slapd[31046]:    AND
May  3 19:12:42 ldap05 slapd[31046]: => bdb_list_candidates 0xa0
May  3 19:12:42 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:42 ldap05 slapd[31046]:    OR
May  3 19:12:42 ldap05 slapd[31046]: => bdb_list_candidates 0xa1
May  3 19:12:42 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:42 ldap05 slapd[31046]:    EQUALITY
May 3 19:12:42 ldap05 slapd[31046]: <= bdb_filter_candidates: id=0 first=0 last=0
May  3 19:12:42 ldap05 slapd[31046]: => bdb_filter_candidates
May  3 19:12:42 ldap05 slapd[31046]:    EQUALITY
May 3 19:12:42 ldap05 slapd[31046]: <= bdb_filter_candidates: id=1 first=11730 last=11730 May 3 19:12:42 ldap05 slapd[31046]: <= bdb_list_candidates: id=1 first=11730 last=11730 May 3 19:12:42 ldap05 slapd[31046]: <= bdb_filter_candidates: id=1 first=11730 last=11730 May 3 19:12:42 ldap05 slapd[31046]: <= bdb_list_candidates: id=1 first=11730 last=11730 May 3 19:12:42 ldap05 slapd[31046]: <= bdb_filter_candidates: id=1 first=11730 last=11730
May  3 19:12:42 ldap05 slapd[31046]: => test_filter
May  3 19:12:42 ldap05 slapd[31046]:     EQUALITY
May  3 19:12:42 ldap05 slapd[31046]: <= test_filter 6
May 3 19:12:42 ldap05 slapd[31046]: conn=6 op=1 ENTRY dn="uid=vanyel,dc=peak,dc=org,o=internet" May 3 19:12:42 ldap05 slapd[31046]: conn=6 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
May  3 19:12:42 ldap05 slapd[31046]: conn=6 op=2 UNBIND
May  3 19:12:42 ldap05 slapd[31046]: conn=6 fd=15 closed


--
NOTE TO OUTLOOK USERS: If you have problems replying to this, some
versions of Outlook have a bug in dealing with digitally signed email
like the one you're now reading.  If this is the case with your version,
before clicking Send, go to the Tools menu and make sure that "Digitally
Sign" is not checked (unless you actually have a digital certificate,
but most people don't yet, unfortunately).

Alan Batie

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to