[Request] HOWTO build LDAP server for shared address book.

2008-02-12 Thread Wael Nasreddine
Hello,

I have never worked with LDAP but I would like to install an LDAP
server on my server and share my address book on it between all the
programs I used daily, I searched a lot on google but I couldn't find
anything except the one on ubuntu[1] which I'm not sure it'll work...

Could someone please help me building this address book, I really need
it but I have no idea how to do it on my own...

Thank you...

[1]: http://ubuntuforums.org/showthread.php?p=1582401

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpyVbqoYxusW.pgp
Description: PGP signature


Re: [Request] HOWTO build LDAP server for shared address book.

2008-02-12 Thread Erik Norgaard

Wael Nasreddine wrote:

Hello,

I have never worked with LDAP but I would like to install an LDAP
server on my server and share my address book on it between all the
programs I used daily, I searched a lot on google but I couldn't find
anything except the one on ubuntu[1] which I'm not sure it'll work...

Could someone please help me building this address book, I really need
it but I have no idea how to do it on my own...


LDAP, despite the Lightweight part, is not that easy to understand first 
time, it took me quite some time before I finally got hand of it. There 
is a book from O'Reily on the topic.


One thing I found for an address book, is that you should make sure all 
contacts have:


objectClass: person
objectClass: extensibleObject

The first sets some minimum for the entries, they must be persons. The 
second means that you can add anything you like. Otherwise you will be 
restricted in your choice of attributes depending on how object classes 
nest.


In my case, I have friends on three continents, and I like to have their 
address with country specified.


I can't do that when the extensibleObject is missing, because person or 
inetOrgPerson assumes a hierarchy with country on the top, and that just 
doesn't make sense in my case: Then I have to search differently 
according to country. I need all on the same branch. extensibleObject 
solves that, now I can add the country attribute for each, as well as 
preferred language etc...


Cheers, Erik



--
Erik Nørgaard
Ph: +34.666334818   http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Request] HOWTO build LDAP server for shared address book.

2008-02-12 Thread आशीष शुक्ल Ashish Shukla
,--[ On Tue, Feb 12, 2008 at 10:57:16AM +0100, Wael Nasreddine wrote:
| Hello,
| 
| I have never worked with LDAP but I would like to install an LDAP
| server on my server and share my address book on it between all the
| programs I used daily, I searched a lot on google but I couldn't find
| anything except the one on ubuntu[1] which I'm not sure it'll work...

LDAP is a real cool protocol offering a hierarchial directory like
facility. You can store anything in that directory, from user accounts,
to your GPG keys to address book to email aliases, anything for which
you're able to write a schema. You'll enjoy working with it :)

| Could someone please help me building this address book, I really need
| it but I have no idea how to do it on my own...

Install OpenLDAP server (openldap23-{server,client} or 
openldap24-{server,client})
from FreeBSD ports. And follow administrator's guide[1] to setup your
LDAP server. The Building an OpenLDAP address book article [2] at
ONLamp will guide you with setting up address book with OpenLDAP.

And you'll also like to try out phpldapadmin for managing LDAP directory
over web :) .

References:

[1] - http://www.openldap.org/doc/admin24/
[2] - http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
freed.in | freedom in technology and software | 22-24 February 2008 | Delhi
 ··-· ·-· · · -·· ·-·-·- ·· -·   ··--- - - ---··


signature.asc
Description: Digital signature


Re: [Request] HOWTO build LDAP server for shared address book.

2008-02-12 Thread Wael Nasreddine
This One Time, at Band Camp,  ??? Ashish Shukla [EMAIL 
PROTECTED] said, On Tue, Feb 12, 2008 at 09:05:34PM +0530:
 ,--[ On Tue, Feb 12, 2008 at 10:57:16AM +0100, Wael Nasreddine wrote:
 | Hello,

 | I have never worked with LDAP but I would like to install an LDAP
 | server on my server and share my address book on it between all the
 | programs I used daily, I searched a lot on google but I couldn't find
 | anything except the one on ubuntu[1] which I'm not sure it'll work...

 LDAP is a real cool protocol offering a hierarchial directory like
 facility. You can store anything in that directory, from user accounts,
 to your GPG keys to address book to email aliases, anything for which
 you're able to write a schema. You'll enjoy working with it :)

 | Could someone please help me building this address book, I really need
 | it but I have no idea how to do it on my own...

 Install OpenLDAP server (openldap23-{server,client} or 
 openldap24-{server,client})
 from FreeBSD ports. And follow administrator's guide[1] to setup your
 LDAP server. The Building an OpenLDAP address book article [2] at
 ONLamp will guide you with setting up address book with OpenLDAP.

 And you'll also like to try out phpldapadmin for managing LDAP directory
 over web :) .

 References:

 [1] - http://www.openldap.org/doc/admin24/
 [2] - http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html


Thank you for your reply, I have already installed openldap23-server
and client, I still have to configure it and create the address book.
could you please take a look at the this guide[1] before I start
walking throught it, it seems kinda complete for an Addressbook
installation.

Also Do you by any chance use mutt with LDAP, if yes how did you do
that?

[1]: http://www.sudleyplace.com/LDAP/index.en.html

 HTH
 -- 
 Ashish Shukla  ???  
 http://wahjava.wordpress.com/
 ·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
 freed.in | freedom in technology and software | 22-24 February 2008 | Delhi
  ··-· ·-· · · -·· ·-·-·- ·· -·   ··--- - - ---··

Content-Description: Digital signature
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

 iD8DBQFHsbzGHy+EEHYuXnQRAgCgAKCnbNnRVNWnIeqJq5g11EOeQAdtgwCePGhw
 ZzoKUldu6+Wt6J0TydJBe6c=
 =KBOO
 -END PGP SIGNATURE-


-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgp1MQPX8W0LD.pgp
Description: PGP signature