determine Active Dir group membership via PHP

Hi

we're building an intranet application wich will authenticate users via Active Directory and determine access rights based upon group membership.

we can determine the groups a user is member of, but we also want to determine the subgroups a user is member of

eg userX is member of groupA, groupB and groupC and groupB is member of groupD, but our php-function only returns groupA, groupB and groupC, NOT groupD wich we also need.

how can this be achieved?

(note: I asked almost the same question under os > windows2000, it's the same question but for VBscript)
Kazung-QAsked:
Who is Participating?
 
DreamMasterConnect With a Mentor Commented:
http://www.koders.com/php/fid2862213C5E2448C3721E18CD2197BE8D325BE18D.aspx

Might be able to get you started.. :)

Regards,
Max.
0
 
AlanJDMCommented:
Unfortunately, you haven't supplied enought information to answer this properly. If you post the code for the current function and the structure of any tables involved we would be able to supply an answer. Depending on how the function is currently written and the table structures, it could be very simple.


Alan
0
 
DreamMasterCommented:
Kazung-Q, could you please come back to your question and let us know if we were at all helpful..

Regards,
Max.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
Kazung-QAuthor Commented:
Hello

sorry I've had a few pretty busy days (and it ain't over yet).

I've checked the above function (seems GREAT thanx!). We're going to test this this week (or next). I'll come back here!

greetz

KQ
0
 
DreamMasterCommented:
Good luck testing!

Regards,
Max.
0
 
DreamMasterCommented:
Glad to have been helpfull,

Regards,
Max.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.