summaryrefslogtreecommitdiff
path: root/src/providers
AgeCommit message (Collapse)AuthorFilesLines
2010-12-06Add new account expired rule to LDAP access providerSumit Bose7-92/+512
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-03Allow krb5 lifetime values without a unitSumit Bose1-36/+65
2010-12-03Add support for automatic Kerberos ticket renewalSumit Bose9-3/+423
2010-12-03krb5_child returns TGT lifetimeSumit Bose3-0/+57
2010-12-03Add support for server-side pam response messagesSumit Bose1-0/+8
2010-12-03Add krb5_lifetime optionSumit Bose5-4/+41
2010-12-03Add krb5_renewable_lifetime optionSumit Bose5-4/+45
2010-12-03Check authtok type for krb5 auth and chpassSumit Bose1-0/+12
2010-12-03Add a renew task to krb5_childSumit Bose1-0/+87
2010-12-03Send authtok_type to krb5_childSumit Bose2-2/+6
2010-12-02Add a special filter type to handle enumerationsSumit Bose4-49/+26
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-01Allow protocol fallback for SRV queriesJakub Hrozek6-12/+36
https://fedorahosted.org/sssd/ticket/691
2010-11-24Print correct error messages for dp_err_to_string()Stephen Gallagher1-6/+6
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 typo in get_server_status()Sumit Bose1-1/+1
2010-11-19Use a more efficient host search filterSumit Bose1-5/+6
2010-11-19Fix offline detection for LDAP auth/chpassSumit Bose1-5/+13
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-15Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher1-9/+9
2010-11-15Fix const cast warning in build_attrs_from_mapStephen Gallagher1-3/+3
2010-11-15Fix const cast warning for sysdb_update_membersStephen Gallagher1-6/+6
2010-11-15Introduce pam_verbosity config optionSumit Bose2-0/+2
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.
2010-11-15Sanitize ldap attributes in the config fileStephen Gallagher1-2/+21
https://fedorahosted.org/sssd/ticket/458
2010-11-15Properly document ldap_purge_cache_timeoutStephen Gallagher1-1/+9
Also allow it to be disabled entirely
2010-11-15Sanitize search filters in LDAP providerStephen Gallagher4-7/+61
2010-11-15Sanitize sysdb dn for memberof lookupStephen Gallagher1-1/+11
2010-11-15Sanitize sysdb filters in the LDAP providerStephen Gallagher1-2/+11
2010-11-15Sanitize sysdb search filters in the IPA providerStephen Gallagher1-2/+17
2010-11-05Review comments for namingContexts patchesSumit Bose2-14/+14
2010-11-04Make ldap_search_base a non-mandatory optionSumit Bose1-35/+25
2010-11-04Use (default)namingContext to set empty search basesSumit Bose4-1/+117
2010-11-04Add defaultNamingContext to RootDSE attributesSumit Bose2-0/+3
2010-11-04Call krb5_child to check access permissionsSumit Bose1-4/+121
2010-11-04Make handle_child_* request publicSumit Bose3-325/+429
I took the opportunity to move everything related to the handling of the krb5_child into a separate file and cleaned the interfaces and related structures a bit.
2010-11-04Add krb5_kuserok() access check to krb5_childSumit Bose1-17/+73
2010-11-04Make krb5_setup() publicSumit Bose3-6/+8
2010-11-04Add krb5_get_simple_upn()Sumit Bose3-6/+30
2010-11-04Add infrastructure for Kerberos access providerSumit Bose4-26/+184
2010-11-04Store krb5 auth context for other targetsSumit Bose1-1/+2
2010-11-04Don't clean up groups for which a user has it as primary GIDStephen Gallagher1-2/+15
We were cleaning up all groups that were expired and for which there existed no user with memberOf: <thegroup> as an attribute. This patch modifies the search to also check for cached users with this group's GID as their primary GID. Fixes https://fedorahosted.org/sssd/ticket/624
2010-11-01Fix two return value checksSumit Bose1-2/+2
2010-11-01Fix misused SDAP_SEARCH_BASEMoritz Baumann1-1/+1
2010-11-01Fix incorrect free of req in krb5_auth.cStephen Gallagher1-1/+1
2010-10-27Allow authentication for referralsSumit Bose1-0/+193
2010-10-26Always use uint32_t for UID/GID numbersJakub Hrozek3-27/+20
2010-10-25Implement netgroups for proxy providerSumit Bose3-2/+143
2010-10-25Add netgroups infrastructure to proxy providerSumit Bose3-0/+42