[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapo-rwm and rewriteRules



Le lundi 05 mai 2008 Ã 11:22 -0400, Aaron Richton a Ãcrit :
> I'm not entirely sure, but I think you're asking to rewrite attribute 
> values (aka "right hand sides"), e.g.:
> 
> [on disk you have]
> attribute: value=something,base=oldBase
> 
> [but you want the clients to see]
> attribute: value=something,base=newBase
> 
> 
> You should be able to do this by rewriting searchAttrDN. Of course this 
> only works for DN-syntax attributes. If you're (ab)using Directory Strings 
> for this, then it's not going to happen without a custom overlay.

Hi,

You've probably misunderstood my request.
An example will be more efficient : 

I've some entries like this: 

dn: uid=raphael.bordet,dc=xxx,dc=yy
objectclass: top
objectclass: person
uid: raphael.bordet
mail: raphael.bordet@microsoft.com

I want to translate this entrie to this : 

ïdn: ïmail=raphael.bordet@microsoft.com,dc=xxx,dc=yy
objectclass: top
objectclass: person
uid: raphael.bordet
mail: raphael.bordet@microsoft.com

How can I do this ?

Regards,

-- 
RaphaÃl SurcouF