Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDAP schema for use with email directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
stig
Apprentice
Apprentice


Joined: 03 Sep 2002
Posts: 289
Location: Bærum, Norway

PostPosted: Fri Jun 13, 2003 7:56 am    Post subject: LDAP schema for use with email directory Reply with quote

I'm having a bit trouble understanding how this really works. The thing I'm trying to get up running, is a shared email directory which may be added in some email client as a directory service.
I've got openLDAP up running, but I'm having trouble adding new entries in the database. The schemas included by openLDAP are huge and probably more advanced than I need. The only thing I'm after, is a plain
name - telephone - address - email list. Does someone have a schema for this, or maybe give me a litte help regarding how I write one?

Btw...is it possible to add users who does not have an account on any network at all, or is the LDAP-service closely attached to useraccouts on the computer?
_________________
Allting har en ende, pølsen den har to.
Back to top
View user's profile Send private message
samokk
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2003
Posts: 116
Location: Paris, France

PostPosted: Fri Jun 13, 2003 11:12 am    Post subject: Reply with quote

hi,

you don't have to create your own schema for such a use.

the organizationalPerso and person classes should be what you're searching for.

sam
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Fri Jun 13, 2003 12:53 pm    Post subject: Reply with quote

A person don't need a system account to have an account in a LDAP directory. LDAP has no association with /etc/passwd, but you can replace /etc/passwd with an LDAP directory, so everybody with an LDAP entry automatically has a system account (I'm using this here).
Back to top
View user's profile Send private message
stig
Apprentice
Apprentice


Joined: 03 Sep 2002
Posts: 289
Location: Bærum, Norway

PostPosted: Mon Jun 16, 2003 6:12 am    Post subject: Reply with quote

samokk wrote:
the organizationalPerso and person classes should be what you're searching for.
sam

Is it possible to give me an example of how I'm putting this in the directory? Say I want to have firstname, lastname, addr and phone stored.
_________________
Allting har en ende, pølsen den har to.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum