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

Re: How do I "reuse" ldap informations



You might be able to accomplish what you want by thinking about it a
different way.

Try storing the varying data (homedir) as different attributes for each
service: service1Homedir, service2Homedir, ...

Then use the meta backend to rename the appropriate service?Homedir to
homedirectory depending on which instance you connect to.

M.

On Fri, 21 Oct 2005, Kurt D. Zeilenga wrote:

LDAP does not offer attribute value aliasing.  Hence,
slapd(8) does not provide such, at least not as a
core feature (one could likely implement something as
an overlay).

Kurt

At 09:18 AM 10/21/2005, Michele Marcionelli wrote:
Hello,

is ther a "simple" way to "reuse" ldap information without duplicating them (like a kind of symbolic-link ;-)?

For instance I have a user like this on:

dn: uid=testuser,ou=People,dc=domain,dc=org
uid: testuser
cn:  Testname
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: ******
loginShell: /bin/sh
uidNumber: 555
gidNumber: 555
homeDirectory: /home/testuser
gecos:  Testname


And want to have exactly the same user (i.e. uid + userPassword) somewhere else with another, let say homeDirectory, like in

dn: uid=testuser,ou=another_People,dc=math,dc=ethz,dc=ch

Is that possible? Or maybe I'm on the wrong way to do that...

This could be useful, because the user has to change only once the password for all "services"...

Thanks in advance,
Michele

PS: I'm using OpenLDAP-2.2.26

--
michele.marcionelli@math.ethz.ch / phone: +41 44 632 6193
eth zentrum / hg g 14 / raemistrasse 101 - ch-8092 zurich


!DSPAM:435914e5182736936211035!



-- Michael Brown {0x527670C0} | `One of the main causes of the fall of Systems Administrator | the Roman Empire was that, lacking zero, +1 519 888 7111 x2339 | they had no way to indicate successful michaelb@opentext.com | termination of their C programs.' - Firth