Secure authentication between Active Directory and linux PHP
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Secure authentication between Active Directory and linux PHP
Hi everyone
I'm having a little problem. My company have an Active Directory to authenticate the user. Now we're implementing a web page in a linux webserver using PHP but one new request is to authenticate the user against AD. The problem is that we need to use SSL or another way to make secure the authentication.
We don't know if using openldap and php can do this in a easy way.
Anybody have an idea.
Thanks.
It isn't particularly easy, but it isn't TOO difficult either. I have a very similar situation, where I created a Linux based web server that would authenticate to an AD domain and become accessible via the AD machines and share resoures like the AD DNS. The approach I took was to user Kerberos which I think is a default mechanism in modern AD and compile LDAP with Kerberos support and then compile Samba with LDAP and Kerberos support. Once I did that, it was an easy matter to follow a basic how - to document (I may still have links on my machine at work) and give a few commands to 'join' the domain. To do so did require domain administrative privilege. I think all told, I spent about 2 working days figuring it all out - while really learning Slackware's package management system and some of its other intricacies in the process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.