LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-22-2007, 09:06 PM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,599
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
I need a clever idea for auth_ldap and AJAX


I'm dealing with an AJAX application (Apache server, Perl, Linux) where the fundamental form of authentication for all web-sites is auth_ldap. This is a very nice way to drop an authentication request at the "front door" of the entire website or section thereof, which requires the employee to enter his or her regular network login.

The trouble is, I'd like to restrict what various users can do with an AJAX application, referencing that LDAP-based information as the only authoritative source. Obviously, this decision needs to be made by the back-end server, communicated as-necessary to the AJAX code, and validated for each request by the back-end.

My problem is, I don't want the user to have to log-in twice: once he's made it into my site, I don't want to have to ask for anything more. Can I find out what user-name he used when passing through the LDAP authentication-check? (I know that I can query the LDAP server from Perl code, if I know what authenticated user-name was used.)

Any ideas?
 
  


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
LXer: Eclipse Ajax Toolkit Framework and Ajax tools LXer Syndicated Linux News 0 05-12-2006 12:21 PM
LXer: Mastering Ajax, Part 3: Advanced requests and responses in Ajax LXer Syndicated Linux News 0 02-16-2006 06:46 AM
SLES 9, Apache, auth_ldap amphion Linux - Software 1 10-13-2005 07:52 AM
Apache2 together with auth_ldap KeesW Linux - Software 0 06-10-2004 06:06 AM
Auth_LDAP Installation error Help!!! Sabeer Linux - Software 0 10-13-2003 02:31 AM

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

All times are GMT -5. The time now is 11:47 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