summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15Fix memory leak of library handle in proxySumit Bose2-18/+26
https://fedorahosted.org/sssd/ticket/733
2010-12-15Fix another possible memory leak in sss_nss_recv_rep()Sumit Bose1-8/+19
https://fedorahosted.org/sssd/ticket/723
2010-12-15Fix possible memory leak in do_pam_conversationSumit Bose1-16/+28
https://fedorahosted.org/sssd/ticket/731
2010-12-15Fix uninitialized value error in main() in stress-tests.cSumit Bose1-0/+1
https://fedorahosted.org/sssd/ticket/732
2010-12-14Fix possible memory leak in sss_nss_recv_rep()Sumit Bose1-8/+13
https://fedorahosted.org/sssd/ticket/723
2010-12-14Fix improper bit manipulation in pam_sssSumit Bose1-1/+1
https://fedorahosted.org/sssd/ticket/715
2010-12-14Fix uninitialized value error in setup_test in fail_over-tests.cSumit Bose1-0/+1
https://fedorahosted.org/sssd/ticket/728
2010-12-14Fix uninitialized value error in sdap_account_expired_shadow()Sumit Bose1-2/+2
https://fedorahosted.org/sssd/ticket/726
2010-12-14Fix incorrect return value on failure in check_and_export_options()Sumit Bose1-0/+1
https://fedorahosted.org/sssd/ticket/722
2010-12-14Fix incorrect return value on failure in resolve_get_domain_send()Sumit Bose1-0/+1
https://fedorahosted.org/sssd/ticket/721
2010-12-14Fix improper NULL check in fo_add_srv_server()Sumit Bose1-1/+2
https://fedorahosted.org/sssd/ticket/717
2010-12-14Remove unused newauthtok variable in LOCAL_pam_handlerSumit Bose1-3/+0
https://fedorahosted.org/sssd/ticket/716
2010-12-14Fix unchecked return value in sdap_parse_entry()Sumit Bose1-1/+5
https://fedorahosted.org/sssd/ticket/712
2010-12-14Fix unchecked return value in sdap_get_msg_dn()Sumit Bose1-1/+6
https://fedorahosted.org/sssd/ticket/712
2010-12-14Prevent uninitialized value error in monitor_quitStephen Gallagher1-0/+1
https://fedorahosted.org/sssd/ticket/724
2010-12-14Add missing break statement to sss_hash_createStephen Gallagher1-0/+1
https://fedorahosted.org/sssd/ticket/720
2010-12-14Eliminate possible NULL-dereference in pam_check_user_searchStephen Gallagher1-0/+7
https://fedorahosted.org/sssd/ticket/719
2010-12-14Reschedule the fd timeout for secondary lookupsStephen Gallagher1-0/+4
We were unscheduling the timeout handler after the first lookup (A or AAAA) returned, but not rescheduling it if we went on to check the secondary record type. This resulted in the resolver never returning a result for the secondary lookup, which can mean that logins/screen unlocks after VPN drop or suspend/resume might never complete. Fixes https://fedorahosted.org/sssd/ticket/729
2010-12-14Fix timeouts for DNS resolverStephen Gallagher1-1/+1
options.tries specifies the number of retries. Setting this to zero means to try exactly once. Previously we were always trying twice (internally). We want to simply honor the SSSD configuration and fail over to the next server (or go offline) after one try.
2010-12-13Add group support to the simple access providerStephen Gallagher5-29/+262
This patch adds simple_allow_groups and simple_deny_groups options to the simple access provider. It makes it possible to grant or deny access based on a user's group memberships within the domain. This patch makes one minor change to previous functionality: now all deny rules will supersede allow rules. Previously, if both simple_allow_users and simple_deny_users were set with the same value, the allow would win. https://fedorahosted.org/sssd/ticket/440
2010-12-08Remove IPA_ACCESS_TIME defineStephen Gallagher1-13/+11
2010-12-08Bye, bye, ipa_timerulesSumit Bose4-1845/+0
It was decided that IPA HBAC will move to a different format to specify time ranges in access control rules. The evaluation based on the old format is not needed anymore.
2010-12-08Remove check_access_time() from IPA access providerSumit Bose2-70/+0
It is planned to release IPA 2.0 without time range specifications in the access control rules. To avoid confusion the evaluation is removed from sssd, too.
2010-12-08Fix a typo in sssd-krb5 man pageMarko Myllynen1-1/+1
2010-12-08Fix build issue with older Kerberos librarySumit Bose2-2/+9
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.