summaryrefslogtreecommitdiffstats
path: root/src/external
Commit message (Collapse)AuthorAgeFilesLines
* AUTOCONF: Move detection of samba libraries to one fileLukas Slebodnik2014-05-262-5/+10
| | | | Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
* AD-GPO: add libsmbclient to makefilesYassir Elley2014-05-231-0/+5
| | | | Reviewed-by: Sumit Bose <sbose@redhat.com>
* BUILD: Make samba4 libraries optionalLukas Slebodnik2014-05-161-2/+9
| | | | | | | | | | Samba 4 libraries are necessary for building {ad, ipa} provider, but samba4 needn't be available on older distributions. This patch add possibility to build SSSD without {ad, ipa} provider and thus without Samba 4 libraries. The script configure have new argument --with-samba with default value yes. Reviewed-by: Michal Židek <mzidek@redhat.com>
* sss_config: buildPavel Březina2014-05-142-0/+23
| | | | Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
* Use KRB5_CFLAGS where appropriateAlexey Shabalin2014-02-191-0/+5
| | | | | | | | | | There are cases when MIT Kerberos is installed with includes in a subdirectory of /usr/include (or /usr/local/include). In such case we have to properly use KRB5_CFLAGS to reach them. https://fedorahosted.org/sssd/ticket/2226 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
* AUTOTOOLS: krb5 1.12 is also supported krb5 libsLukas Slebodnik2013-12-101-1/+2
| | | | pac responder was not properly detected with krb5 1.12 library
* BUILD: Change error message if missing cifsimap.hLukas Slebodnik2013-11-121-1/+4
| | | | | | | | | | cifs-idmap plugin is enabled by default, but required header file cifsidmap.h needn't be available on other distributions. It was not clear that cifs-idmap plugin is optional feature of sssd. With this patch, configure will recommend to build sssd without cifs idmap plugin if cifsidmap.h is not available. Resolves: https://fedorahosted.org/sssd/ticket/2125
* BUILD: Explicitly link libsss_ad.so with sasl libsLukas Slebodnik2013-11-111-0/+17
| | | | | | If openldap is not built with sasl support libsss_ad.so will not be linked with libsasl2 although sasl_client_init is called by function ad_sasl_initialize.
* Add CIFS idmap pluginBenjamin Franzke2013-10-151-0/+16
| | | | https://fedorahosted.org/sssd/ticket/1534
* Add journald supportJakub Hrozek2013-09-181-0/+13
|
* Do not set HAVE_SYSTEMD_LOGIN if libsystemd-login is not availableSumit Bose2013-09-171-1/+1
| | | | | Even if HAVE_SYSTEMD_LOGIN is set to 0 #ifdef will still see it as defined.
* util: Use systemd-login to check user sessionsSimo Sorce2013-09-161-0/+4
| | | | | | | | | | | | | Use systemd-lgin in preference to check if the user is logged in or not. Fall back to the old method if no systemd-login support is available at compile time or if it returns a fatal error, and can't determine the status of the user on its own. This will allow to consider a user really active (in order to reuse or refresh crdentials) only if it really is logged into the system, and not just if one of the user's processes is stuck around. Resolves: https://fedorahosted.org/sssd/ticket/2084
* Fix formating of variables with type: id_tLukas Slebodnik2013-09-111-0/+3
|
* tests: Add dlopen test to make sure modules worksSimo Sorce2013-09-091-1/+2
| | | | | This tests dlopens and resolves all symbols to make sure there are no missing symbols in our provider modules.
* AUTOTOOLS: More robust detection of inotify.Lukas Slebodnik2013-09-091-0/+32
| | | | | | | | | We checked only header file "sys/inotify" for detection whether inotify works. Some platforms do not have built in inotify, but contain library, which provides inotify-compatible interface. This patch adds more robust detection of inotify in configuration time and appends linker flags to Makefile if inotify is provided by library.
* AUTOTOOLS: Use pkg-config to detect libraries.Lukas Slebodnik2013-09-096-27/+70
| | | | | | | | We used pkg-config only as a fallback if header files was not found, but detection of library failed in case of available header file and linking problem (missing -Ldir). This patch prefers pkg-config.
* AUTOTOOLS: add check for type intptr_tLukas Slebodnik2013-09-091-3/+6
| | | | | We check whether HAVE_INTPTR_T is defined in definition of macro discard_const_p, but autootols macro AC_CHECK_TYPE did not generate it.
* AUTOTOOLS: Refactor unicode library detectionLukas Slebodnik2013-09-091-7/+24
| | | | | | | | | If $libdir is not in default library path libunistring cannot be found. (pkg-config can not be used in this case). This patch helps to search libunistring in "$libdir" directory. In refactoring part, indentation was updated to be more readable and some duplicated parts were removed.
* AUTOTOOLS: Add directories for searching ldap headers and libsLukas Slebodnik2013-09-091-2/+2
|
* AUTOTOOLS: Add missing AC_MSG_RESULTLukas Slebodnik2013-09-094-5/+10
| | | | | AC_MSG_RESULT was not used everywhere after AC_MSG_CHECKING. Therefore two lines from configure output was mixed in some cases.
* AUTOTOOLS: Add -LLIBDIR to PYTHON_LIBSLukas Slebodnik2013-09-091-1/+2
| | | | | Detect directory with python libraries and add this directory to the list of directories to be searched for linker.
* BUILD: Use pkg-config to detect cmockaLukas Slebodnik2013-07-021-19/+18
|
* DNS sites support - add AD SRV pluginPavel Březina2013-05-021-0/+5
| | | | https://fedorahosted.org/sssd/ticket/1032
* DB: Switch to new libini_config APIOndrej Kos2013-04-261-7/+17
| | | | | | | https://fedorahosted.org/sssd/ticket/1786 Since we need to support the old interface as well, the configure scritp is modified and correct ini interface is chosen.
* Allow usage of enterprise principalsSumit Bose2013-04-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Enterprise principals are currently most useful for the AD provider and hence enabled here by default while for the other Kerberos based authentication providers they are disabled by default. If additional UPN suffixes are configured for the AD domain the user principal stored in the AD LDAP server might not contain the real Kerberos realm of the AD domain but one of the additional suffixes which might be completely randomly chooses, e.g. are not related to any existing DNS domain. This make it hard for a client to figure out the right KDC to send requests to. To get around this enterprise principals (see http://tools.ietf.org/html/rfc6806 for details) were introduced. Basically a default realm is added to the principal so that the Kerberos client libraries at least know where to send the request to. It is not in the responsibility of the KDC to either handle the request itself, return a client referral if he thinks a different KDC can handle the request or return and error. This feature is also use to allow authentication in AD environments with cross forest trusts. Fixes https://fedorahosted.org/sssd/ticket/1842
* Provide libnl3 supportOndrej Kos2013-03-271-25/+73
| | | | | | | | | | | | | | | | https://fedorahosted.org/sssd/ticket/812 Update the monitor code to be using the new libnl3 API. Changed configure option --with-libnl By default, it tries to build with libnl3, if not found, then with libnl1, if this isn't found either, build proceeds without libnl, just with warning. Specifing --with-libnl=<libnl3|libnl1|no> checks for the specific given version, if not found, configure ends with error.
* Move signal.m4 from src/util to externalJakub Hrozek2013-03-211-0/+1
|
* Making the ldb check configurableLukas Slebodnik2013-03-201-0/+15
| | | | | | | | | It is possible to enable/disable checking in LDB memberof plugin whether it was built against the same version of LDB that is present on the system. This feature is turned off by default and enabled in Fedora/RHEL spec file. https://fedorahosted.org/sssd/ticket/1813
* Detect the presence of libcmocka during configureJakub Hrozek2013-03-081-0/+19
|
* Add support for krb5 1.11's responder callback.Nathaniel McCallum2013-03-081-0/+1
| | | | | | | | | | | krb5 1.11 adds support for a new method for responding to structured data queries. This method, called the responder, provides an alternative to the prompter interface. This patch adds support for this method. It takes the password and provides it via a responder instead of the prompter. In the case of OTP authentication, it also disables the caching of credentials (since the credentials are one-time only).
* krb5: include backwards compatible declaration of krb5_trace_infoJakub Hrozek2013-02-111-1/+1
| | | | | | | krb5-1.10 used to include "struct krb5_trace_info", now krb5-1.11 includes a "krb5_trace_info" typedefed from "struct _krb5_trace_info". Do the same in the SSSD to allow compiling with both 1.10 and 1.11.
* BUILD: Temporary workaround for Kerberos buildStephen Gallagher2012-11-201-2/+3
| | | | | | This patch extends the Kerberos version check to support Kerberos version 1.11 alpha and later. It is a temporary measure until we can redesign the configure checks for better granularity.
* Only build extract_and_send_pac on platforms that support itJakub Hrozek2012-11-121-0/+2
|
* Add replacement for krb5_find_authdata()Sumit Bose2012-10-261-0/+1
| | | | | | | | | krb5_find_authdata() is only available in MIT Kerberos 1.10 or higher. To allow sssd to be compiled on platform with lower version of MIT Kerberos a replacement call is added. Please note that on those platform the replacement call will only return an error. If the krb5_find_authdata functionality is really needed on those platform it must be implemented by a different patch.
* Only call krb5_set_trace_callback on platforms that support itJakub Hrozek2012-10-121-0/+1
|
* Detect LDAPDerefRes in configure scriptJakub Hrozek2012-09-241-1/+9
| | | | https://fedorahosted.org/sssd/ticket/1317
* autofs, sudo, ssh and PAC are not experimental anymoreJakub Hrozek2012-09-241-9/+4
|
* Check if the SELinux login directory existsJakub Hrozek2012-09-041-0/+9
| | | | https://fedorahosted.org/sssd/ticket/1492
* heimdal: fix compile error in krb5-child-testRambaldi2012-07-091-0/+1
|
* Try to build PAC responder only if all dependencies are availableSumit Bose2012-06-211-5/+8
|
* PAC responder: add basic infrastructureSumit Bose2012-06-211-0/+34
| | | | | This adds only the basic outline of the PAC responder, it won't support any operations, it will just start and initialize itself.
* KRB5: Auto-detect DIR cache support in configureStephen Gallagher2012-06-151-1/+3
| | | | | | We can't support the DIR cache features in systems with kerberos libraries older than 1.10. Make sure we don't build it on those systems.
* Kerberos locator: Include the correct krb5.h header fileJakub Hrozek2012-05-071-2/+13
| | | | https://fedorahosted.org/sssd/ticket/1325
* Eliminate build-time requirement for nscdStephen Gallagher2012-02-271-4/+4
| | | | | | We will now use the autodetected location if available, or else fall back to a value provided by --with-nscd in configure and finally resort to a hard-coded default of /usr/sbin/nscd.
* Use profiling Docbook XSLT only if available, fall back to normalJakub Hrozek2012-02-011-8/+5
|
* IPA: Detect nsupdate support for the realm directiveStephen Gallagher2012-01-171-1/+10
| | | | | For older platforms, do not add the 'realm' line in the update message
* Add compatibility layer for Heimdal Kerberos implementationStephen Gallagher2011-12-221-1/+9
|
* Allow using Glib for UTF8 supportStephen Gallagher2011-12-051-0/+11
|
* RESPONDER: Ensure that all input strings are valid UTF-8Stephen Gallagher2011-11-181-0/+5
|
* Add wrapper for krb5_get_init_creds_opt_set_canonicalizeJan Zeleny2011-11-021-0/+1
|