You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/22 10:46:02 UTC

DO NOT REPLY [Bug 28531] New: - httpd-2.1.0-pre3 ldap authentification error

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28531>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28531

httpd-2.1.0-pre3 ldap authentification error

           Summary: httpd-2.1.0-pre3 ldap authentification error
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: erwin.leubaz@advancedsilicon.com


Hello,

Install httpd-2.1.0-pre3.tar.gz on SuSE 9.0 because I need dav-lock for 
subversion.
But ldap authentification don't run well.

from http://www.apache.org/~striker/httpd-2.1.0-pre3/httpd-2.1.0-pre3.tar.gz

Compilation OK with db-4.1.25 and neon-0.24.5:

Apr

./configure --prefix=/export/subversion/test && make && make install

Apr-Util

./configure --prefix=/export/subversion/test --with-
apr=/export/subversion/test/bin/apr-config --with-berkeley-
db=/export/subversion/test --with-ldap --with-expat=/usr --with-iconv=/usr --
with-gdbm=/usr --with-ndbm && make && make install

Httpd

./configure --prefix=/export/subversion/test --enable-mods-shared=all --enable-
so --enable-dav --enable-dav-fs --enable-dav-lock --enable-ldap --enable-auth-
ldap --with-apr=/export/subversion/test/bin/apr-config --with-apr-
util=/export/subversion/test/bin/apu-config --with-berkeley-
db=/export/subversion/test --enable-file-cache --enable-mem-cache --enable-
cache --enable-disk-cache --enable-ssl --enable-deflate && make depend && make 
&& make install

httpd.conf with : 

+

LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600

<Location /ldap-status>

SetHandler ldap-status
Order deny,allow
Deny from all
Allow from yourdomain.example.com #modified with correct value on 2.0.48
AuthLDAPEnabled on
AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one #modified with correct 
value on 2.0.48
AuthLDAPAuthoritative on
require valid-user

</Location> 

the result after login prompt is a page like this:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.

Please contact the server administrator, you@example.com and inform them of the 
time the error occurred, and anything you might have done that may have caused 
the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.1.0-dev (Unix) DAV/2 Server at 10.0.0.1 Port 80

and logs are :

[Thu Apr 22 09:44:02 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Apr 22 09:44:02 2004] [notice] LDAP: SSL support available
[Thu Apr 22 09:44:02 2004] [info] mod_unique_id: using ip addr XX.XX.XX.XX
[Thu Apr 22 09:44:03 2004] [notice] Digest: generating secret for digest 
authentication ...
[Thu Apr 22 09:44:03 2004] [notice] Digest: done
[Thu Apr 22 09:44:03 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Apr 22 09:44:03 2004] [notice] LDAP: SSL support available
[Thu Apr 22 09:44:03 2004] [info] mod_unique_id: using ip addr XX.XX.XX.XX
[Thu Apr 22 09:44:04 2004] [notice] Apache/2.1.0-dev (Unix) DAV/2 configured -- 
resuming normal operations
[Thu Apr 22 09:44:04 2004] [info] Server built: Apr 22 2004 09:30:19
[Thu Apr 22 09:44:04 2004] [debug] prefork.c(992): AcceptMutex: sysvsem 
(default: sysvsem)
[Thu Apr 22 09:44:04 2004] [debug] util_ldap.c(1104): [21033] ldap cache init: 
Success
[Thu Apr 22 09:44:04 2004] [debug] util_ldap.c(1104): [21037] ldap cache init: 
Success
[Thu Apr 22 09:44:04 2004] [debug] util_ldap.c(1104): [21034] ldap cache init: 
Success
[Thu Apr 22 09:44:04 2004] [debug] util_ldap.c(1104): [21035] ldap cache init: 
Success
[Thu Apr 22 09:44:04 2004] [debug] util_ldap.c(1104): [21036] ldap cache init: 
Success
[Thu Apr 22 09:44:36 2004] [debug] util_ldap.c(1104): [21043] ldap cache init: 
Success
[Thu Apr 22 09:44:39 2004] [error] Internal error: pcfg_openfile() called with 
NULL filename
[Thu Apr 22 09:44:39 2004] [error] [client 10.0.0.27] (9)Bad file descriptor: 
Could not open password file: (null)

Tell me if you need some others informations.

Hope that can help you to continue your grat job with apache.

Regard's

Erwin

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org