LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-01-2007, 03:07 AM   #1
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 489

Rep: Reputation: 37
Single sign on with AD in php application with apache


Hi all,
I am creating an internal web appliation with Single sign on with the AD authentication so that users dont have to enter login credintials again. Currently, I configured samba,winbind, nsswitch files and added the machine as a member server of the AD. Now, I can authenticate users from that machine, for example:

# ntlm_auth --username=william
Password: ******
& get this output "NT_STATUS_OK: Success (0x0)"

Also, 'wbinfo -u' and 'wbinfo -g' shows the users and groups.

Now, I want my php developed application to just fetch the login username. How to do that? I currently got lost in configuring php & apache for this purpose. Have no idea whether anything else is required or something in my configuration is wrong? If anybody ever did this before can please sort out the way for me.

Thanks in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 set up single sign on with apache with Active directory Braytac Linux - Software 1 11-08-2007 05:54 PM
NIS or ??? for single sign on w/ AD DotHQ Linux - General 2 12-20-2006 04:01 PM
Single Sign-on Solution sunhui Linux - Software 1 07-14-2006 10:46 PM
php installed but no sign of libphp4.so (apache needs it) unholy Linux - General 6 01-18-2004 05:15 PM
Single Sign-On help vvandam Linux - Security 6 07-21-2003 05:23 AM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration