[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Get attribute value from another entry
Hi all,
I'm building an address book where people belong to one office. Many
attribute values are the same for people that belong to the same office. So
I would like to add an organizationalunit object that share telephone and
fax number, and many inetOrgPerson object that get telephone and fax number
from the previous object. Is it possible? Follows a sample ldif.
dn: ou=people,dc=example,dc=com
objectClass: organizationalUnit
ou: people
dn: ou=OfficeName,dc=example,dc=com
objectClass: OrganizationalUnit
ou: OfficeName
telephoneNumber: 123456789
facsimileTelephoneNumber: 123456789
dn: uid=john.doe,ou=people,dc=example,dc=com
objectClass: inetOrgPerson
objectClass: posixAccount
cn: John Doe
sn: Doe
givenName: John
ou: OfficeName
mail: john.doe@example.com
uid: john.doe
userPassword:: e1NTSEF9bWJhYnI1bUh2UFNGek94bU9ZcUhjSjVOVEUwL09hZTg=
loginShell: /bin/false
uidNumber: 30000
gidNumber: 1
homeDirectory: /tmp
---------------------------------------
Computers can never replace human stupidity.
---------------------------------------
Ing. Andrea Gabellini
Email: agabellini@intelcom.sm
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)
Intelcom San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino
http://www.omniway.sm http://www.intelcom.sm