Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 245601

Summary: net-nds/openldap-2.3.43: With USE="smbkrb5passwd" kerberos AND samba are forced.
Product: Gentoo Linux Reporter: Knut Krause <soa2ii>
Component: [OLD] ServerAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Knut Krause 2008-11-04 23:25:37 UTC
I set up openldap with the smbkrb5passwd use flag because I want to realize a Samba + LDAP PDC wich should server the LDAP users for linux clients too. The smbk5pwd overlay should update the Samba NTpassword hash if a linux client uses a simple passwd. The problem now is that after emerging openldap with this useflag (and enabling it in the slapd.conf) LDAP won't start any more until I would configure kerberos (wich I do not want to use).

I had to edit the ebuild myself and remove the hardcoded kerberos support of smbk5pwd. I now just use this settings:

mydef="-DDO_SAMBA"

It would be great if this line is put together trough openldaps main use flags kerberos and samba.

Reproducible: Always

Steps to Reproduce:
1. emerge openldap with smbkrb5passwd
2. set everything up without kerberos
3. start ldap
Actual Results:  
LDAP won't start any more.

Expected Results:  
LDAP should start because openldap has USE="-kerberos"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-07-28 19:35:52 UTC
You do NOT need USE=smbkrb5passwd for changing passwords like that. You only need USE=samba.