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

Alias objectclass, link between entries !?



hello

I am defining the topology of my DIT. I want to use some kind of "Links"
between entries.
I hope to have a branch where administrative staff insert people
(administrative information like name surname, tel, title) and a system
branch where I "link" the administrative information to internet/unix
services like unix account, ftp access, web access, mail ...

example:

       |
      ----------------------------------
      |               |               |
      1               2               3 
     DN              Unix            mail
     name            homedir         email
     surname         shell          dropmail
     unix            ....            ....
     ftp

Adminstrative staff inserting people in 1, sysadmins inserting in 2,3
... making links to the administrative info in 1.

All the problem is in the "Link", I found some kind of solution in LDAP
v3 to implement a link: objectclass alias with the aliasedObjectName
attribute, LDAP URLs in entries, and referrals. Which one will best
service my
wishes ? is it possible to do that ?

I did try something but with no success, attached is a jpeg view of my
test DIT (that was the original message but I detached the jpeg, because
Majordomo AutoResponder told me that my message was to long !) and the
result of a search on the "leverey" account, present
for its adminitrative info in :
dn: cn=Jean-Pierre LEVREY,ou=Staff-Eph,ou=Eph,ou=Adm,dc=int-evry,dc=fr
and unix service info in:
dn: cn=leverey,cn=Unix,ou=Services,dc=int-evry,dc=fr
the lastest beeing "linked" to the former by:
aliasedObjectName: cn=Jean-Pierre
LEVREY,ou=Staff-Eph,ou=Eph,ou=Adm,dc=int-evry,dc=fr

I hoped to see attributes:values from the administrative info by
selecting only the unix service branch ! unfortunatly not .

$ldapsearch -h servfax -p 9999 -b"dc=int-evry,dc=fr" -x "(cn=*lev*)"
version: 2

#
# filter: (cn=*lev*)
# requesting: ALL
#

# Jean-Pierre LEVREY,Staff-Eph,Eph,Adm,dc=int-evry,dc=fr
dn: cn=Jean-Pierre LEVREY,ou=Staff-Eph,ou=Eph,ou=Adm,dc=int-evry,dc=fr
objectClass: person
objectClass: organizationalPerson
cn: Jean-Pierre LEVREY
sn: LEVREY
telephoneNumber: 01 60 76
title: Maitre de conf

# leverey,Unix,Services,dc=int-evry,dc=fr
dn: cn=leverey,cn=Unix,ou=Services,dc=int-evry,dc=fr
cn: leverey
uid: leverey
mailAcceptingGeneralID: JP-Lverey
rfc822ForwardingMailbox: leverey
objectClass: rfc822Delivery
objectClass: organizationalUnit
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: alias
aliasedObjectName: cn=Jean-Pierre
LEVREY,ou=Staff-Eph,ou=Eph,ou=Adm,dc=int-evr
 y,dc=fr
ou: unix-eph
shadowLastChange: 11277
loginShell: /usr/local/bin/tcsh
uidNumber: 14521
gidNumber: 145
homeDirectory: /mci/eph/leverey
gecos: JP Leverey EPH
userPassword:: e2NyeXB0fWdkUVZkb1dhcmptQkU=

# search result
search: 2
result: 0 Success

# numResponses: 3
# numEntries: 2

Thanks for your comments on this.
-- 
Jehan Procaccia
Institut National des Telecommunications| Email:
Jehan.Procaccia@int-evry.fr 
MCI, Moyens Communs Informatiques	| Tel  : +33 (0) 160764436 
9 rue Charles Fourier 91011 Evry France | Fax  : +33 (0) 160764321