简体   繁体   中英

Ldap authentication in apache linux

I am doing SSO integration in my project. Where my PHP application is hosted in linux environment with Apache server. I am currently trying to implement LDAP module and getting success when entered username and password.

But I need to know how I can implement autologin function if my website application client is using Windows OS and IE or other supporting browsers.

Kindly advice. Thanks in advance.

For doing the LDAP implementation you can use the php ldap library http://php.net/ldap , I use it for my projects, but sometimes is a little tricky.

In the other hand, in able to do an autologin, the browser is the one that must pass the login information to your page(php) to be able to perform some kind of authentication. So to be honest, autologin is not possible it will be a very bad security risk to be able to get user credentials via a browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM