Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 14:28:00 +0100
From:      George Barnett <george@alink.co.za>
To:        chat@freebsd.org
Subject:   LDAP help
Message-ID:  <415420E0.8080207@alink.co.za>

next in thread | raw e-mail | index | archive | help

Hi All,

I'm busy trying to move my addressbook into ldap and I'm running into a 
snag.

Say I have the entry:

dn: cn=Doug Test,ou=addressbook,dc=alink,dc=co,dc=za
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
givenName: Doug
sn: Test
cn: Doug
mail: doug@wang.com
mail: doug@foobar.com

Now, this imports fine, but the Mozilla address book as supplied with 
Thunderbird and the MS outlooky one wont see the second email address.

I've found I'm able to do the same thing by creating another ou, eg:

dn: cn=Doug Test,ou=secondarymail,ou=addressbook,dc=alink,dc=co,dc=za
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
givenName: Doug
sn: Test
cn: Doug
mail: doug@foobar.com

One I do this, it finds both, but that's a bit kludgy - 2 entries for 
anyone with a second mail address.

Can anybody suggest a better hammer to hit this nail with?

Thanks,

George

-- 
George Barnett
Reality Engineer & Explorer

e: george@alink.co.za
m: +44 778 884 7205

Things must be as they may
       - William Shakespear, Henry V


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415420E0.8080207>