[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: OpenLDAP and Outlook 98



> Can anyone tell me what's happening here, please ?

[ Netscape client ]
> Feb  2 11:15:55 localhost slapd[589]: conn=1 op=1 SRCH
> base="DC=MAITLAND,DC=COM.PH" scope=2 filter="(cn=*)"
> Feb  2 11:15:55 localhost slapd[589]: conn=1 op=1 RESULT err=0 tag=101
> nentries=2

[ Outlook client ]
> Feb  2 11:30:08 localhost slapd[609]: conn=5 op=1 SRCH
> base="DC=MAITLAND,DC=COM.PH" scope=2
> filter="(&(mail=*)(|(mail=\*)(|(cn=\*)(|(sn=\*)(givenname=\*)))))"
> Feb  2 11:30:08 localhost slapd[609]: conn=5 op=1 RESULT err=0 tag=101
> nentries=0

Netscape does a search for any entries matching the filter
cn=*

This will return any entries with a cn (Common Name) attribute,
(with any value) of which your directory has 2. This is what
you expect.

Outlook does a search for any entries matching the filter
(&(mail=*)(|(mail=\*)(|(cn=\*)(|(sn=\*)(givenname=\*)))))

Roughly translated, this reads like "Entries with a mail
attribute, that have one of the mail, cn, sn or givenname
attributes equal to the value '*'"., of which your directory
has none. This is perhaps not what you expect, or want, but
OpenLDAP and Outlook are both behaving correctly.

Try a search in Outlook, where you enter the exact value stored
in one of the cn, sn, givenname or mail attributes, and see
if it finds the entry.

Bernard.