This topic is locked

LDAP authentication

8/16/2006 5:40:45 AM
PHPRunner General questions
T
thesofa author

I need to be able to ask a user to login and to authenticate that user against Active Directory, using LDAP authentication.

I already have this working on other applications running on the intranet, but these are open source from other authors.

Is there a way of doing this with PHP runner yet?

J
Jane 8/16/2006

Hi,
there isn't this feature in the PHPRunner.
You can do it to edit login.php file manually.

In this case login and password are on the LDAP server, not in database.
Here is a link with php functions for work with LDAP:

http://www.php.net/ldap

T
thesofa author 8/16/2006

Hi,

there isn't this feature in the PHPRunner.
You can do it to edit login.php file manually.

In this case login and password are on the LDAP server, not in database.
Here is a link with php functions for work with LDAP:

http://www.php.net/ldap



Thank you

G
gdude66 8/17/2006

So what code do you add exactly to the lgin.php page to get it talking to ms ads or other ldap server?

Alexey admin 8/18/2006

Graeme,
unfortunately we don't have a ready to go solution for this.

T
thesofa author 8/20/2006

Graeme,

unfortunately we don't have a ready to go solution for this.


If it helps at all, the apps we have running and authenticating with AD using LDAP are as follows

PHPBBS

PHPCalendar

MRBS
searching for any of these wioll get you the download, then you will need to install them, set them up and configure.Then you need to blag the code and try to folloew it.

I am looking for a php login screen using LDAP with AD and then this should hold the username in a variable and allow use of all the apps, so we have just one login to 4 or 5 apps.

I think I will need to learn a lot more about PHP before doing this.

I gather that the logged in user name is held in a string varible called

@$_SESSION["OwnerID"]

but I am not sure.

HTH