On Fri, 14 Aug 2009, Andy Swiffin wrote:
> > It's a long time since I did LDAP stuff in any detail, but I think
> > what you're after is the Naming Attribute for the object. In AD, that
> > appears to be what appears in distinguishedName or dn, but in other
> > directories (including eDirectory, according to some Googling), it
> > simply uses CN as the naming attribute for an object.
> > Do your CNs look long and path-like? :) If so, maybe tht's all you
> > need to use. And if it is as simple as that, maybe that's why it all
> > seems odd - we're trying to think about it too hard!
> No, the cn is the "common name" part of the DN, e.g. my dn is
> cn=alswiffin,ou=ics,ou=pi,ou=cs,o=dundee where my cn is just alswiffin.
How do you know the "ou=ics,ou=pi,ou=cs,o=dundee" part? By knowledge of
the dir structure, or cos you can see it somewhere?
> The more I research this, the more I have to conclude that eDirectory is
> deficient in this.
Perhaps. .. surprisingly.
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks
Computing Officer, IT Services, University Of Strathclyde, Glasgow, UK