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

Re: OpenLDAP as an address book for MS Outlook

Howard Chu wrote:
> > Howard Chu wrote:
> >> You could fake this, by copying the schema definition of the
> >> supportedCapabilities attribute and loading it into slapd. You would also need
> >> to populate the values. You can use the "rootdse" directive to do that. I
> >> would guess you only need the first capability, but I don't use Outlook so
> >> have no way to verify this.
> >
> > Could you please be more specific how I can load the attribute into slapd
> > and populate it? Please refer me to an example.
> Read the slapd.conf(5) or slapd-config(5) manpage. See test000 in the test 
> suite for an example.

I have added 
rootDSE         /usr/local/etc/openldap/fakead.ldif
to slapd.conf with the following contents:

supportedCapabilities: 1.2.840.113556.1.4.800
supportedCapabilities: 1.2.840.113556.1.4.1791

Now the output from the server looks like this:

[vas@gw ~] ldapsearch -h localhost -b '' -s base + | egrep '1.2.840.113556.1.4.800|1.2.840.113556.1.4.1791|1.2.840.113556.1.4.319|1.2.840.113556.1.4.473'
supportedControl: 1.2.840.113556.1.4.473
supportedControl: 1.2.840.113556.1.4.319
SUPPORTEDCAPABILITIES: 1.2.840.113556.1.4.800
SUPPORTEDCAPABILITIES: 1.2.840.113556.1.4.1791
[vas@gw ~] 

I don't know why "SUPPORTEDCAPABILITIES" is all caps. What I know is that
the trick did not help, Outlook still does not produce a list of addresses
in the addressbook.

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN