summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-07Replace krb5_kdcip by krb5_server in LDAP providerSumit Bose6-14/+31
2010-12-07Mark unavailable Kerberos server as PORT_NOT_WORKINGSumit Bose1-0/+1
2010-12-07ldap: Use USN entries if available.Simo Sorce10-89/+193
Otherwise fallback to the default modifyTimestamp indicator
2010-12-07ldap: add checks to determine if USN features are available.Simo Sorce9-25/+134
2010-12-07ldap: remove variable that was never assigned nor usedSimo Sorce2-10/+0
2010-12-07Pass sdap_id_ctx in sdap_id_op functions.Simo Sorce4-50/+52
2010-12-07Add support for FAST in krb5 providerSumit Bose16-20/+458
2010-12-07Refactor krb5_child to make helpers more flexibleSumit Bose1-20/+36
2010-12-06Add ldap_chpass_uri config optionSumit Bose10-9/+91
2010-12-06Add new account expired rule to LDAP access providerSumit Bose10-93/+570
Two new options are added to the LDAP access provider to allow a broader range of access control rules to be evaluated. 'ldap_access_order' makes it possible to run more than one rule. To keep compatibility with older versions the default is 'filter'. This patch adds a new rule 'expire'. 'ldap_account_expire_policy' specifies which LDAP attribute should be used to determine if an account is expired or not. Currently only 'shadow' is supported which evaluates the ldap_user_shadow_expire attribute.
2010-12-06Make string_to_shadowpw_days() publicSumit Bose3-33/+36
2010-12-06Move sss_* tools into their own subpackageStephen Gallagher1-16/+33
2010-12-06Make sure that sss_obfuscate installs as executableStephen Gallagher1-1/+1
2010-12-03Allow krb5 lifetime values without a unitSumit Bose2-36/+73
2010-12-03Add support for automatic Kerberos ticket renewalSumit Bose14-6/+451
2010-12-03krb5_child returns TGT lifetimeSumit Bose4-0/+63
2010-12-03Add support for server-side pam response messagesSumit Bose2-0/+10
2010-12-03Add krb5_lifetime optionSumit Bose9-7/+81
2010-12-03Add krb5_renewable_lifetime optionSumit Bose10-7/+86
2010-12-03Check authtok type for krb5 auth and chpassSumit Bose1-0/+12
2010-12-03Add a renew task to krb5_childSumit Bose2-1/+94
2010-12-03Send authtok_type to krb5_childSumit Bose2-2/+6
2010-12-02Set up signal handlers before initializing sysdbStephen Gallagher1-38/+38
A temporary signal handler for SIGTERM is set up in server_setup() that calls exit() from within a pure signal handler. This causes a race condition where it's possible that if the SSSD is restarted immediately while it is still initializing the sysdb caches for the first time, it can leave the cache in a corrupt and unusable state. https://bugzilla.redhat.com/show_bug.cgi?id=658444
2010-12-02Add a special filter type to handle enumerationsSumit Bose6-50/+29
2010-12-02Resend SIGTERM if child doesn't terminateStephen Gallagher1-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.
2010-12-02Make default SIGTERM and SIGINT handlers use teventStephen Gallagher1-1/+33
2010-12-01Add check_online method to LDAP ID providerSumit Bose4-2/+46
2010-12-01Fix offline detection in sdap_cli_connect requestSumit Bose1-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.
2010-12-01Run checks before resetting offline stateSumit Bose6-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.
2010-12-01Daemonize by defaultSumit Bose1-0/+4
2010-12-01Allow protocol fallback for SRV queriesJakub Hrozek9-12/+53
https://fedorahosted.org/sssd/ticket/691
2010-11-24Internal DNS resolver should check /etc/hostsJakub Hrozek1-0/+2
https://fedorahosted.org/sssd/ticket/686
2010-11-24Print correct error messages for dp_err_to_string()Stephen Gallagher2-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
2010-11-24Fix a typo on setup_netlink()Sumit Bose1-1/+1
2010-11-24fix typo in get_server_status()Sumit Bose1-1/+1
2010-11-22sss_client: make code thread-safeSimo Sorce6-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
2010-11-22Add SIGUSR2 to reset offline statusSumit Bose2-0/+38
2010-11-22Add signal documentation to sssd(8)Stephen Gallagher1-0/+35
https://fedorahosted.org/sssd/ticket/665
2010-11-19Use a more efficient host search filterSumit Bose1-5/+6
2010-11-19Fix man pageSumit Bose1-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.
2010-11-19Fix offline detection for LDAP auth/chpassSumit Bose1-5/+13
2010-11-18Wait for all children to exitStephen Gallagher1-2/+61
Previously, there was a race-condition where the monitor might terminate before its children.
2010-11-18Add missing error codeSumit Bose1-0/+1
2010-11-18Fix authentication queue code for proxy authStephen Gallagher1-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.
2010-11-18Ensure that SSSD shuts down completely before restartingStephen Gallagher1-0/+9
2010-11-16Log startup errors to syslogStephen Gallagher1-7/+9
2010-11-15Fix incorrect type comparisonStephen Gallagher1-1/+1
https://fedorahosted.org/sssd/ticket/657
2010-11-15Fix const cast warnings in testsStephen Gallagher2-2/+2
2010-11-15Fix const cast warning in confdb_create_ldifStephen Gallagher1-4/+4
2010-11-15Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher3-11/+11