From owner-freebsd-questions Mon Feb 11 15:32:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay04.roc.frontiernet.net (alteon01e.roc.frontiernet.net [66.133.130.235]) by hub.freebsd.org (Postfix) with SMTP id 9164537B42F for ; Mon, 11 Feb 2002 15:31:48 -0800 (PST) Received: (qmail 25945 invoked from network); 11 Feb 2002 23:31:47 -0000 Received: from unknown (HELO blacklamb.mykitchentable.net) ([207.173.227.80]) (envelope-sender ) by relay04.roc.frontiernet.net (qmail-ldap-1.03) with SMTP for ; 11 Feb 2002 23:31:47 -0000 Received: from tagalong (unknown [165.107.42.196]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 22DFDEE6C6 for ; Mon, 11 Feb 2002 15:31:46 -0800 (PST) Message-ID: <000501c1b354$454be0f0$c42a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: Subject: LDAP How-To For A Newbie Date: Mon, 11 Feb 2002 15:31:45 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have successfully configured my FBSD box as a mail server with IMAP (yayyy!) and it seems to be working fine. I like the fact that I can get and manage my mail from anywhere and it's always the same as I left it. I use various clients such as Outlook Express, Squirrelmail, and Mozilla, depending upon the device I am using to retrieve my mail. But I have found a limitation. Each client maintains it's own separate address book. The time has come for me to create on centralized address book. If I understand correctly, an LDAP server can be used for this. I have installed OpenLDAP 1.2.13 from the ports looked at the docs at www.openldap.org. I can't determine if my ldap server is working properly as the example says to issue the following command: ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts but this command returns an error as there is no "-x" option. I've tried it without the "-x " and get an error stating "no such object". Can anyone tell me what the "-x" option was supposed to do and what an equivalent command would be? Once I have my server running the way it should, I would like to export one of my Outlook Address Books and add it to the LDAP server. Short of major string manipulation, is there any other way to do it? Any tips, tricks, pointers, RTFMs, etc. will be greatly appreciated 'cause I'm a little lost right now. Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message