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=40582>.
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=40582

           Summary: Apache crashes at startup when using database
                    authentication
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: HP
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_authn_ldap
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Hi,

I have built Apache 2.2.3 on my old HP-UX 10.20 box with PostGreSQL support.

Configuration was :

./configure  --enable-info=shared --enable-cgi=shared --enable-so
--enable-unique-id=shared \
--enable-authn-dbd=shared --enable-dbd=shared --with-included-apr
--with-pgsql=/usr/local/pgsql/ --with-expat=builtin

I have in my configuration file :
[...]
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule dav_module modules/mod_dav.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_fs_module modules/mod_dav_fs.so
[...]

# Securite par postgresql
DBDriver pgsql
DBDPersist On
DBDParams "dbname=www user=mydbuser"

<Directory /projets/perso/Mariage/>
        AuthDBDUserPWQuery "select mdp from mariage.comptes where nom = %s"
</Directory>
[...]

Apache crashes if I try to launch it :
[33]/usr/local/apache2 #bin/apachectl restart
bin/apachectl[80]: 28336 Memory fault(coredump)

If I comment out AuthDBDUserPWQuery line, it starts and working fine (obviously
w/o authentication).

I'll try this W.E. on my production server (NetBSD 3.0/Sparc) to check if it's
due to my obsolete HP-UX 10.20 or if it's a general problem.

Best regards,

Laurent

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to