Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2004 03:52:05 -0500
From:      Jason Lixfeld <jason+lists.freebsd@lixfeld.ca>
To:        freebsd-questions@freebsd.org
Subject:   Apache 2.0.48/DAV2/SSL0.9.7c/PHP4.3.4/ + mod_auth_ldap = httpd child Segmentation Fault on query
Message-ID:  <B55EDEC1-7014-11D8-8918-000A95989E4A@lixfeld.ca>

next in thread | raw e-mail | index | archive | help
This may be more of a users@httpd.apache.org question, but I figure I'd 
ask here as well anyway.

su-2.05b# uname -a
FreeBSD spam.kill.er 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #25: Fri 
Mar  5 03:51:13 EST 2004     
jlixfeld@spam.kill.er:/usr/obj/usr/src/sys/ESHARA  amd64
su-2.05b#

Very new to ldap + httpd so I'm not 100% sure that this is NOT a 
configuration issue (but I'm 99.999% sure it's not) :)

Have the following in my httpd.conf:

LoadModule ldap_module  libexec/apache2/mod_ldap.so
LoadModule auth_ldap_module libexec/apache2/mod_auth_ldap.so

<Location /foo>
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AuthName "eBit Networks LDAP Authentication Test"
AuthType Basic
AuthLDAPBindDN dc=domain,dc=tld
AuthLDAPBindPAssword xxxxxx
AuthLDAPURL "ldap://127.0.0.1/ou=Manager,dc=domain,dc=tld?uid"
require valid-user
</Location>

after I go to http://domain.tld/foo, I get the login prompt from my 
browser, enter username + password (according to ldap entry below) and 
get an error message.  Nothing shows up in the ldap logs (even after 
running slapd -d -1), but I get the following in httpd-error.log:

[Sat Mar 06 22:23:17 2004] [notice] child pid 6990 exit signal 
Segmentation fault (11)

LDAP entry:

# jlixfeld, Manager, ebit.ca
dn: uid=jlixfeld,cn=Manager,dc=domain,dc=tld
objectClass: uidObject
objectClass: simpleSecurityObject
objectClass: inetOrgPerson
uid: jlixfeld
cn: Manager
userPassword:: xxxxxxxxx
sn: Jason

anyone seen this before?  any ideas?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B55EDEC1-7014-11D8-8918-000A95989E4A>