LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-09-2011, 02:56 PM   #1
W_Chevezman
LQ Newbie
 
Registered: Feb 2011
Location: Buenos Aires
Distribution: Ubuntu, Debian, Red Hat, Fedora
Posts: 10

Rep: Reputation: 1
Unhappy 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.
 
Old 02-09-2011, 04:27 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
looks like there is no 'easy' way
http://www.developer.com/open/articl...y-with-PHP.htm
http://us3.php.net/ldap

hope that helps
 
Old 02-09-2011, 06:16 PM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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.
 
1 members found this post helpful.
  


Reply

Tags
active directory, authentication, php, secure



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control a windows system under linux like Active Directory Authentication jpmaxyusuf Linux - Server 3 07-18-2010 02:45 PM
Linux server authentication with Active Directory capricorn80 Linux - Server 5 05-29-2010 03:40 PM
linux authentication with Windows Active Directory carlicus Linux - Newbie 9 11-10-2009 04:31 PM
Linux Authentication to Windows Active Directory carlosinfl Linux - General 1 07-15-2008 10:16 AM
Alternative to Active Directory / out-of-the-box central authentication with Linux? superwormy Linux - Server 5 12-18-2007 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration