Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Resend SIGTERM if child doesn't terminate | Stephen Gallagher | 2010-12-02 | 1 | -24/+40 |
| | | | | | | | | | There is a race condition where if we send a SIGTERM before the kernel has scheduled the child, it may be lost, and the child will not terminate and will leave the monitor hung in wait(). This patch alters this behavior so that we will send the SIGTERM again every 10ms and check the wait() in a nonblocking manner. | ||||
* | Make default SIGTERM and SIGINT handlers use tevent | Stephen Gallagher | 2010-12-02 | 1 | -1/+33 |
| | |||||
* | Add check_online method to LDAP ID provider | Sumit Bose | 2010-12-01 | 4 | -2/+46 |
| | |||||
* | Fix offline detection in sdap_cli_connect request | Sumit Bose | 2010-12-01 | 1 | -0/+1 |
| | | | | | | | sdap_cli_connect_recv_ext() checks if the failover server is not set to determine if the backend is offline. To make this work properly if multiple servers are defined the failover server must be set to NULL if all servers are checked. | ||||
* | Run checks before resetting offline state | Sumit Bose | 2010-12-01 | 6 | -5/+143 |
| | | | | | | | | | | | | Before setting the backend to online during a reset offline request the check_online method if the ID provider is called. If the check_online method returns that the ID provider is still not reachable the backend stays offline. Otherwise the backend is switched to online and the related callbacks are run. Additionally the check online test is called during the res_init request because a change in /etc/resolve.conf might also make a server reachable which was assumed offline before. | ||||
* | Daemonize by default | Sumit Bose | 2010-12-01 | 1 | -0/+4 |
| | |||||
* | Allow protocol fallback for SRV queries | Jakub Hrozek | 2010-12-01 | 9 | -12/+53 |
| | | | | https://fedorahosted.org/sssd/ticket/691 | ||||
* | Internal DNS resolver should check /etc/hosts | Jakub Hrozek | 2010-11-24 | 1 | -0/+2 |
| | | | | https://fedorahosted.org/sssd/ticket/686 | ||||
* | Print correct error messages for dp_err_to_string() | Stephen Gallagher | 2010-11-24 | 2 | -7/+8 |
| | | | | | | | | | | | All errnum values passed into this function throughout the code are PAM error codes, but we were passing them through strerror() to print them, which is only meaningful for ERRNO error codes. This patch changes dp_err_to_string() to use pam_strerror() and renames it to dp_pam_err_to_string() for clarity. https://fedorahosted.org/sssd/ticket/636 | ||||
* | Fix a typo on setup_netlink() | Sumit Bose | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | fix typo in get_server_status() | Sumit Bose | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | sss_client: make code thread-safe | Simo Sorce | 2010-11-22 | 6 | -58/+225 |
| | | | | | | | | | | Add mutexes around nss operations and serialize them. This is necessary because nss operations may have global state. For pam it is sufficient to protect socket operations instead. As pam functions use only the provided pam handler. Fixes: https://fedorahosted.org/sssd/ticket/640 | ||||
* | Add SIGUSR2 to reset offline status | Sumit Bose | 2010-11-22 | 2 | -0/+38 |
| | |||||
* | Add signal documentation to sssd(8) | Stephen Gallagher | 2010-11-22 | 1 | -0/+35 |
| | | | | https://fedorahosted.org/sssd/ticket/665 | ||||
* | Use a more efficient host search filter | Sumit Bose | 2010-11-19 | 1 | -5/+6 |
| | |||||
* | Fix man page | Sumit Bose | 2010-11-19 | 1 | -2/+2 |
| | | | | | | Currently sssd does not support authentication via GSSAPI. I think it is not necessary to support it, because if GSSAPI is possible Kerberos should be use for authentication. | ||||
* | Fix offline detection for LDAP auth/chpass | Sumit Bose | 2010-11-19 | 1 | -5/+13 |
| | |||||
* | Wait for all children to exit | Stephen Gallagher | 2010-11-18 | 1 | -2/+61 |
| | | | | | Previously, there was a race-condition where the monitor might terminate before its children. | ||||
* | Add missing error code | Sumit Bose | 2010-11-18 | 1 | -0/+1 |
| | |||||
* | Fix authentication queue code for proxy auth | Stephen Gallagher | 2010-11-18 | 1 | -12/+19 |
| | | | | | | | | We weren't decrementing the count of in-progress authentication request child processes when they completed successfully. With this patch, we will now guarantee that the process count is accurate and that queued requests will be started when a slot is freed up. | ||||
* | Ensure that SSSD shuts down completely before restarting | Stephen Gallagher | 2010-11-18 | 1 | -0/+9 |
| | |||||
* | Log startup errors to syslog | Stephen Gallagher | 2010-11-16 | 1 | -7/+9 |
| | |||||
* | Fix incorrect type comparison | Stephen Gallagher | 2010-11-15 | 1 | -1/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/657 | ||||
* | Fix const cast warnings in tests | Stephen Gallagher | 2010-11-15 | 2 | -2/+2 |
| | |||||
* | Fix const cast warning in confdb_create_ldif | Stephen Gallagher | 2010-11-15 | 1 | -4/+4 |
| | |||||
* | Fix const cast issue with sysdb_attrs_users_from_str_list | Stephen Gallagher | 2010-11-15 | 3 | -11/+11 |
| | |||||
* | Fix const cast warning in build_attrs_from_map | Stephen Gallagher | 2010-11-15 | 1 | -3/+3 |
| | |||||
* | Fix const cast warning for sysdb_update_members | Stephen Gallagher | 2010-11-15 | 4 | -14/+14 |
| | |||||
* | Fix cast warning for pam_sss.c | Stephen Gallagher | 2010-11-15 | 1 | -8/+11 |
| | |||||
* | Introduce pam_verbosity config option | Sumit Bose | 2010-11-15 | 7 | -11/+126 |
| | | | | | | | | | | | Currently we display all PAM messages generated by sssd to the user. But only some of them are important and others are just some useful information. This patch introduces a new option to the PAM responder which controls what kind of messages are displayed. As an example the 'Authenticated with cached credentials' message is used. This message is only displayed if pam_verbosity=1 or if there is an expire date. | ||||
* | Avoid long long in messages to PAM client use int64_t | Sumit Bose | 2010-11-15 | 3 | -16/+16 |
| | |||||
* | Sanitize ldap attributes in the config file | Stephen Gallagher | 2010-11-15 | 1 | -2/+21 |
| | | | | https://fedorahosted.org/sssd/ticket/458 | ||||
* | Properly document ldap_purge_cache_timeout | Stephen Gallagher | 2010-11-15 | 2 | -1/+28 |
| | | | | Also allow it to be disabled entirely | ||||
* | Sanitize search filters in LDAP provider | Stephen Gallagher | 2010-11-15 | 4 | -7/+61 |
| | |||||
* | Add unit tests for users and groups with odd characters | Stephen Gallagher | 2010-11-15 | 1 | -0/+145 |
| | |||||
* | Sanitize sysdb dn for memberof lookup | Stephen Gallagher | 2010-11-15 | 1 | -1/+11 |
| | |||||
* | Sanitize search filters in memberOf plugin | Stephen Gallagher | 2010-11-15 | 2 | -3/+23 |
| | |||||
* | Sanitize sysdb DN helpers | Stephen Gallagher | 2010-11-15 | 1 | -7/+83 |
| | |||||
* | Sanitize sysdb filters in the LDAP provider | Stephen Gallagher | 2010-11-15 | 1 | -2/+11 |
| | |||||
* | Sanitize sysdb search filters in the IPA provider | Stephen Gallagher | 2010-11-15 | 1 | -2/+17 |
| | |||||
* | Sanitize search filters for the sysdb | Stephen Gallagher | 2010-11-15 | 1 | -6/+39 |
| | |||||
* | Add sysdb utility function for sanitizing DN | Stephen Gallagher | 2010-11-15 | 2 | -0/+27 |
| | |||||
* | Add utility function to sanitize LDAP/LDB filters | Stephen Gallagher | 2010-11-15 | 3 | -0/+131 |
| | | | | Also adds a unit test. | ||||
* | Properly check the return value from semanage_commit | Stephen Gallagher | 2010-11-05 | 1 | -2/+2 |
| | | | | | | | semanage_commit() returns -1 on error, and can return a positive value on success. https://bugzilla.redhat.com/show_bug.cgi?id=649037 | ||||
* | Review comments for namingContexts patches | Sumit Bose | 2010-11-05 | 3 | -23/+17 |
| | |||||
* | Handle errors during log reopening better | Stephen Gallagher | 2010-11-05 | 2 | -3/+30 |
| | |||||
* | Make ldap_search_base a non-mandatory option | Sumit Bose | 2010-11-04 | 3 | -39/+46 |
| | |||||
* | Use (default)namingContext to set empty search bases | Sumit Bose | 2010-11-04 | 4 | -1/+117 |
| | |||||
* | Add defaultNamingContext to RootDSE attributes | Sumit Bose | 2010-11-04 | 2 | -0/+3 |
| | |||||
* | Call krb5_child to check access permissions | Sumit Bose | 2010-11-04 | 2 | -4/+129 |
| |