summaryrefslogtreecommitdiffstats
path: root/src/providers
Commit message (Collapse)AuthorAgeFilesLines
...
* Add check_online method to LDAP ID providerSumit Bose2010-12-014-2/+46
|
* Fix offline detection in sdap_cli_connect requestSumit Bose2010-12-011-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 stateSumit Bose2010-12-016-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.
* Allow protocol fallback for SRV queriesJakub Hrozek2010-12-016-12/+36
| | | | https://fedorahosted.org/sssd/ticket/691
* Print correct error messages for dp_err_to_string()Stephen Gallagher2010-11-241-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
* fix typo in get_server_status()Sumit Bose2010-11-241-1/+1
|
* Use a more efficient host search filterSumit Bose2010-11-191-5/+6
|
* Fix offline detection for LDAP auth/chpassSumit Bose2010-11-191-5/+13
|
* Fix authentication queue code for proxy authStephen Gallagher2010-11-181-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.
* Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher2010-11-151-9/+9
|
* Fix const cast warning in build_attrs_from_mapStephen Gallagher2010-11-151-3/+3
|
* Fix const cast warning for sysdb_update_membersStephen Gallagher2010-11-151-6/+6
|
* Introduce pam_verbosity config optionSumit Bose2010-11-152-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.
* Sanitize ldap attributes in the config fileStephen Gallagher2010-11-151-2/+21
| | | | https://fedorahosted.org/sssd/ticket/458
* Properly document ldap_purge_cache_timeoutStephen Gallagher2010-11-151-1/+9
| | | | Also allow it to be disabled entirely
* Sanitize search filters in LDAP providerStephen Gallagher2010-11-154-7/+61
|
* Sanitize sysdb dn for memberof lookupStephen Gallagher2010-11-151-1/+11
|
* Sanitize sysdb filters in the LDAP providerStephen Gallagher2010-11-151-2/+11
|
* Sanitize sysdb search filters in the IPA providerStephen Gallagher2010-11-151-2/+17
|
* Review comments for namingContexts patchesSumit Bose2010-11-052-14/+14
|
* Make ldap_search_base a non-mandatory optionSumit Bose2010-11-041-35/+25
|
* Use (default)namingContext to set empty search basesSumit Bose2010-11-044-1/+117
|
* Add defaultNamingContext to RootDSE attributesSumit Bose2010-11-042-0/+3
|
* Call krb5_child to check access permissionsSumit Bose2010-11-041-4/+121
|
* Make handle_child_* request publicSumit Bose2010-11-043-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.
* Add krb5_kuserok() access check to krb5_childSumit Bose2010-11-041-17/+73
|
* Make krb5_setup() publicSumit Bose2010-11-043-6/+8
|
* Add krb5_get_simple_upn()Sumit Bose2010-11-043-6/+30
|
* Add infrastructure for Kerberos access providerSumit Bose2010-11-044-26/+184
|
* Store krb5 auth context for other targetsSumit Bose2010-11-041-1/+2
|
* Don't clean up groups for which a user has it as primary GIDStephen Gallagher2010-11-041-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
* Fix two return value checksSumit Bose2010-11-011-2/+2
|
* Fix misused SDAP_SEARCH_BASEMoritz Baumann2010-11-011-1/+1
|
* Fix incorrect free of req in krb5_auth.cStephen Gallagher2010-11-011-1/+1
|
* Allow authentication for referralsSumit Bose2010-10-271-0/+193
|
* Always use uint32_t for UID/GID numbersJakub Hrozek2010-10-263-27/+20
|
* Implement netgroups for proxy providerSumit Bose2010-10-253-2/+143
|
* Add netgroups infrastructure to proxy providerSumit Bose2010-10-253-0/+42
|
* Download only enabled IPA HBAC rulesSumit Bose2010-10-221-1/+3
|
* Add some missing ldap_memfree()Sumit Bose2010-10-222-3/+6
|
* Add ldap_deref optionSumit Bose2010-10-226-3/+65
|
* Option krb5_server is now used to store a list of KDCs instead of krb5_kdcip.Jan Zeleny2010-10-194-3/+57
| | | | | | | | For the time being, if krb5_server is not found, still falls back to krb5_kdcip with a warning. If both options are present in config file, krb5_server has a higher priority. Fixes: #543
* set in_transaction explicitly to falseJakub Hrozek2010-10-181-1/+1
|
* Use unsigned long for conversion to id_tJakub Hrozek2010-10-183-36/+18
| | | | | | | | We used strtol() on a number of places to convert into uid_t or gid_t from a string representation such as LDAP attribute, but on some platforms, unsigned long might be necessary to store big id_t values. This patch converts to using strtoul() instead.
* Add proper nested initgroup support for RFC2307bis serversStephen Gallagher2010-10-181-3/+761
|
* Modify sysdb_[add|remove]_group_member to accept users and groupsStephen Gallagher2010-10-181-0/+1
| | | | | | | | Previously, it assumed that all members were users. This changes the interface so that either a user or a group can be specified. Also, it eliminates the need for a memory context to be passed, since the internal memory should be self-contained.
* Handle nested groups in RFC2307bisStephen Gallagher2010-10-181-1/+776
| | | | | | | | This first approach handles the non-optimized "pure" RFC2307bis case. It recursively calls into nested groups until it it has found them all or hits the pre-defined nesting limit. It then saves all member users first, then all groups to the sysdb
* Make sdap_save_users_send handle zero users gracefullyStephen Gallagher2010-10-181-0/+5
| | | | | If we send a zero num_users value, we should just immediately return success, rather than starting a useless transaction
* Add option to limit nested groupsSimo Sorce2010-10-184-3/+6
|
* Save dummy member users during RFC2307 getgr{nam,gid}Jakub Hrozek2010-10-151-82/+279
|