Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218991 - mod_ldap_userdir fails with undefined symbol: apr_get_userid under apache-2.2
Summary: mod_ldap_userdir fails with undefined symbol: apr_get_userid under apache-2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major with 1 vote (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 07:31 UTC by Calum
Modified: 2009-09-18 13:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Calum 2008-04-23 07:31:12 UTC
These are the useflags and versions I've build relevant packages with.

[ebuild   R   ] www-servers/apache-2.2.8  USE="ldap ssl -debug -doc (-selinux) -sni -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB
[ebuild   R   ] dev-libs/apr-1.2.11  USE="ipv6 urandom -debug -doc" 0 kB
[ebuild   R   ] dev-libs/apr-util-1.2.10  USE="berkdb gdbm ldap -doc -mysql -postgres -sqlite -sqlite3" 0 kB
[ebuild   R   ] www-apache/mod_ldap_userdir-1.1.5  USE="ssl" 0 kB

I tried the masked versions of mod_ldap_userdir, but got errors about it not being compiled with TLS/SSL support, even though I specified the ssl USE flag.

Reproducible: Always




Shout if you need any more info.
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2008-04-25 11:16:32 UTC
1.1.12 works for me, can you post the SSL/TLS error?
Comment 2 Calum 2008-04-25 11:40:48 UTC
Sure. Rebuilt, and then trying to start Apache gives:

# /etc/init.d/apache2 start
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 8 of /etc/apache2/modules.d/47_mod_ldap_userdir.conf:
mod_ldap_userdir was not built with LDAP TLS/SSL support.

My 47_mod*.conf is :

<IfDefine LDAP_USERDIR>
LoadModule ldap_userdir_module modules/mod_ldap_userdir.so

LDAPUserDir             public_html
#LDAPUserDirDNInfo       cn=root,dc=yourcompany,dc=com yourpassword
LDAPUserDirBaseDN       ou=People,dc=foo,dc=bar
LDAPUserDirServer       192.168.xx.xx
LDAPUserDirUseTLS       on
</IfDefine>

# vim: ts=4 filetype=apache

I needed the LDAPUserDirUseTLS in earlier versions - unless the config format has changed, but upgrading the module didn't leave me a new config in ._cfg...

Any thoughts?
Comment 3 Calum 2008-04-25 11:46:44 UTC
Oh, and of course I specified USE="ssl" when building it. :)

[ebuild   R   ] www-apache/mod_ldap_userdir-1.1.12  USE="ssl" 0 kB 
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2008-04-25 12:21:25 UTC
should be fixed, please wait an hour or so, resync and try to remerge 1.1.12 again
Comment 5 Calum 2008-04-25 13:28:26 UTC
Just installed it - it compiles, and runs, but doesn't do much :)

foo@bar:~$ telnet 192.168.x.x 80
Trying 192.168.x.x...
Connected to 192.168.x.x.
Escape character is '^]'.
GET /~foo/ HTTP/1.1
Host: 192.168.x.x

Connection closed by foreign host.
foo@bar:~$ 

The rest of the web server works fine, just nothing with a /~
Oh, and made up users don't change anything either. /~validuser or /~wnoincowincowecn are just the same.
Comment 6 Calum 2008-04-25 15:21:53 UTC
Oh, and I get an apache child segfault every time I try and hit a /~page

[Fri Apr 25 16:20:43 2008] [notice] child pid 1123 exit signal Segmentation fault (11)
Comment 7 Calum 2008-05-23 10:47:05 UTC
Any news on this?
Comment 8 Calum 2008-08-21 14:26:55 UTC
Any news on this?
Comment 9 Steve Kalemkiewicz 2008-08-30 03:18:23 UTC
I'm experiencing the same issue.  Child keeps segfaulting when I try to access a user's public_html folder.

The ldap userdir mod is 1.1.12.
Apache is 2.2.9.
Comment 10 Benedikt Böhm (RETIRED) gentoo-dev 2009-09-18 13:38:58 UTC
please open a seperate bug if this is still an issue with 1.1.16 (the segfault has most likely nothing to do with the original undefined symbol error)