[Fedora-directory-users] auto dn lookups

Ben Steeves ben.steeves at gmail.com
Fri Jun 10 15:26:45 UTC 2005


Hi Folks,

I'm wondering if anyone has tackled something like this and might have
a suggestion for me:

We have a few fields on people records which are essentially
"pointers" to other records, for example:

dn: uid=example,ou=people,dc=example,dc=com
uid: example
comExampleOrgUnitDN: ou=EXAM,ou=departments,dc=example,dc=com

...which basically says that the person "example" is in the "EXAM"
department.  But of course when someone looks up Mr. Example, he
probably would like to know that he works in "Department of Examples",
rather than the DN of the department...

dn: ou=EXAM,ou=departments,dc=example,dc=com
cn: Department of Examples

So my question is: is there any trick to create a sort of dynamic
lookup on the person's record that would "drill down" into the
department record and pull up the cn?  My first thought is that this
would be a sort of computed/translated field... I haven't run across
anything describing this in the FDS documentation.

Any ideas?  Basically, I want to avoid putting "Department of
Examples" on Mr. Example's record because if the Department decided to
change its name to the "Example Department", I'd have to manually
adjust everyone in the department.

-- 
Ben Steeves                     _                    bcs at metacon.ca
 The ASCII ribbon campaign     ( )            ben.steeves at gmail.com
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/bcs      / \     Yahoo Messenger: ben_steeves




More information about the Fedora-directory-users mailing list