summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_sudo_hostinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* sudo ldap provider: support autoconfiguration of hostnamesPavel Březina2012-07-301-6/+275
| | | | | | | | | | | https://fedorahosted.org/sssd/ticket/1420 sudoHost attribute may contain hostname or fqdn of the machine. Sudo itself supports only one hostname and its fqdn - the one that is returned by gethostbyname(). This patch implements autoconfiguration of hostname and fqdn if it has not been set manually by ldap_sudo_hostnames option.
* Fix potential NULL-dereferenceStephen Gallagher2012-07-091-1/+3
| | | | Coverity #12797
* Fix crash when interface doesn't have an addressStef Walter2012-07-061-0/+3
| | | | * This is similar to the code in ipa_dyndns_update_send()
* sudo ldap provider: support autoconfiguration of IP addressesPavel Březina2012-06-291-1/+179
| | | | | sudoHost attribute may contain IPv4 or IPv6 host/network address. This patch adds support for autoconfiguration of these information.
* sudo ldap provider: load host filter configuration on initPavel Březina2012-06-291-0/+111
We need to load host information during provider initialization. Currently it loads only values from configuration files, but it is implemented as an asynchrounous request as it will later try to autodetect these settings (which will need to contact DNS).