1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-02 06:53:27 +03:00
Commit Graph

57 Commits

Author SHA1 Message Date
Daniel Gruno
1dc782882f Fix up a badly styled example and a wrongly named directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1337035 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 06:39:39 +00:00
Igor Galić
3be0a16a98 fix XML validation.
Revert some of the hilighting to use <example><pre>, for instance: ldiffs
Make some of the lines that were artifically broken > 40char.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330921 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 16:14:31 +00:00
Daniel Gruno
a3d2bba55b Syntax for mod_a*.xml and MPMs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330911 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 15:47:56 +00:00
Rich Bowen
7993195c61 Typos and broken links in docs. Daniel Gruno (rumble at cord dk)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1301732 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 20:12:48 +00:00
Rich Bowen
5ab83cc7b4 More patches from Daniel Gruno (rumble at cord dot dk) for references to
directives that have moved around since 2.2


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1300892 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 10:38:55 +00:00
Stefan Fritsch
05fe1b13b1 add new ldap features, make ap_expr entry more verbose
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1202456 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 22:53:17 +00:00
Jim Jagielski
69c1a5c854 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:36:39 +00:00
Eric Covener
744556a260 bad links due to typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1088619 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 13:33:58 +00:00
Jeff Trawick
13038e4e92 use example.com instead of other non-standard examples
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1042758 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 18:48:30 +00:00
Stefan Fritsch
3fae515151 Spelling errors
PR: 49983, 49967
Submitted by: Chris Matthews <chris bbd co za>,
              Angelo Babudro <tech support donsdirectory com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001305 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 19:36:53 +00:00
Eric Covener
512be6af6f update compatability from 2.3.7 to 2.3.6
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951114 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 19:02:05 +00:00
Stefan Fritsch
bc0a04b83e fix xml validation and doc build issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951111 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 18:51:25 +00:00
Eric Covener
8ebb7ac450 add defaults for two nested groups directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@950511 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 11:56:22 +00:00
Eric Covener
a8720fa901 mod_authnz_ldap: Search or Comparison during authorization phase
can use the credentials from the authentication phase
(AuthLDAPSearchAsUSer,AuthLDAPCompareAsUser).
PR 48340 

Submitted by: Domenico Rotiroti, Eric Covener
Reviewed by: Eric Covener



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@950248 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 21:19:06 +00:00
Eric Covener
1727457dd3 emphasize that trying to use the basic auth credentials directly
is a last resort.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@949444 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 22:49:17 +00:00
Eric Covener
d15983f1d1 mod_authnz_ldap: Allow the initial DN lookup to bind with a
transformation of the basic auth username.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@949436 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 20:19:10 +00:00
Eric Covener
27c654fc67 Allow mod_authnz_ldap to set environment variables when it only performs authorization.
AuthLDAPAuthorizePrefix can be used to force this to overlap with the prefix used
for authentication.

PR 45584


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@949336 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 02:32:22 +00:00
Eric Covener
a18b7c4464 add defaults for AuthLDAPGroupAttribute to the synopsis
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@920407 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 17:10:36 +00:00
Rich Bowen
1ff496d4cb Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@918528 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 15:48:51 +00:00
Eric Covener
13852f1b07 doc for AuthLDAPBindAuthoritative
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@881812 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 15:55:29 +00:00
Eric Covener
761098c890 Remove text implying "Require valid-user" is handled by mod_authnz_ldap, which
makes the behavior of AuthzLDAPAuthoritative more intuitive.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821049 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 15:16:09 +00:00
Lucien Gentis
e4fc6ef5b8 The DN was fetched from the entry, and the password is passed by the client.
--Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    manual/mod/mod_authnz_ldap.xml


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@726461 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 15:04:44 +00:00
Eric Covener
75ffcceaec provide a little more context in the multiple hostnames example
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723890 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 22:04:40 +00:00
Eric Covener
432a8aa2e2 no AuthzLDAPAuthoritative in trunk, because authz uses a provider API
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@701644 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 14:44:53 +00:00
Takashi Sato
461cf36063 use example.com for example domain name
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@657842 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 14:44:47 +00:00
Jason S. Lingohr
fce706e922 Typo fix as per PR44905, submitted by Jamie Taylor <jamie.taylor@pobox.com>.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@657791 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 11:16:07 +00:00
Vincent Bray
9ebd78554e Fix quoting for AuthLDAPUrl examples.
Submitted by: Per Lundberg (Per.Lundberg bredband.com)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@634155 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 04:21:06 +00:00
Eric Covener
a14f7a34e6 Clarify when AUTHENTICATE_* variables are populated by mod_authnz_ldap
(authn only). 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@627443 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 14:57:13 +00:00
Bradley Nicholes
65b5107b35 Add a note about double quoting a multihost LDAP URL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@604224 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 16:52:09 +00:00
Paul J. Reder
6ca78283e4 Added documentation related to the nested group support that I added a while ago.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595409 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 19:48:24 +00:00
Vincent Bray
cb538040e8 PR #43358 - Fix links to moved auth directives (Takashi Sato)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@574882 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 10:32:57 +00:00
Graham Leggett
ed3e6b8562 Add docs for the AUTHENTICATE_ prefixed exposure of login attributes during
AAA.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@571804 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 14:24:55 +00:00
Vincent Bray
688f4176ee s/require/Require/g
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569402 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 14:45:31 +00:00
Tony Stevenson
9f51f5e36d Added examples of multiple LDAP servers, and a warning caveat.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@556153 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 21:27:12 +00:00
Tony Stevenson
d0516629e0 Case sensitivity continuity, taken from PR 38035
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@556142 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 20:47:00 +00:00
Jason S. Lingohr
8d2269e3ea PR 31978, submitted by Ryan Morgan, resubmitted by Tony Stevenson.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@548014 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 07:21:08 +00:00
Bradley Nicholes
131bf07921 Point out that if another authorization method is used
with mod_authnz_ldap, AuthzLDAPAuthoritative must be
set to off.

submitted by: Darren Spruell <phatbuckett gmail.com>



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@499241 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 03:46:24 +00:00
Graham Leggett
4a51c98d99 Document the hoops you need to jump through to get mod_authnz_ldap to
support an Active Directory installation spanning multiple domains.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475240 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 14:12:26 +00:00
Graham Leggett
488411491b mod_authnz_ldap: Add an AuthLDAPRemoteUserAttribute directive. If
set, REMOTE_USER will be set to this attribute, rather than the
username supplied by the user. Useful for example when you want users
to log in using an email address, but need to supply a userid instead
to the backend.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@463427 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 20:52:37 +00:00
Roy T. Fielding
47e590252a update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420993 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 21:18:15 +00:00
Colm MacCarthaigh
dd95d7c37c Update the copyright year in all .c, .h and .xml files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +00:00
Bradley Nicholes
9fed4c73d7 Authz refactoring
Merge from branches/authz-dev

Basically here is a list of what has been done:
- Convert all of the authz modules from hook based to provider based
- Remove the ap_requires field from the core_dir_config structure
- Remove the function ap_requires() since its functionality is no
longer supported or necessary in the refactoring
- Remove the calls to ap_some_auth_required() in the core request
handling to allow the  hooks to be called in all cases.
- Add the new module mod_authz_core which will act as the authorization
provider vector and contain common authz directives such as 'Require',
'Reject' and  '<RequireAlias>'
- Add the new module mod_authn_core which will contain common
authentication directives such as 'AuthType', 'AuthName' and
'<AuthnProviderAlias>'
- Move the check for METHOD_MASK out of the authz providers and into
the authz_core provider vector
- Define the status codes that can be returned by the authz providers
as AUTHZ_DENIED,  AUTHZ_GRANTED and AUTHZ_GENERAL_ERROR   
- Remove the 'Satisfy' directive 
- Implement the '<RequireAll>', '<RequireOne>' block directives  to
handle the 'and' and 'or' logic for authorization.
- Remove the 'AuthzXXXAuthoritative' directives from all of the authz
providers
- Implement the 'Reject' directive that will deny authorization if the
argument is true
- Fold the 'Reject' directive into the '<RequireAll>', '<RequireOne>'
logic
- Reimplement the host based authorization functionality provided by 
'allow', 'deny' and 'order' as authz providers   
- Remove the 'allow', 'deny' and 'order' directives      
- Merge mod_authn_alias into mod_authn_core
- Add '<RequireAlias>' functionality which is similar to
'<AuthnProviderAlias>' but specific to authorization aliasing
- Remove all of the references to the 'authzxxxAuthoritative'
directives from the documentation
- Remove the 'Satisfy' directive from the documentation
- Remove 'Allow', 'Deny', 'Order' directives from the documentation
- Document '<RequireAll>', '<RequireOne>', 'Reject' directives
- Reimplement the APIs ap_auth_type(), ap_auth_name() as optional
functions and move the  actual implementation into mod_authn_core
- Reimplement the API ap_some_auth_required() as an optional function
and move the  actual implementation into mod_authz_core

Major Changes:
- Added the directives <RequireAll>, <RequireOne>, <RequireAlias>,
Reject
- Expanded the functionality of the directive 'Require' to handle all
authorization and access control
- Added the new authz providers 'env', 'ip', 'host', 'all' to handle
host-based access control
- Removed the directives 'Allow', 'Deny', 'Order', 'Satisfy',
'AuthzXXXAuthoritative'
- Removed the ap_require() API
- Moved the directives 'AuthType', 'AuthName' out of mod_core and into
mod_authn_core
- Moved the directive 'Require' out of mod_core and into
mod_authz_core
- Merged mod_authn_alias into mod_authn_core
- Renamed mod_authz_dbm authz providers from 'group' and 'file-group'
to 'dbm-group' and 'dbm-file-group'

Benefits:
- All authorization and access control is now handle through two
directives, 'Require' and 'Reject'
- Authorization has been expanded to allow for complex 'AND/OR' control
logic through the directives '<RequireAll>' and '<RequireOne>'
- Configuration is now much simpler and consistent across the board
- Other modules like mod_ssl and mod_proxy should be able to plug into
and take advantage of  the same provider based authorization mechanism
by implementing their own providers

Issues:
- Backwards compatibility between 2.2 and 2.3 configurations will be
broken in the area  of authorization and access control due to the fact
that the directives 'allow', 'deny',  'order' and 'satisfy' have been
removed.  When moving from 2.2 to 2.3 these directives  will have to be
changed to 'Require all granted', 'Require all denied' or some variation
 of the authz host-based providers.
- Existing third party authorization modules will have to adapt to the
new structure.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@368027 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 14:30:28 +00:00
Bradley Nicholes
549cf1e255 Backing out the AuthLDAPAllowDNAuth patch from r168016. Because of LDAP filter issues this patch still can't guarantee unique results.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168644 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 19:50:57 +00:00
Bradley Nicholes
3a3447622c Add the directive AuthLDAPAllowDNAuth to allow a user to authenticate against an LDAP directory using a full user DN. This directive allows a user to authenticate against a subcontext that may contain non-unique user IDs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168016 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 23:07:43 +00:00
Bradley Nicholes
3c7b67c3a5 Document the new optional parameter for AuthLDAPUrl
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151743 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 19:08:58 +00:00
Justin Erenkrantz
905cdf9f0b Update copyright year to 2005 and standardize on current copyright owner line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
André Malo
9ade04f57c fix copyright notice
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125277 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 17:01:17 +00:00
Yoshiki Hayashi
a55b3e6b13 One more typo. Also, remove false promise because example is not
colored in any way.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109800 13f79535-47bb-0310-9956-ffa450edef68
2004-12-04 15:18:49 +00:00
Yoshiki Hayashi
588913b845 Typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109797 13f79535-47bb-0310-9956-ffa450edef68
2004-12-04 14:39:44 +00:00
André Malo
fd5a98d464 use <program> for programs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106803 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 13:25:21 +00:00