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

Bug 143190

Summary: clash on USE flag ldap
Product: Gentoo Linux Reporter: Thomas Urban <soletan>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Urban 2006-08-08 03:32:37 UTC
Hi,


I started to install Gentoo using 2006.0 x86 LiveCD snapshot, visual installer (X11) and choosing to install as little as possible by downloading from web.
After basic installation succeeded something failed, I can't remember ... nevertheless all basic Portage system etc. was installed on harddisc, so I continued to resync portage tree, update portage, update gcc and glibc, updating the system ...

before updating system I added USE flag ldap, e.g. to get ldap support in things like Apache, Samba, PAM? I don't know ... I'd like to use LDAP and so wanted to have as much software supporting it as possible.

However, while on "emerge --update system" configuring Samba failed due to missing LDAP. Then I started to check the list using --ask (yes, before that there were 71 packages listed for update and I swear I couldn't decide whether to take them all or not before) ... and I found samba in list above LDAP. Even Cyrus SASL failed to configure due to missing LDAP ... same situation.

Even when I'm new to Gentoo I was working with Linux (FC,SuSE,...) for more than five years now running my own servers, providing my own customers etc. So I expected something different when requesting LDAP support by setting related USE flag.

Of course, I want Samba to support LDAP. However, I expect LDAP to first require Cyrus SASL to support SASL-based authentication. And SASL in turn failed, because it takes USE flag ldap to enable integration of LDAPdb as backend. That is in conformance to my expectation on setting USE flag LDAP.

Finally I solved the clash by temporarily disabling USE flag ldap on samba and cyrus-sasl emerging them individually. After that emerging system on update continued without any problem.


So, I'd like to propose extending USE flags or at least get Cyrus-SASL using separate USE flag to enable LDAPdb. Additionally the emerging order should be adjusted.


Best Regards,

Thomas Urban
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-08 03:34:03 UTC

*** This bug has been marked as a duplicate of 32394 ***