Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Re: Directory services . SQL database

New Message Reply About this list Date view Thread view Subject view Author view

Alan Hodgson (ahodgson@simkin.com)
Mon, 24 May 1999 13:09:33 -0400


On Sun, May 16, 1999 at 12:17:46AM -0700, Blaine Cook wrote:
> first, i was wondering if there is a way to create a global readable
> (ldap, or other format?) addressbook? Although pine's .addressbook
> format works alright, it would be really nice to have access to my
> email aliases from anywhere (netscape, whatever...)
>
> What program would I use for these? RH6 doesn't appear to distribute
> with any of these per default (?)

The University of Michigan slapd server works reasonably well, and
would be simple to setup for what you describe.

http://www.umich.edu/~dirsvcs/ldap/ldap.html

> second, I'm planning on using a SQL database (postgres) to maintain
> my address book and other important info. As opposed to the random
> skattering of files that existed on my drive before.
>
> I was wondering if anyone knew how i might go about creating a perl
> (re: custom) interface for my database? I'm doing it more as a learning
> experience than out of necessity...
>

Your best bet is to install DBI and the DBI driver for your database,
and use that. DBI with SQL is trivial to code (must be, since I manage
it ;)

I haven't used Postgres in years (it was really slow back then, dunno how
much better it's gotten), but have done a few projects with the DBI MySQL
interface. MySQL rocks.

-- 
Linux: because a PC is a terrible thing to waste


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Mon 24 May 1999 - 13:13:56 PDT