summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Move sized_string declaration to utilsStephen Gallagher2012-01-234-19/+19
|
* LDAP: Improve debugging for sdap_parse_derefStephen Gallagher2012-01-231-4/+7
| | | | | | Move the debug statement identifying the DN to an earlier line, so if we get a reply with no attributes, we know which entry is at fault.
* DP: Fix bugs in sss_dp_get_account_intStephen Gallagher2012-01-234-66/+47
| | | | | | | | | | | | | | | | | | | | | | | The conversion to the tevent_req style introduced numerous bugs related to memory management of the various client requests. In some circumstances, this could cause memory corruption and segmentation faults in the NSS responder. This patch makes the following changes: 1) Rename the internal lookup from subreq to sidereq, to indicate that it is not a sub-request of the current lookup (and therefore is not cancelled if the current request is). 2) Change the handling of the callback loops since they call tevent_req_[done|error], which results in them being freed (and therefore removed from the cb_list. This was the source of the memory corruption that would occasionally result in dereferencing an unreadable request. 3) Remove the unnecessary sss_dp_get_account_int_recv() function and change sss_dp_get_account_done() so that it only frees the sidereq. All of the waiting processes have already been signaled with the final results from sss_dp_get_account_int_done()
* RESPONDER: Extend sss_dp_account_send() to include extra dataStephen Gallagher2012-01-215-14/+32
| | | | | | | Some NSS maps such as 'services' require more values to be passed to the data provider than just the name or ID. In these cases, we will amend an optional component to filter value to pass to the data provider backend.
* Fix invalid index in pidfile()Stephen Gallagher2012-01-211-1/+3
| | | | | | | If we hit the "read too much, this should never happen" line, we would write a NULL-terminator past the end of the static buffer. Coverity 12472
* SYSDB: Redundant check is redundant.Stephen Gallagher2012-01-211-5/+0
| | | | Coverity 12480
* SUDO: include the sources in the IPA provider, tooJakub Hrozek2012-01-181-0/+6
|
* PAM: Fix reversed logicJakub Hrozek2012-01-181-1/+1
|
* LDAP: Add option to disable paging controlStephen Gallagher2012-01-189-5/+40
| | | | Fixes https://fedorahosted.org/sssd/ticket/967
* NSS: Add sss_readrep_copy_stringStephen Gallagher2012-01-185-181/+131
| | | | | | | There were many places in the client code where we were duplicating a loop to copy data in from the response buffer. This patch turns those loops into a function for easier maintenance and easier-to-read *readrep() routines.
* Do not use sudo symbols in LDAP provider unconditionallyJakub Hrozek2012-01-181-0/+2
|
* Add a new Makefile target to build RPMs with the experimental flagJakub Hrozek2012-01-172-5/+53
|
* Export libsss_sudo as a separate packageJakub Hrozek2012-01-174-8/+58
|
* Add a configure switch to specify 3rd party app libraries locationJakub Hrozek2012-01-172-1/+19
|
* SUDO Integration - periodical update of rules in data providerPavel Březina2012-01-1711-1/+354
| | | | | | | | https://fedorahosted.org/sssd/ticket/1110 Adds new configuration options: - ldap_sudo_refresh_enabled - enable/disable periodical updates - ldap_sudo_refresh_timeout - rules timeout (refresh period)
* SUDO Integration - functions for manipulating with 'refreshed' attributePavel Březina2012-01-172-0/+68
| | | | https://fedorahosted.org/sssd/ticket/1110
* sysdb_get_bool() and sysdb_get_bool() functionsPavel Březina2012-01-172-51/+108
|
* SUDO Integration - wrap data provider with tevent_reqPavel Březina2012-01-172-43/+138
| | | | https://fedorahosted.org/sssd/ticket/1110
* SUDO Integration review issuesPavel Březina2012-01-1716-41/+68
|
* IPA: Detect nsupdate support for the realm directiveStephen Gallagher2012-01-173-15/+55
| | | | | For older platforms, do not add the 'realm' line in the update message
* Raise the debug level of two very noisy statementsStephen Gallagher2012-01-172-4/+6
|
* NSS: Improve DEBUG messages for netgroup cacheStephen Gallagher2012-01-171-2/+2
|
* Support multiple search bases in HBACJan Zeleny2012-01-145-39/+176
|
* Add info about ipa_host_search_base to man pageJan Zeleny2012-01-141-0/+29
| | | | | Also add comment that setting ipa_hbac_support_srchost to False disables search filters given in ipa_host_search_base
* NSS: Validate input string lengthsStephen Gallagher2012-01-144-9/+32
| | | | | | | Also fixes a return value bug where we were returning errno error codes instead of nss_status codes. Fixes https://fedorahosted.org/sssd/ticket/1135
* LDAP: Copy URI instead of pointing at failover service recordStephen Gallagher2012-01-141-2/+8
| | | | | | | | In a heavy load environment, sometimes the failover service record would be updated and free the URI value. We need to guarantee that this URI string remains valid throughout the entire request. https://fedorahosted.org/sssd/ticket/1139
* Log fixes for sdap_call_conn_cbStephen Gallagher2012-01-142-2/+4
|
* util: Fix murmurhash3 on machines with old glibcSimo Sorce2012-01-091-0/+10
|
* Add a random + identity test for murmurhash3Simo Sorce2012-01-091-0/+29
| | | | | | | | This test always generate a random string so each time the test is run we will test the hash function with a new value. It also hashes the same string twice and compares the result so that we have a chance of catching if uninitialized variables are getting mixed into the value calculation and end up generating different results for the same input.
* util: add murmurhash3 hash functionSimo Sorce2012-01-094-1/+147
|
* nsssrv: use sized_string in fill_grentSimo Sorce2012-01-091-35/+48
|
* nsssrv: use sized_string in fill_pwentSimo Sorce2012-01-091-41/+56
|
* nsssrv: add string manipulation helperSimo Sorce2012-01-092-0/+19
| | | | | the sized_string structure makes it easier to keep track of string lengths and makes passing around data more compat and readable.
* IPA netgroups: Do not reuse loop iterator variableJakub Hrozek2012-01-061-3/+3
|
* Do not call krb5_child when changing passwords and provider went offlineJakub Hrozek2012-01-061-1/+11
| | | | https://fedorahosted.org/sssd/ticket/1131
* HBAC: create empty groups with one NULL elementJakub Hrozek2012-01-061-16/+15
| | | | https://fedorahosted.org/sssd/ticket/1130
* nsssrv: remove unused macroSimo Sorce2012-01-041-2/+0
|
* tests: fix test group of utf8 testsSimo Sorce2012-01-041-5/+5
|
* make dist fixesSimo Sorce2012-01-041-1/+1
| | | | | Use pax format for tar as it is the only one that will succeed (albeit spitting warnings) to create a tar file if user UID values are above ~2M
* Importing new translations for 1.7.0 releaseStephen Gallagher2011-12-2273-4219/+2919
|
* Add compatibility layer for Heimdal Kerberos implementationStephen Gallagher2011-12-226-21/+99
|
* Honor case sensitive flag when creating the ccname templateJakub Hrozek2011-12-214-12/+56
|
* Return user and group names lowercased in case insensitive domainsJakub Hrozek2011-12-211-12/+32
|
* sss_get_cased_name utility functionJakub Hrozek2011-12-215-11/+24
|
* Bump version to 1.8.0Stephen Gallagher2011-12-201-1/+1
|
* Save original memberof, not memberofJakub Hrozek2011-12-201-4/+16
|
* Failover: Introduce a per-service timeoutJakub Hrozek2011-12-204-5/+67
| | | | https://fedorahosted.org/sssd/ticket/976
* Do not touch resolve_service_state in fo_resolve_service_doneJakub Hrozek2011-12-201-14/+11
|
* Resolver: Introduce a per-request timeoutJakub Hrozek2011-12-201-30/+199
|
* PAM: make initgroups timeout work across multiple clientsStephen Gallagher2011-12-207-6/+243
| | | | | | | | | | | Instead of timing out the initgroups lookup on a per-cctx basis, we will maintain a hash table of recently-seen users and use this instead. This will allow SSSD to handle user's logging into multiple services simultaneously more graciously, as well as playing nicer with SSH (which makes calls to PAM both before and after a fork). https://fedorahosted.org/sssd/ticket/1063