Configuring openldap as an address server for Netscape Messenger

Intro

Setting up the Server

  1. Install all the approriate software

  2. Configure the software for your approriate settings.

  3. Add the neccessary objects for addressing to work.
    ---- cut here: do not include this line  ----------
    include         /etc/openldap/local.at.conf
    include         /etc/openldap/local.oc.conf
    ---- cut here: do not include this line ----------
    
    
    ---- cut here: do not include this line -------------
    objectclass inetOrgPerson
            requires
                    objectClass,
                    sn,
                    cn
            allows
                    audio,
                    businessCategory,
                    carLicense,
                    departmentNumber,
                    employeeNumber,
                    employeeType,
                    givenName,
                    homePhone,
                    homePostalAddress,
                    initials,
                    jpegphoto,
                    labeledURI,
                    mail,
                    manager,
                    mobile,
                    pager,
                    photo,
                    roomNumber,
                    secretary,
                    uid,
                    userCertificate,
                    x500uniqueIdentifier,
                    preferredLanguage,
                    userSMIMECertificate,
                    userPKCS12
    ---- cut here: do not include this line -------------
    

    For /etc/openldap/local.at.conf I jsut copied the contents of /etc/openldap/slapd.at.conf. ie:

    ---- cut here: do not include this line -------------
    attribute       photo                                   bin
    attribute       personalsignature                       bin
    attribute       jpegphoto                               bin
    attribute       audio                                   bin
    attribute       labeledurl                              ces
    attribute       ref                                             ces
    attribute       userpassword                            ces
    attribute       telephonenumber                         tel
    attribute       facsimiletelephonenumber        fax     tel
    attribute       pagertelephonenumber            pager   tel
    attribute       homephone                               tel
    attribute       mobiletelephonenumber           mobile  tel
    attribute       aliasedObjectName                       dn
    attribute       member                                  dn
    attribute       owner                                   dn
    attribute       seealso                                 dn
    attribute       manager                                 dn
    attribute       documentauthor                          dn
    attribute       secretary                               dn
    attribute       lastmodifiedby                          dn
    attribute       associatedname                          dn
    attribute       naminglink                              dn
    attribute       reciprocalnaminglink                    dn
    attribute       dn                                      dn
    ---- cut here: do not include this line ----------------
    
--- migrate_aliases.pl~ Mon Sep 13 19:56:03 1999
+++ migrate_aliases.pl  Wed Dec  1 14:08:37 1999
@@ -65,6 +65,7 @@
        local(@aliases) = split(/,/, $memberstr);
        print $HANDLE "dn: cn=$name,$NAMINGCONTEXT\n";
        print $HANDLE "cn: $name\n";
+       print $HANDLE "mail: $name@","$DEFAULT_MAIL_DOMAIN\n";
        print $HANDLE "objectClass: nisMailAlias\n";
        print $HANDLE "objectClass: top\n";
        foreach $_ (@aliases) {