[Freeipa-devel] [PATCH] ipa-client-install with --no-sssd option should check for nss_ldap

Alexander Bokovoy abokovoy at redhat.com
Fri Nov 11 14:25:22 UTC 2011


On Fri, 11 Nov 2011, Rob Crittenden wrote:
> Ondrej Hamada wrote:
> >https://fedorahosted.org/freeipa/ticket/2063
> >
> >In order to check presence of nss_ldap when installing client with
> >'--no-sssd' option there was added code into ipa-client-install. Check
> >is base on existence of nss_ldap configuration files. This configuration
> >could be in 'etc/ldap.conf', '/etc/nss_ldap.conf' or
> >'/etc/libnss_ldap.conf'. Presence of any of these files is considered as
> >success otherwise failure.
> 
> I think we should check for nslcd.conf as well and report that
> neither nss-ldap nor nss-pam-ldapd are installed.
We have already code in configure_ldap_config() and 
configure_nslcd_conf that checks all these different files and after 
configuration reports what was configured.

I would rather did a commonalization of detection instead of 
duplicating the code. We can re-use result of detecting what exists 
later in configure_{ldap,nslcd}_config().

-- 
/ Alexander Bokovoy




More information about the Freeipa-devel mailing list