diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2011-07-01 12:15:12 +0300 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2011-07-01 12:19:23 +0300 |
commit | d29143ce5f6364dfc93dd0228dc58199f956b0a6 (patch) | |
tree | ef922b914704860b99ebb0723916d004971b88fe /doc/examples/examples.py | |
parent | c746abd63ac544273a2ddec44a3845e4eb880e62 (diff) | |
download | freeipa-d29143ce5f6364dfc93dd0228dc58199f956b0a6.tar.gz freeipa-d29143ce5f6364dfc93dd0228dc58199f956b0a6.tar.xz freeipa-d29143ce5f6364dfc93dd0228dc58199f956b0a6.zip |
Make error reporting more 'local' for various configurations of nss_ldap packages
https://fedorahosted.org/freeipa/ticket/1369
When nss_ldap-based configuration does not work, report proper package name instead of always assuming nss_ldap.
At least, in RHEL6 and Fedora appropriate package is called nss-pam-ldapd while in older releases and other
distributions it might be called differently.
The change makes less confusing error reporting. It also introduces common utility function package_installed_name()
which provides an interface to query package manager for existence of mutually exclusive packages which is
helpful to distinguish between different configuration paths.
Diffstat (limited to 'doc/examples/examples.py')
0 files changed, 0 insertions, 0 deletions