Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-02 | Reusing create_pam_data() on the other places. | Lukas Slebodnik | 2 | -2/+2 | |
Function create_pam_data() should be only one way how to create new struct pam_data, because it also initialize destructor to created object. | |||||
2013-03-21 | Fixing duplicate const | Lukas Slebodnik | 1 | -3/+3 | |
const char const * --> const char *const | |||||
2013-03-20 | tests: Print warning if LDB_MODULES_PATH is not set | Michal Zidek | 4 | -0/+21 | |
Print warning if sysdb-tests or sysdb-ssh test are run individually and LDB_MODULES_PATH was not set. https://fedorahosted.org/sssd/ticket/1820 | |||||
2013-03-19 | Resolve GIDs in the simple access provider | Jakub Hrozek | 1 | -101/+260 | |
Changes the simple access provider's interface to be asynchronous. When the simple access provider encounters a group that has gid, but no meaningful name, it attempts to resolve the name using the be_file_account_request function. Some providers (like the AD provider) might perform initgroups without resolving the group names. In order for the simple access provider to work correctly, we need to resolve the groups before performing the access check. In AD provider, the situation is even more tricky b/c the groups HAVE name, but their name attribute is set to SID and they are set as non-POSIX | |||||
2013-03-19 | Add unit tests for simple access test by groups | Jakub Hrozek | 1 | -31/+253 | |
I realized that the current unit tests for the simple access provider only tested the user directives. To have a baseline and be able to detect new bugs in the upcoming patch, I implemented unit tests for the group lists, too. | |||||
2013-03-19 | Removing unused declaration of functions and variable. | Lukas Slebodnik | 1 | -2/+0 | |
Variables dir_cc and file_cc are used in three modules: krb5_common.c, krb5_utils.c, krb5_child-test.c, therefore should be declared with extern in krb5_utils.h. | |||||
2013-03-18 | Fix coverity issue 13136 | Ondrej Kos | 1 | -0/+1 | |
https://fedorahosted.org/sssd/ticket/1811 | |||||
2013-03-13 | krb5-utils-tests: remove invalid condition | Pavel Březina | 1 | -2/+0 | |
This condition is invalid because different_realm is not set, when EINVAL is returned. It can make the test fail sometimes. | |||||
2013-03-13 | fix segfault in nss responder unit test | Pavel Březina | 1 | -1/+1 | |
https://fedorahosted.org/sssd/ticket/1833 state is expected to be a pointer | |||||
2013-03-08 | CMocka based test for the NSS responder | Jakub Hrozek | 4 | -0/+767 | |
2013-03-08 | Add utility functions for tests that use sysdb or tevent. | Jakub Hrozek | 3 | -0/+267 | |
There was shared code for several unit tests that connected to their own sysdb instance. This patch adds common code to run a generic request to completion or connect to a test sysdb. | |||||
2013-03-04 | Use SSSD specific errors for offline auth | Simo Sorce | 2 | -7/+11 | |
This prevents reportin false errors when internal functions return a generic EINVAL or EACCES that should just be treated as internal errors. | |||||
2013-02-10 | Change the way domains are linked. | Simo Sorce | 2 | -87/+43 | |
- Use a double-linked list for domains and subdomains. - Never remove a subdomain, simply mark it as disabled if it becomes unused. - Rework the way subdomains are refreshed. Now sysdb_update_subdomains() actually updates the current subdomains and marks as disabled the ones not found in the sysdb or add new ones found. It never removes them. Removal of missing domains from sysdb is deferred to the providers, which will perform it at refresh time, for the ipa provider that is done by ipa_subdomains_write_mappings() now. sysdb_update_subdomains() is then used to update the memory hierarchy of the subdomains. - Removes sysdb_get_subdomains() - Removes copy_subdomain() - Add sysdb_subdomain_delete() | |||||
2013-02-10 | Remove sysdb_subdom completely | Simo Sorce | 1 | -45/+67 | |
struct sss_domain_info is always used to represent domains now. Adjust tests accordingly. | |||||
2013-02-10 | Avoid sysdb_subdom in sysdb_get_subdomains() | Simo Sorce | 1 | -11/+11 | |
2013-02-10 | Add realm info to sss_domain_info | Simo Sorce | 1 | -3/+3 | |
2013-01-29 | TESTS: include error message on fail | Ondrej Kos | 1 | -8/+8 | |
2013-01-29 | TESTS: Fix coverity issues 13126, 13127 | Ondrej Kos | 1 | -2/+6 | |
https://fedorahosted.org/sssd/ticket/1763 | |||||
2013-01-23 | TOOLS: Use file descriptor to avoid races when creating a home directory | Jakub Hrozek | 1 | -3/+3 | |
When creating a home directory, the destination tree can be modified in various ways while it is being constructed because directory permissions are set before populating the directory. This can lead to file creation and permission changes outside the target directory tree, using hard links. This security problem was assigned CVE-2013-0219 https://fedorahosted.org/sssd/ticket/1782 | |||||
2013-01-15 | tests: unit test for sysdb_remove_attrs | Jakub Hrozek | 1 | -0/+45 | |
2013-01-15 | tests: add unit test for sysdb_get_new_id | Jakub Hrozek | 1 | -1/+20 | |
2013-01-15 | tests: test sysdb_initgroups | Jakub Hrozek | 1 | -0/+48 | |
2013-01-15 | tests: adda a unit test for test_sysdb_search_groups | Jakub Hrozek | 1 | -0/+29 | |
2013-01-15 | tests: unit test for test_sysdb_search_users | Jakub Hrozek | 1 | -0/+31 | |
2013-01-15 | tests: add a unit test for sysdb_netgroup_base_dn | Jakub Hrozek | 1 | -0/+23 | |
2013-01-15 | Add domain arguments to sysdb ssh functions | Simo Sorce | 1 | -2/+4 | |
2013-01-15 | Add domain arguments to sysdb services functions | Simo Sorce | 1 | -15/+9 | |
also fix sysdb_svc_add declarations | |||||
2013-01-15 | Add domain argument to sysdb autofs functions | Simo Sorce | 1 | -8/+13 | |
2013-01-15 | Add domain argument to sysdb_remove_attrs() | Simo Sorce | 1 | -4/+4 | |
2013-01-15 | Add domain argument to sysdb_has/set_enumerated() | Simo Sorce | 1 | -5/+3 | |
2013-01-15 | Add domain arg to sysdb_search/delete_netgroup() | Simo Sorce | 1 | -1/+2 | |
2013-01-15 | Add domain argument to sysdb_delete_group() | Simo Sorce | 1 | -5/+8 | |
Also remove sysdb_delete_domgroup() | |||||
2013-01-15 | Add domain argument to sysdb_delete_user() | Simo Sorce | 1 | -5/+8 | |
Also remove sysdb_delete_domuser() | |||||
2013-01-15 | Add domain to sysdb_delete_custom | Simo Sorce | 1 | -1/+1 | |
2013-01-15 | Add domain argument to sysdb_search_custom() | Simo Sorce | 1 | -1/+3 | |
Also changes sysdb_search_custom_by_name() | |||||
2013-01-15 | Add domain argument to sysdb_store_custom() | Simo Sorce | 1 | -1/+1 | |
2013-01-15 | Add domain argument to sysdb_cache_auth() | Simo Sorce | 1 | -4/+8 | |
2013-01-15 | Add domain argument to sysdb_cache_password() | Simo Sorce | 1 | -1/+1 | |
2013-01-15 | Add domain arg to sysdb group member functions | Simo Sorce | 1 | -6/+10 | |
2013-01-15 | Add domain argument to sysdb_store_group() | Simo Sorce | 1 | -9/+12 | |
Also remove sysdb_store_domgroup() | |||||
2013-01-15 | Add domain argument to sysdb_store_user() | Simo Sorce | 1 | -9/+14 | |
Also remove sysdb_store_domuser() | |||||
2013-01-15 | Add domain arguments to sysdb_add_inetgroup fns. | Simo Sorce | 1 | -2/+2 | |
2013-01-15 | Add domain arguments to sysdb_add_group functions. | Simo Sorce | 1 | -7/+9 | |
2013-01-15 | Add domain argument to sysdb_add_user() | Simo Sorce | 1 | -2/+2 | |
2013-01-15 | Add domain argument to sysdb_add_basic_user() | Simo Sorce | 1 | -0/+1 | |
2013-01-15 | Add domain argument to sysdb_set_netgroup_attr() | Simo Sorce | 1 | -1/+1 | |
2013-01-15 | Add domain argument to sysdb_set_group_attr() | Simo Sorce | 1 | -12/+12 | |
2013-01-15 | Add domain argument to sysdb_set_user_attr() | Simo Sorce | 1 | -3/+4 | |
2013-01-15 | Add domain arg to sysdb_search_netgroup_by_name() | Simo Sorce | 1 | -0/+1 | |
2013-01-15 | Add domain to sysdb_search_group_by_gid() | Simo Sorce | 1 | -1/+24 | |
Also remove unused sysdb_search_domgroup_by_gid() |