Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175225 - net-nds/openldap with useflag "kerberos" builds pw_kerberos.so wrong
Summary: net-nds/openldap with useflag "kerberos" builds pw_kerberos.so wrong
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 14:27 UTC by Christian Holler
Modified: 2007-05-31 19:27 UTC (History)
0 users

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 Christian Holler 2007-04-19 14:27:57 UTC
The module pw_kerberos.so is built from the contrib kerberos.c file as soon as the  "kerberos" useflag is set. This is done WITHOUT the -lkrb5 flag passed to gcc, leading to unresolved symbols in .so (e.g. krb5_init_context). slapd will crash as soon as a {KERBEROS} entry occurs in an ldap password field with an unresolved symbol error message. Recompiling the module with -lkrb5 fixes this problem.

Reproducible: Always

Steps to Reproduce:
1. Emerge openldap with useflag "kerberos"
2. Load the pw_kerberos.so module in slapd.conf
3. Authenticate against an ldap user with {KERBEROS} referenced password

Actual Results:  
slapd crashes with unresolved symbol "krb5_init_context" in pw_kerberos.so

Expected Results:  
Successful authentication against running kerberos server
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-05-27 14:25:17 UTC
Can you try to debug this one? There is a Makefile in the contrib dir that calls the C compiler... Please check if that lib is really missing as it seems to be specified there
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-05-31 19:27:45 UTC
after trying it today, it does it for me, please reopen if not for you