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

Re: No entries found by outlook



Outlook has a bug, whereby on some occasions, but not always, if you
have
no entry in Outlook's LDAP setting for the search base, instead of
leaving
it blank, outlook sends the query with O=UK (or whatever your default
country is set to).  I believe it happens when you type in a search base
in
outlook, and then remove it.  It would appear that outlook doesn't like
a
blank search base, but doesn't tell you so.

It should work if you put dc=bc,dc=com in the search base in Outlook's
LDAP
entry.

There is a registry entry where the stupid default is kept, somewhere
around:
HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\00000001 called LDAP Search Base

(the number 00000001 varies depending on how many accounts there are, so
search for LDAP search base in regedit).
If you find the relevant key, you may see that it contains a value, even
if
the search base box in outlook is blank.  You can set the contents of
the
key to blank, and then outlook will send an empty seach base, which may
or
may not be what you want, depending on your organization.  In any case,
outlook's default of O=[country] is silly.

Best Regards,
Brian



"Turenne, Eric" wrote:

> From the LDAP server, I do a ldapsearch and can get information in LDAP
> database without any problem, example:
>
> ldapsearch -b 'cn=Staff,dc=bc,dc=com' sn mail
>
> <info>
>
> <info>
> <info>
> <info>
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 3
> # numEntries: 2
>
> But when I do this using Outlook, (from another machine) I get a ?no
> entry found? and in my server log I can see: ldap_read: want=1
> error=Resource temporarily unavailable
>
> I don?t think it?s an access problem since I have: ?access to * by *
> read? in my slapd.conf
>
> Anyone knows what might cause this.
>
> Still (NEWBIE) Eric