Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sdashiki

macrumors 68040
Original poster
Aug 11, 2005
3,529
11
Behind the lens
I am having one helluva time trying to do something which is simple on its face, but behind the scenes...ever so complex.

Ive search far and wide for example implementations but none seem to give me all I need.

I am looking to create parts of a website where one has to login using their Windows Active Directory login/pw in order to see anything within this section of the website.

I know I need to "tag" pages with a php script which checks for authentication on every page I want "locked out. LDAP seems to be the process for PHP integration with AD.

But I am having problems just even creating the simple login form which a user will use to authenticate.

http://www.php.happycodings.com/Cookies/code2.html
Seems best, but documentation is nil.
Anyone got a working example of such a thing?
 
I am having one helluva time trying to do something which is simple on its face, but behind the scenes...ever so complex.

Ive search far and wide for example implementations but none seem to give me all I need.

I am looking to create parts of a website where one has to login using their Windows Active Directory login/pw in order to see anything within this section of the website.

I know I need to "tag" pages with a php script which checks for authentication on every page I want "locked out. LDAP seems to be the process for PHP integration with AD.

But I am having problems just even creating the simple login form which a user will use to authenticate.

http://www.php.happycodings.com/Cookies/code2.html
Seems best, but documentation is nil.
Anyone got a working example of such a thing?

Try Zend Framework. It has a Zend_Auth_Ldap module which does exactly what you're trying to do. It's not simple -- but I'm assuming you're a programmer and can wade through API docs.

If you're not a programmer, then i subtly suggest that what you're attempting is over your head, and you should hire a programmer.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.