Colm MacCarthaigh
2b526bda5f
First stab at a build environment for mod_authn_dbd
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349774 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 17:58:10 +00:00
Nick Kew
5dbbe6d499
mod_authz_dbd: SQL authz with Login/Session support
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345389 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 00:42:08 +00:00
Justin Erenkrantz
2797b883ca
Remove support for 'On' and 'Off' for AuthBasicProvider and AuthDigestProvider
...
as it doesn't actually work as advertised.
Reviewed by: Joshua Slive (concept)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345054 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 16:35:49 +00:00
Nick Kew
254dd38556
Replace dodgy cast with ap_set_string_slot
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344349 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 10:29:27 +00:00
Jim Jagielski
5061d9fa92
No functional Change: Removing trailing whitespace. This also
...
means that "blank" lines consisting of just spaces or
tabs are now really blank lines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:11:44 +00:00
Jim Jagielski
5d2fae4818
No functional change: simple detabbing of indented code.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:05:51 +00:00
Nick Kew
b419e3701d
Change directives from OR_AUTHCFG to ACCESS_CONF
...
SQL config in .htaccess doesn't make sense and could have security issues.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329497 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 00:32:00 +00:00
Nick Kew
940f8bc8fa
Faffing about with colon-delimiters (originally copied from mod_authn_dbm)
...
is deeply superfluous in an SQL context.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@326054 13f79535-47bb-0310-9956-ffa450edef68
2005-10-18 09:01:02 +00:00
André Malo
52c4e849b1
get properties right
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@325925 13f79535-47bb-0310-9956-ffa450edef68
2005-10-17 16:48:05 +00:00
Bradley Nicholes
0916db14a0
Add mod_authn_dbd to the NetWare build
...
Submitted by: <nowmW bocnet.com.au>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@325913 13f79535-47bb-0310-9956-ffa450edef68
2005-10-17 15:29:14 +00:00
Nick Kew
454522bbd7
Add mod_authn_dbd to build
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@321254 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 23:54:30 +00:00
Nick Kew
1b4236d695
Add mod_authn_dbd
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@321247 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 23:33:40 +00:00
Jim Jagielski
27da0d6787
Start of getpid()/%d confusion fix...
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@265047 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 14:18:33 +00:00
Ian Holsman
8c1e315d3f
Doxygen fixup / cleanup
...
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:03:59 +00:00
Jim Jagielski
c2c05e0aee
Ensure that req->dn is valid for the util_ldap_cache_compare() call.
...
Esp make sure not null.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230895 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 21:23:22 +00:00
Joe Orton
1dc07b9e89
* modules/ldap/util_ldap.c, modules/aaa/mod_authnz_ldap.c: Stop using
...
APLOG_NOERRNO throughout.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225794 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 15:00:46 +00:00
Joe Orton
84b83bc77a
* modules/aaa/mod_authnz_ldap.c (authz_ldap_check_user_access): Remove
...
unused variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225587 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 19:36:07 +00:00
Rich Bowen
1ac10adf8f
Changed cmpstri to strcasecmp as per Justin's note.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@220073 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 13:46:31 +00:00
Rich Bowen
5c887b8e70
The arguments to require are case-sensitive, so that "Require User" and
...
"Require Valid-User" don't work. This makes those comparisons
case-insensitive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219936 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 16:23:35 +00:00
Joe Orton
d67cf94f72
* modules/aaa/mod_auth_digest.c: Another gcc 4 "structure field may be
...
used uninitialized" warning; fix validation of digest-uri for CONNECT
requests:
(copy_uri_components): Copy the hostinfo field.
(authenticate_digest_user): Don't pass NULL (or, previously, a random
pointer) to strcmp if a digest-uri is provided which doesn't match the
request-uri in a CONNECT request.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@193127 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 10:27:27 +00:00
André Malo
98fb46d6e4
fix lineendings
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@191502 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 16:15:14 +00:00
Paul Querna
df86e987f7
Fix segmentation fault in mod_auth_{basic,digest} when no provider is explicitly listed.
...
Reported by: Ben Collins-Sussman <sussman collab.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@178674 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 20:34:21 +00:00
Bradley Nicholes
0b49d42087
Add mod_authn_alias to the build
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@178054 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 23:09:58 +00:00
Bradley Nicholes
556fb599b5
Add the auth provider name as a note in the request so that authn_provider_alias is able to look up the original provider along with the per_dir configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@178052 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 23:07:49 +00:00
Bradley Nicholes
79a282df9c
authn_provider_alias adds the configuration block tag
...
<AuthnProviderAlias baseProvider Alias>
Authentication directives contained within this block can be
referenced as a new authProvider using the AuthBasicProvider or
AuthDigestProvider directives. These directives will be merged in to
the per_dir configuration just before the base provider is called.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@177985 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 17:43:10 +00:00
William A. Rowe Jr
20d06d7a06
Reintroduce stack frame construction with /Oy- (removal was implied by /O2).
...
This makes binaries far easier to debug, during operation and for post-crash
.dmp analysis. Do not alter /Gs optimizations per brane.
Reviewed by: stoddard, brane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170253 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 19:11:57 +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
6905d3d9d5
Allow httpd on NetWare to build using either the standard socket libraries or the Winsock libraries.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161368 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 23:42:21 +00:00
Bradley Nicholes
38e8b5da89
Implement the exported function from mod_ldap(util_ldap) as optional functions so that we can eliminate the load ordering of mod_ldap and mod_authnz_ldap.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@159619 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 18:44:16 +00:00
André Malo
f5550d2d6a
Fix 'Anonymous *', which denied access
...
* modules/aaa/mod_authn_anon.c (check_anonymous):
don't return AUTH_USER_NOT_FOUND if conf->anyuserid is configured.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153815 13f79535-47bb-0310-9956-ffa450edef68
2005-02-14 17:55:54 +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
Bradley Nicholes
13050b4ff6
Allow AuthLDAPURL to override the default connection type with an option second parameter of NONE, SSL or TLS | STARTTLS
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151083 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 00:03:37 +00:00
William A. Rowe Jr
8aea7cff22
Correct the order of includes to follow httpd conventions, and get
...
Win32 compiling again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124279 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 21:35:51 +00:00
Cliff Woolley
a89bce3fd9
"transfered" is not a word.
...
s/transfered/transferred/g;
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111858 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 18:58:25 +00:00
Bradley Nicholes
804ff9ab22
Allow APR to exist and build outside of the httpd/srclib file structure
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106975 13f79535-47bb-0310-9956-ffa450edef68
2004-11-30 00:12:39 +00:00
William A. Rowe Jr
2a565eff67
Axe a dead variable
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106077 13f79535-47bb-0310-9956-ffa450edef68
2004-11-21 07:18:38 +00:00
Joe Orton
c36ecfa64f
Remove the .cvsignore files.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105796 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 09:07:29 +00:00
Bradley Nicholes
d688f56f36
Return the correct error when the user object is not found
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105697 13f79535-47bb-0310-9956-ffa450edef68
2004-11-05 23:41:38 +00:00
Bradley Nicholes
a7eff802d2
Added the directive "Requires ldap-filter" that allows the module to only authorize a user based on a complex LDAP search filter.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105694 13f79535-47bb-0310-9956-ffa450edef68
2004-11-05 18:48:16 +00:00
Bradley Nicholes
502d1cc8ec
Added the directive "Requires ldap-attribute" that allows the module to only authorize a user if the attribute value specified matches the value of the user object. PR 31913
...
Submitted by: Ryan Morgan <rmorgan pobox.com>
Reviewd by: Brad Nicholes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105675 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 22:05:25 +00:00
Bradley Nicholes
ce0d3a2f6f
Allow mod_authnz_ldap authorization functionality to be used without requiring the user to also be authenticated through mod_authnz_ldap. This allows other authentication modules to take advantage of LDAP authorization only [PR 28253]
...
Submitted by: Jari Ahonen [jah progress.com]
Reviewed by: Brad Nicholes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105669 13f79535-47bb-0310-9956-ffa450edef68
2004-11-02 00:08:21 +00:00
Joe Orton
5360bc93bc
* modules/aaa/mod_authnz_ldap.c: Fix /*-within-comment warning.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105415 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 12:27:18 +00:00
Graham Leggett
a2e54fb970
mod_auth_ldap: Handle the inconsistent way in which the MS LDAP
...
library handles special characters.
PR: 24437
Obtained from:
Submitted by: Jess Holle
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105379 13f79535-47bb-0310-9956-ffa450edef68
2004-10-04 23:43:20 +00:00
William A. Rowe Jr
5e4c2f28c1
Add mod_authnz_ldap for the win32 build
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104922 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 20:34:02 +00:00
Bradley Nicholes
8c9b218b6b
Clean up some compiler warnings
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104727 13f79535-47bb-0310-9956-ffa450edef68
2004-08-19 18:08:19 +00:00
Bradley Nicholes
211ecf3b51
Update the netware make files to stop building the ldap modules from experimental and start building from the new locations.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104719 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 22:26:58 +00:00
Bradley Nicholes
500074e2f5
Both the r->user and r->ap_auth_type were set previously when the username and password were extracted from the request. Resetting them at the end of the handler will overwrite any changes made by the authn provider. For example, the ldap authn provider can be configured to change the user name to a full user dn.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104712 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 16:28:57 +00:00
Graham Leggett
3acd4eaff8
Make sure mod_authnz_ldap is included in the unix builds.
...
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104707 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 13:22:05 +00:00
Graham Leggett
ef72cd4c9d
Clarify an error message to tell the user what to do if apr-util lacks
...
LDAP support.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104706 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 13:15:47 +00:00