View previous topic :: View next topic |
Author |
Message |
stig Apprentice
Joined: 03 Sep 2002 Posts: 289 Location: Bærum, Norway
|
Posted: Fri Jun 13, 2003 7:56 am Post subject: LDAP schema for use with email directory |
|
|
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 |
|
|
samokk Tux's lil' helper
Joined: 13 Jun 2003 Posts: 116 Location: Paris, France
|
Posted: Fri Jun 13, 2003 11:12 am Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Fri Jun 13, 2003 12:53 pm Post subject: |
|
|
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 |
|
|
stig Apprentice
Joined: 03 Sep 2002 Posts: 289 Location: Bærum, Norway
|
Posted: Mon Jun 16, 2003 6:12 am Post subject: |
|
|
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 |
|
|
|