Active Directory/LDAP and PHP

Discussion in 'Web Design and Development' started by Sdashiki, Feb 22, 2010.

  1. Sdashiki macrumors 68040


    Aug 11, 2005
    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.
    Seems best, but documentation is nil.
    Anyone got a working example of such a thing?
  2. savar macrumors 68000


    Jun 6, 2003
    District of Columbia
    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.

Share This Page