Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relational query

Status
Not open for further replies.

dbrownie

Programmer
Jun 3, 2003
2
GB
Hi,

I have a requirement to execute a query that seems more "Relational Database" than "LDAP" in format, but wondered if it was possible.....

I have a fairly standard schema which describes people who belong to groups (ous). In my "myInetOrgPerson" objectclass, the acronym for the group id is specified. In my "myOrganizationalUnit" objectclass, both the acronym and the full unit name for the ou is specified.

The requirement is to be able to search for people by, say, surname, and then order the resultset by the full unit name (not the acronym). My search function currently submits the requested sort attribute along with the search, (so Im trying to avoid having to the sort after the results have been returned, but rather do it via the query itself).

Is it possible to construct a query that performs something like this, (or any workarounds?).

Thanks v much in advance for any help,

DB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top