Hi Jordi,
Well done! An interceptor is what you need for this IMHO. simply
implement the relevant add delete and modify methods and update your
attribute. I would point you to the source code for he interceptors ,
especially the tests. I'm not that bright sometimes ;-) but the
examples contained helped me write a very simple replication mechanism
for embedded ApacheDS :-)
On 3 May 2009, at 18:53, "Jordi Pujol" <[email protected]>
wrote:
Hi!
Finally I added a new objectClass, that is identical at groupOfNames
but it has the mail attribute.
Anyone knows how I can update the email attribute with the mail
attributes of the members added?
Also when one is deleted, the attribute mail only haves the list of
mail of the remained members.....
Any idea?
I just search in the help about Interceptors, but the documentation
is poor....
Thanks!
----- Original Message ----- From: "Ioannis Mavroukakis" <[email protected]
>
To: <[email protected]>
Cc: <[email protected]>
Sent: Sunday, May 03, 2009 11:17 AM
Subject: Re: distribution list, group of Contacts and groupOfNames
You could perhaps use a custom Interceptor for that. This is a
read only attribute is it not? Care to provide a few examples of
what you need done?
On 3 May 2009, at 09:53, "Jordi Pujol"
<[email protected]> wrote:
Yes, perhaps this is a solution, but it doesn't work if you don't
have an automatic manner to fill the mail 'attribute' with the
list of
mail attributes of the members of the group (with a semicolon
between every address....)
Regards!
----- Original Message ----- From: "Ioannis Mavroukakis"
<[email protected]
>
To: <[email protected]>
Cc: <[email protected]>
Sent: Sunday, May 03, 2009 10:50 AM
Subject: Re: distribution list, group of Contacts and groupOfNames
You could provide a schema extension and define the attributes
you need :-)
On 3 May 2009, at 07:03, "Jordi Pujol" <[email protected]
> wrote:
Hi, all!
My names is Jordi and i'm implementing an addressbook in Apache
Directory Server to work with several email clients like Windows
Mail, Windows Live Mail, etc...
This work well with normal contacts, if you know the mappings
that use Windows email clients...
But the problem comes when i try to emulate the group of
contacts in the LDAP side...
As you know there are two group classes in LDAP, groupOfNames
and groupOfUniqueNames, but they hasn't the mail attribute....
In past, there was the rfc822mailmember but it seems that is
deprecated....
If i build the groupOfNames, i can find from the email client,
but obviously, doesn't have the mail attribute.....
My question, there is any solution to acomplish that?
I think that perhap a solution is to build a procedure that we
you call from email clients with their cn=emailList return a
"contact" with mail attribute build in with the list of mail
members......
Before start to study how to do that, program it, etc.... anyone
knows if this idea is useful and can work?
Thanks to all!