Help with Active Directory access

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
johndoe99
Forum Newbie
Posts: 2
Joined: Thu Nov 09, 2006 8:06 am

Help with Active Directory access

Post by johndoe99 »

Hi,
Can PHP be used to check group membership in Active Directory ?

I can use PHP to connect to AD but can't find a way to check group membership .

Appreciate any help
johndoe99
Forum Newbie
Posts: 2
Joined: Thu Nov 09, 2006 8:06 am

Post by johndoe99 »

Does php have any native or custom interface into AD perhaps ??
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Have some patience.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:4. All users of any level are restricted to bumping (as defined here) any given thread within twenty-four (24) hours of its last post. Non-trivial posts are not considered bumping. A bump post found in violation will be deleted, and you may or may not recieve a warning. Persons bumping excessively be considered as spammers and dealt with accordingly.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Yes it does. Check the LDAP libraries. Also, search for Active Directory here - lots of questions have been asked about it.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Yes, you can do all sorts of things with LDAP. Just remember that LDAP is 'L'ightweight, so you can't do with it what you'd do with a grown-up database. The query structures are really weird, but if you google LDAP queries you'll find a host of things related to getting the information you want.
Post Reply