I didn't know rwm overlay, it sounds very cool, I'll try next week, many thanks :)


2014-04-29 15:32 GMT+02:00 Dan White <dwhite@olp.net>:
On 04/29/14 14:57 +0200, Sylvain wrote:
Hi !

I have a branch "ou=people" where RDN are in the form "X1234" and NEVER
change for one people.
Ex. : uid=X1234,ou=people,dc=example,dc=org

In this node, I have the login under "eduPersonPrincipalName" attribute
which MAY change.

Some applications doesn't allow us to define which login to use and so take
"uid" attribute by default, not so cool.

Is there any possibility in OpenLDAP to duplicate dynamically an OU with
another RDN to have for example :
uid=sylvain,ou=peoplebis,dc=example,dc=org ?

The rwm overlay should handle this. Point your broken applications to a
unique suffix (e.g. dc=example,dc=org,dc=brokenapps), which overwrites the
incoming DN to use eduPersonPrincipalName instead of uid. See slapo-rwm(5).

Dan White