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
Share on other sites

Its not the end of the world if it can't be done. I have the working queries to do it the other way but I was hoping to not have to spam the ldap server over and over since these lists are going to be rather large and there will be a lot of them.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.