[Date Prev][Date Next]
Re: Finding 'department' in Outlook 2002
> I found in 2001 year archives unresolved problem: how to be able to get
> Outlook 2002 to do "department" searches from an OpenLDAP directory?
> Slapd debug shows:
> conn=1 op=2 SRCH base="o=IL" scope=2 filter="(&(undefined)(undefined))"
> On the other hand someone has put that problem in
> and there is no resolution. Is this problem of slapd or Outlook 2002?
> Has anybody found the solution since 2001 year?
1) use a bit more debug to see what else is getting thru; I see 2
undefined parts of the filter, not just (allegedly)
2) "department" has to be defined in slapd's schema; there seems to be no
standard track of an attributeType called "department", although I see a
attributetype ( 1.2.840.1135184.108.40.206
in a microsoft.schema file that is (or has been) distributed with slapd.
Since no equality (nor substr) rule is defined for it, it cannot be used
If you need to filter for "department", then slapd is not the right tool
unless you can provide an appropriate specification for that attribute
type, i.e. add an appropriate equality rule to the specification provided
If you don't, and your only problem is that outlook is using "department"
in a filter (and it's OR-ed, so that a non-match doesn't result in an
empty result) you can try to strip it from the search filter. You can do
it (if you use the right version, for sure 2.2.latest) via back-ldap, by
proxying the actual DSA, and using a rewrite rule like
rewriteRule "^(.*)\(department=[^)]+\)(.*)$" "%1%2"
rewriteRule "^$" "(objectClass=*)" "@"
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497