You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kevin A Sesock/cis/evp/Okstate <se...@okstate.edu> on 2003/01/21 16:08:58 UTC

[users@httpd] LDAP Authentication

Greetings all:

I hate to bother everyone here, with what will probably end up being a 
trivial and minor issue, but I must admit, I am at my wit's end.

After spending the last several days attempting to get mod_auth_ldap to 
work with a badly managed NDS LDAP server, I finally found a work around, 
in that we also have an LDAP server with 1 level, for purposes similar to 
what I'm doing (We call it the workforce tree).

Unfortunately, I can't get to the authentication page anymore. I keep 
receiving Server 500 errors. My error.log file looks like this:

/webaim/* is what I'm attempting to protect.

[Fri Jan 17 14:38:25 2003] [notice] Child 2468: All worker threads have 
exited.
[Fri Jan 17 14:38:25 2003] [notice] Child 2468: Child process is exiting
[Fri Jan 17 14:38:26 2003] [crit] [client 139.78.31.20] configuration 
error:  couldn't check user.  No user file?: /webaim/index.htm, referer: http://webaim2.su.okstate.edu/

After corresponding with Muquit, of mod_auth_ldap fame, he determined that 
any further problems were simply misconfigurations elsewhere, unrelated to 
the mod. I'm still not sure, and am unable to find any archives that 
express a similar issue.

Thank you for your assistance.

Kevin A. Sesock, A+, NET+, CNA
Deskside Computer Support Specialist
Student Disability Services
SLA Program
Computing Information Services
Oklahoma State University

"This is the theory that Jack built. This is the flaw that lay in the 
theory that Jack built. This is the palpable verbal haze that hid the flaw 
that lay in..." -Anon.

[users@httpd] mutiple passwd files for AuthUserFile?

Posted by Xiongfei Wang <wa...@arches.uga.edu>.
in .htaccess i have code as following 

--------------------------
AuthType Basic
AuthName "/var/www/apidb-dev"
AuthUserFile /etc/httpd/etc/passwd    #1
AuthUserFile /etc/httpd/etc/passwd.apidb-dev #2
------------------------------

My purpose is to store user in two password files, passwd contain users
who can access serverl virtual websites and passwd.apidb-dev only contains
user who can only access one (current website). but it seems that this way
does not work. the result of this config is only user in passwd.apidb-dev
can access current website. Is there a way to set up multiple passed files
for AuthUserFile?

Thanks


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] LDAP Authentication

Posted by "John K. Sterling" <jo...@sterls.com>.
>-- Original Message --
>From: "Kevin A Sesock/cis/evp/Okstate" <se...@okstate.edu>
>Subject: [users@httpd] LDAP Authentication

...snip...

>[Fri Jan 17 14:38:26 2003] [crit] [client 139.78.31.20] configuration 
>error:  couldn't check user.  No user file?: /webaim/index.htm, referer:
>http://webaim2.su.okstate.edu/

This is because you have mod_auth enabled.  Either disable it from your
build, or turn AuthAuthoritative Off so it will pass on the opportunity
to authenticate to other modules.

I tend to prefer not compiling in or loading auth handlers that I am not
using.

sterling


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org