LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2012, 06:06 PM   #1
cyberblitz
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled
Apache2/LDAP Query


I have set up LDAP to authorise into a Apache2 website but once i've logged in thats it, it never asks again. Is there a way to configure it so it would ask every time I enter the web address??

Here is my global settings in httpd.conf (I'm using Ubuntu Server)

Quote:
LDAPSharedCacheSize 500000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600
<Location />
AuthBasicProvider ldap
AuthLDAPBindDN "cn=admin,dc=example,dc=net"
AuthLDAPBindPassword "password"
#AuthLDAPEnabled on
AuthLDAPURL "ldap://127.0.0.1/dc=example,dc=net?uid"
AuthLDAPGroupAttributeIsDN on
Require ldap-group cn=WebAccess,ou=Groups, dc=example,dc=net
AuthType basic
AuthName "Example.net"
</Location>
 
Old 06-17-2012, 04:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Quote:
I have set up LDAP to authorise into a Apache2 website but once i've logged in thats it, it never asks again. Is there a way to configure it so it would ask every time I enter the web address??
This is a browser issue.
Once authenticated, the browser browser keeps the credentials used, so it passes them to the webserver on every subsequent request to speed things up. This happens for the entire browser session, so you need to restart your browser to start a new session asking again for the auth credentials. You can read more here

Regards
 
  


Reply



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
query on ldap server imhere Linux - Newbie 8 08-13-2010 03:25 PM
[SOLVED] ldap authorization fails: IHS7 (apache2)+php5+ldap olegk25 Linux - Networking 4 08-03-2010 02:49 AM
Apache2 remote access configuration query emmalg Linux - Software 2 01-25-2010 03:19 AM
[Ruby] simple LDAP query noir911 Programming 4 10-29-2008 11:38 PM
LDAP Query cjagdish69 Linux - Server 0 11-18-2006 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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