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

RE: OpenLDAP and Outlook 98 it's working...thanks



Peace!

Thank you to Bernard Gardner,Michael Str der
Jan-Piet Mens and jfulmer for thier immediate
response.

>From the analysis of Bernard gardner I realized
that the main query of Outlook 98 is the mail
attribute (is it correct to call it an attribute?)
So from the standard format of:

dn: cn=root, dc=maitland, dc=com.ph
cn: root
sn: root
objectclass: person
objectclass: top

I added the mail attribute so it looks like this:

dn: cn=root, dc=maitland, dc=com.ph
cn: root
sn: root
mail: root@maitland.com.ph
objectclass: person
objectclass: top

and I entered a blank search  in the Tools->Find
in the address book of Outlook 98 and retrieved
all the available addresses within.

Once again thank you very very much.

GOD BLESS!

*************************
Andrew John Young
Programmer/Analyst
Maitland Smith
MEPZ,Lapu-Lapu
ayoung@ms-cebu.amanet.net
*************************

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of
bernard.gardner@au.uu.net
Sent: Wednesday, February 02, 2000 1:30 PM
To: ayoung@ms-cebu.amanet.net
Cc: openldap-software@OpenLDAP.org
Subject: 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.