You are not logged in.

#1 2010-12-27 15:08:54

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

LDAP for addressbooks

Hi,

At the office I have a working LDAP Addressbook, and although I have heard of the upcoming cardDAV-standard for centralised contacts management, I do still have some hardware that doesn't speak cardDAV yet...

Simple question: is there a possibility to group LDAP-contacts, like f.e. inside a 'family' (husband, wife, children) or 'company' (CEO, CIO, it-guy, clerk, etc.)? I would very much like to implement a feature like that, because when a family moves to another address, I have to change all addresses from all people in that family... So I would like to make properties like 'street,city,postal code,telephone' etc. global for people inside 1 group.

I have found some stuff about 'groups' & LDAP, but it is always about 'group permissions'. Maybe I'm just ignorant of the correct google-entry...

If that doesn't exist, I guess I can make a frontend with that capability, but I would like to stick as close to LDAP as possible.

THX!

Offline

#2 2010-12-28 18:56:03

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: LDAP for addressbooks

I have found some documentation about the following, possibly relevant, information:
* 'memberof'-overlay
* 'dynlist'-overlay
* 'groupofnames'-object class.

I guess these would allow me to accomplish my goals, but information is scarce...

Zl.

Offline

#3 2011-01-03 12:02:28

ghen
Member
From: Belgium
Registered: 2010-08-31
Posts: 124

Re: LDAP for addressbooks

Just organize your LDAP objects in a tree?

dn=yourwife, ou=family, dc=yourdomain, dc=org
dn=theceo, ou=management, o=yourcompany, c=country
or similar...

Makes it trivial to restrict searches, permissions and the like.

Offline

#4 2011-01-03 19:34:54

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: LDAP for addressbooks

Hmmm - this sounds almost to easy to be true (and would render the above mentioned overlays useless), but since I would like to keep things as easy as possible:

So this would be correct:
uid=1215486522545, gn=Jane, sn=Doe, ou=Family Doe, ou=contacts, dc=example, dc=org
uid=1215486522546, gn=Peter, sn=Doe, ou=Family Doe, ou=contacts, dc=example, dc=org
uid=1215486522547, gn=Thomas, sn=Doe, ou=Family Doe, ou=contacts, dc=example, dc=org

But how do I set attributes for the entity 'Family Doe'? Or do you suggest making the adding/editing/grouping -functions in a wrapper like PHP?

Zl.

Offline

Board footer

Powered by FluxBB