Jump to content

LDAP queries


proggR

Recommended Posts

I have never used LDAP in my life and now I'm trying to figure out a query for a project at work. I was hoping someone here had more experience. Also please forgive any misused terms since I'm pretty much clueless.

 

We have course entries and student entries. I was originally hoping to query the students and use isMemeberOf to determine if they're a member of a course. Evidently, isMemberOf is not indexed so I can't search like that. So now I have to query the courses and use uniqueMember to have it return the entire student list for the course. The problem is I would then have to requery each student individually to get the Pkey of the student since that's not present in the information represented by uniqueMember. I was wondering if there was any way to have it return information about each uniqueStudent along with the results so I don't have to do this extra step.

 

I'm sure you would need more information to give me a straight answer and in all likelyhood its probably something I don't know. Any help or direction would be greatly appreciated.

 

Thanks in advance. 

Link to comment
https://forums.phpfreaks.com/topic/242967-ldap-queries/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.