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

Bug 606572

Summary: net-nds/openldap-2.4.43 USE=smbkrb5passwd behavior change
Product: Gentoo Linux Reporter: Daniel M. Weeks <dan>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED OBSOLETE    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel M. Weeks 2017-01-20 07:52:19 UTC
After updating openldap to 2.4.43 I received the following error:

/etc/openldap/slapd.conf: line 120: smbk5pwd: <smbk5pwd-enable> module "smbk5pwd-enable" only allowed when compiled with -DDO_SAMBA.
slapadd: bad configuration file!

It appears the behavior of USE=smbkrb5passwd changed between the last stable version and the current one. Previously all methods in smbkrb5passwd were implicitly enabled with USE=smbkrb5passwd. Now, Kerberos and Samba support in smbkrb5passwd each (logically) require their corresponding use flags as well.

I recommend some type of info or pkg_setup warning of the change in USE flag behavior, particularly for users upgrading.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2019-11-10 16:06:19 UTC
this is probably obsolete now as current versions are newer than that one for a long long time