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

secret attributes and connection between objectclasses



Hi,
I'm working on a company information system and I'm using LDAP and PHP.
I have this schema:

ou=people,dc=company,dc=country
ou=projects,dc=company,dc=country

cn=person1,ou=people,dc=company,dc=country
title,PostalAddress,telephoneNumber,givenName,sn,mail,mobile
jpegPhoto,labeledURI,icq,linka,ou,secretdata???
...

cn=project1,ou=projects,dc=company,dc=country
description,list_of_people???
...

Question is: how is possible pointed from ou=projects to ou=people. Is there any special 
attribute?
Second question: How to do, if i want attribute 'secretdata' in 'ou=people' invisible for
everyone except specific person called 'cn=admin,ou=people,dc=company,dc=country'? Other attributes
must be read and write for all.
Has anyone some working example of structure ldap with this features?

			Thanks very much

p.s. Sorry for my bad english.

-- 
--------------------------------------------------------------------------
(o>    Tomas Kucera (kuca) student 6.rocniku FEL CVUT
//  \    tom.kucera@sh.cvut.cz, tomas@globe.cz       
V_/_   ICQ: 33297193, TEL: 0604 704983                                   
       http://symuro.webzdarma.cz
--------------------------------------------------------------------------
Linux is like fantasy game: you can kill zombies and invoke daemons
--------------------------------------------------------------------------