https://issues.apache.org/bugzilla/show_bug.cgi?id=44754
Summary: AuthnProviderAlias - Apache Crashes
Product: Apache httpd-2
Version: 2.2.6
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: All
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
=============================
Environment
=============================
Apache 2.2.6
Novell eDirectory 8.7.3
Windows XP Pro SP 2
=============================
Description of BUG
=============================
Server crashes while trying to authorize user via LDAP.
=============================
HTTPD.CONF
=============================
ThreadsPerChild 250
MaxRequestsPerChild 0
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
Listen 10.0.0.2:80
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule php5_module php/php5apache2_2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
ServerAdmin [EMAIL PROTECTED]
PHPIniDir "C:/Program Files/Apache Software Foundation/Apache2.2/php"
ServerName 10.0.0.2:80
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
<Directory /phpmyadmin/>
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from All
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
ErrorLog logs/error.log
LogLevel debug
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog logs/access.log common
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software
Foundation/Apache2.2/cgi-bin/"
</IfModule>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
DefaultType text/plain
<IfModule mime_module>
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600
<Location /ldap-status>
SetHandler ldap-status
</Location>
<AuthnProviderAlias ldap ldap-alias1>
AuthLDAPUrl ldap://10.0.0.1/ou=AUTO,o=ABC?cn
</AuthnProviderAlias>
=============================
DocumentRoot/pula/.htaccess
=============================
AuthDigestProvider ldap-alias1
AuthType Digest
AuthName LDAP_Protected_Place
AuthzLDAPAuthoritative off
require valid-user
=============================
ACCESS LOG
=============================
10.0.0.2 - - [04/Apr/2008:10:44:58 +0300] "GET /pula HTTP/1.0" 401 401
=============================
ERROR LOG
=============================
[Fri Apr 04 10:44:48 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Fri Apr 04 10:44:48 2008] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Fri Apr 04 10:44:48 2008] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Fri Apr 04 10:44:48 2008] [info] Init: Initializing (virtual) servers for SSL
[Fri Apr 04 10:44:48 2008] [info] mod_ssl/2.2.6 compiled against Server:
Apache/2.2.6, Library: OpenSSL/0.9.8e
[Fri Apr 04 10:44:49 2008] [debug] util_ldap.c(1324): [2244] ldap cache:
Setting shared memory cache size to 200000 bytes.
[Fri Apr 04 10:44:49 2008] [debug] util_ldap.c(1396): [2244] ldap cache:
Setting search cache size to 1024 entries.
[Fri Apr 04 10:44:49 2008] [debug] util_ldap.c(1372): [2244] ldap cache:
Setting cache TTL to 600000000 microseconds.
[Fri Apr 04 10:44:49 2008] [debug] util_ldap.c(1441): [2244] ldap cache:
Setting operation cache size to 1024 entries.
[Fri Apr 04 10:44:49 2008] [debug] util_ldap.c(1417): [2244] ldap cache:
Setting operation cache TTL to 600000000 microseconds.
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(876): [2244] auth_ldap url
parse: `ldap://10.0.0.1/ou=AUTO,o=ABC?cn'
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(885): [2244] auth_ldap url
parse: Host:10.0.0.1
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(887): [2244] auth_ldap url
parse: Port: 389
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(889): [2244] auth_ldap url
parse: DN: ou=AUTO,o=ABC
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(891): [2244] auth_ldap url
parse: attrib: cn
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(893): [2244] auth_ldap url
parse: scope: base
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(898): [2244] auth_ldap url
parse: filter: (null)
[Fri Apr 04 10:44:49 2008] [debug] mod_authnz_ldap.c(978): LDAP: auth_ldap not
using SSL connections
[Fri Apr 04 10:44:49 2008] [notice] Digest: generating secret for digest
authentication ...
[Fri Apr 04 10:44:49 2008] [notice] Digest: done
[Fri Apr 04 10:44:49 2008] [debug] util_ldap.c(1952): LDAP merging Shared Cache
conf: shm=0x716638 rmm=0x716660 for VHOST: 10.0.0.2
[Fri Apr 04 10:44:49 2008] [info] APR LDAP: Built with Microsoft Corporation.
LDAP SDK
[Fri Apr 04 10:44:49 2008] [info] LDAP: SSL support unavailable: LDAP: CA
certificates cannot be set using this method, as they are stored in the
registry instead.
[Fri Apr 04 10:44:49 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Fri Apr 04 10:44:49 2008] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Fri Apr 04 10:44:49 2008] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(374): shmcb_init
allocated 512000 bytes of shared memory
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(554): entered
shmcb_init_memory()
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(576): for 512000 bytes,
recommending 4266 indexes
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(619): shmcb_init_memory
choices follow
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(621): division_mask =
0x1F
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(623): division_offset =
64
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(625): division_size =
15998
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(627): queue_size = 1604
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(629): index_num = 133
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(631): index_offset = 8
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(633): index_size = 12
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(635): cache_data_offset =
8
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(637): cache_data_size =
14386
[Fri Apr 04 10:44:49 2008] [debug] ssl_scache_shmcb.c(650): leaving
shmcb_init_memory()
[Fri Apr 04 10:44:49 2008] [info] Shared memory session cache initialised
[Fri Apr 04 10:44:49 2008] [info] Init: Initializing (virtual) servers for SSL
[Fri Apr 04 10:44:49 2008] [info] mod_ssl/2.2.6 compiled against Server:
Apache/2.2.6, Library: OpenSSL/0.9.8e
[Fri Apr 04 10:44:49 2008] [notice] Apache/2.2.6 (Win32) mod_ssl/2.2.6
OpenSSL/0.9.8e configured -- resuming normal operations
[Fri Apr 04 10:44:49 2008] [notice] Server built: Sep 5 2007 08:58:56
[Fri Apr 04 10:44:49 2008] [notice] Parent: Created child process 3500
[Fri Apr 04 10:44:49 2008] [debug] mpm_winnt.c(487): Parent: Sent the
scoreboard to the child
[Fri Apr 04 10:44:49 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Fri Apr 04 10:44:49 2008] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Fri Apr 04 10:44:50 2008] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Fri Apr 04 10:44:50 2008] [info] Init: Initializing (virtual) servers for SSL
[Fri Apr 04 10:44:50 2008] [info] mod_ssl/2.2.6 compiled against Server:
Apache/2.2.6, Library: OpenSSL/0.9.8e
[Fri Apr 04 10:44:50 2008] [debug] util_ldap.c(1324): [3500] ldap cache:
Setting shared memory cache size to 200000 bytes.
[Fri Apr 04 10:44:50 2008] [debug] util_ldap.c(1396): [3500] ldap cache:
Setting search cache size to 1024 entries.
[Fri Apr 04 10:44:50 2008] [debug] util_ldap.c(1372): [3500] ldap cache:
Setting cache TTL to 600000000 microseconds.
[Fri Apr 04 10:44:50 2008] [debug] util_ldap.c(1441): [3500] ldap cache:
Setting operation cache size to 1024 entries.
[Fri Apr 04 10:44:50 2008] [debug] util_ldap.c(1417): [3500] ldap cache:
Setting operation cache TTL to 600000000 microseconds.
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(876): [3500] auth_ldap url
parse: `ldap://10.0.0.1/ou=AUTO,o=ABC?cn'
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(885): [3500] auth_ldap url
parse: Host:10.0.0.1
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(887): [3500] auth_ldap url
parse: Port: 389
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(889): [3500] auth_ldap url
parse: DN: ou=AUTO,o=ABC
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(891): [3500] auth_ldap url
parse: attrib: cn
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(893): [3500] auth_ldap url
parse: scope: base
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(898): [3500] auth_ldap url
parse: filter: (null)
[Fri Apr 04 10:44:50 2008] [debug] mod_authnz_ldap.c(978): LDAP: auth_ldap not
using SSL connections
[Fri Apr 04 10:44:50 2008] [notice] Digest: generating secret for digest
authentication ...
[Fri Apr 04 10:44:50 2008] [notice] Digest: done
[Fri Apr 04 10:44:50 2008] [debug] util_ldap.c(1952): LDAP merging Shared Cache
conf: shm=0x714378 rmm=0x7143a0 for VHOST: 10.0.0.2
[Fri Apr 04 10:44:50 2008] [info] APR LDAP: Built with Microsoft Corporation.
LDAP SDK
[Fri Apr 04 10:44:50 2008] [info] LDAP: SSL support unavailable: LDAP: CA
certificates cannot be set using this method, as they are stored in the
registry instead.
[Fri Apr 04 10:44:50 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Fri Apr 04 10:44:50 2008] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Fri Apr 04 10:44:50 2008] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(374): shmcb_init
allocated 512000 bytes of shared memory
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(554): entered
shmcb_init_memory()
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(576): for 512000 bytes,
recommending 4266 indexes
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(619): shmcb_init_memory
choices follow
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(621): division_mask =
0x1F
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(623): division_offset =
64
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(625): division_size =
15998
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(627): queue_size = 1604
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(629): index_num = 133
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(631): index_offset = 8
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(633): index_size = 12
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(635): cache_data_offset =
8
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(637): cache_data_size =
14386
[Fri Apr 04 10:44:50 2008] [debug] ssl_scache_shmcb.c(650): leaving
shmcb_init_memory()
[Fri Apr 04 10:44:50 2008] [info] Shared memory session cache initialised
[Fri Apr 04 10:44:50 2008] [info] Init: Initializing (virtual) servers for SSL
[Fri Apr 04 10:44:50 2008] [info] mod_ssl/2.2.6 compiled against Server:
Apache/2.2.6, Library: OpenSSL/0.9.8e
[Fri Apr 04 10:44:50 2008] [notice] Child 3500: Child process is running
[Fri Apr 04 10:44:50 2008] [debug] mpm_winnt.c(408): Child 3500: Retrieved our
scoreboard from the parent.
[Fri Apr 04 10:44:50 2008] [info] Parent: Duplicating socket 192 and sending it
to child process 3500
[Fri Apr 04 10:44:50 2008] [info] Parent: Duplicating socket 188 and sending it
to child process 3500
[Fri Apr 04 10:44:50 2008] [debug] mpm_winnt.c(605): Parent: Sent 2 listeners
to child 3500
[Fri Apr 04 10:44:50 2008] [debug] mpm_winnt.c(564): Child 3500: retrieved 2
listeners from parent
[Fri Apr 04 10:44:50 2008] [notice] Child 3500: Acquired the start mutex.
[Fri Apr 04 10:44:50 2008] [notice] Child 3500: Starting 250 worker threads.
[Fri Apr 04 10:44:50 2008] [notice] Child 3500: Starting thread to listen on
port 443.
[Fri Apr 04 10:44:50 2008] [notice] Child 3500: Starting thread to listen on
port 80.
[Fri Apr 04 10:45:16 2008] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Fri Apr 04 10:45:16 2008] [notice] Child 3500: Exit event signaled. Child
process is ending.
[Fri Apr 04 10:45:17 2008] [info] Child 3500: Accept thread exiting.
[Fri Apr 04 10:45:17 2008] [info] Child 3500: Accept thread exiting.
[Fri Apr 04 10:45:17 2008] [notice] Child 3500: Released the start mutex
[Fri Apr 04 10:45:17 2008] [info] Child 3500: 249 threads blocked on the
completion port
[Fri Apr 04 10:45:18 2008] [notice] Child 3500: Waiting for 250 worker threads
to exit.
[Fri Apr 04 10:45:27 2008] [notice] Parent: Child process exited successfully.
[Fri Apr 04 10:45:27 2008] [info] removed PID file C:/Program Files/Apache
Software Foundation/Apache2.2/logs/httpd.pid (pid=2244)
Error in my_thread_global_end(): 1 threads didn't exit
===============================================================================
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]