Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-15 | Add domain argument to sysdb_store_custom() | Simo Sorce | 5 | -4/+6 | |
2013-01-15 | Add domain argument to sysdb_cache_auth() | Simo Sorce | 2 | -3/+5 | |
2013-01-15 | Add domain argument to sysdb_cache_password() | Simo Sorce | 2 | -1/+3 | |
2013-01-15 | Add domain arg to sysdb group member functions | Simo Sorce | 2 | -9/+18 | |
2013-01-15 | Add domain argument to sysdb_store_group() | Simo Sorce | 3 | -23/+6 | |
Also remove sysdb_store_domgroup() | |||||
2013-01-15 | Add domain argument to sysdb_store_user() | Simo Sorce | 3 | -35/+7 | |
Also remove sysdb_store_domuser() | |||||
2013-01-15 | Add domain arguments to sysdb_add_inetgroup fns. | Simo Sorce | 2 | -3/+7 | |
2013-01-15 | Add domain arguments to sysdb_add_group functions. | Simo Sorce | 2 | -8/+14 | |
2013-01-15 | Add domain argument to sysdb_add_user() | Simo Sorce | 2 | -7/+9 | |
2013-01-15 | Add domain argument to sysdb_add_basic_user() | Simo Sorce | 2 | -2/+5 | |
2013-01-15 | Add domain argument to sysdb_get_new_id() | Simo Sorce | 2 | -5/+5 | |
2013-01-15 | Add domain argument to sysdb_set_netgroup_attr() | Simo Sorce | 2 | -2/+4 | |
2013-01-15 | Add domain argument to sysdb_set_group_attr() | Simo Sorce | 2 | -4/+6 | |
2013-01-15 | Add domain argument to sysdb_set_user_attr() | Simo Sorce | 2 | -6/+11 | |
2013-01-15 | Add domain arg to sysdb_search_netgroup_by_name() | Simo Sorce | 2 | -2/+4 | |
2013-01-15 | Add domain to sysdb_search_group_by_gid() | Simo Sorce | 4 | -20/+6 | |
Also remove unused sysdb_search_domgroup_by_gid() | |||||
2013-01-15 | Add domain to sysdb_search_group_by_name() | Simo Sorce | 3 | -21/+6 | |
Also remove unused sysdb_search_domgroup_by_name() | |||||
2013-01-15 | Add domain to sysdb_search_user_by_uid() | Simo Sorce | 3 | -19/+5 | |
Also remove unused sysdb_search_domuser_by_uid() | |||||
2013-01-15 | Add domain to sysdb_search_user_by_name() | Simo Sorce | 5 | -24/+12 | |
Also remove unused sysdb_search_domuser_by_name() | |||||
2013-01-15 | Add domain argument to sysdb_get_user_attr() | Simo Sorce | 2 | -1/+3 | |
2013-01-15 | Add domain argument to sysdb_initgroups() | Simo Sorce | 2 | -1/+3 | |
2013-01-15 | Add domain option to sysdb_get/netgr/attrs() fns | Simo Sorce | 2 | -3/+7 | |
2013-01-15 | Pass domain to sysdb_enum<pw/gr>ebt() functions | Simo Sorce | 2 | -3/+7 | |
2013-01-15 | Pass domain to sysdb_get<pwu/grg><id() functions | Simo Sorce | 2 | -3/+7 | |
2013-01-15 | Pass domain to sysdb_get<pw/gr>nam() functions | Simo Sorce | 4 | -58/+41 | |
Also allows us to remove sysdb_subdom_get<pw/gr>nam() wrappers and restore fqnames proper value in subdomains, by testing for a parent domain being present or not. | |||||
2013-01-15 | Upgrade DB and move ranges into top level object | Simo Sorce | 3 | -1/+124 | |
2013-01-15 | Move range objects into their own top-level tree. | Simo Sorce | 2 | -10/+6 | |
Storing ranges for multiple domains under any specific domain is somewhat aritrary and unnecessary. Put ranges under cn=ranges,cn=sysdb, without involving any specific domain subtree. This allows us to avoid using sysdb->domain in ranges functions. Also storing other subdomains data under the parent domain tree felt wrong, all other domain specific data is under their own subtree. Moving this data in its own place seems a better solution. | |||||
2013-01-15 | Make sysdb_custom_subtree_dn() require a domain. | Simo Sorce | 5 | -8/+13 | |
2013-01-15 | Make sysdb_custom_dn() require a domain. | Simo Sorce | 4 | -5/+11 | |
2013-01-15 | Make sysdb_domain_dn() require a domain. | Simo Sorce | 3 | -4/+7 | |
2013-01-15 | Make sysdb_netgroup_base_dn() require a domain. | Simo Sorce | 2 | -4/+8 | |
2013-01-15 | Make sysdb_netgroup_dn() require a domain explictly. | Simo Sorce | 3 | -7/+7 | |
2013-01-15 | Make sysdb_group_dn() require a domain explictly. | Simo Sorce | 3 | -9/+9 | |
2013-01-15 | Make sysdb_user_dn() require a domain explictly. | Simo Sorce | 3 | -9/+9 | |
2013-01-15 | Remove the sysdb_ctx_get_domain() function. | Simo Sorce | 3 | -8/+1 | |
We are deprecating sysdb->domain so kill the function that gives access to this member as we should stop relying on it being available (or correct). | |||||
2013-01-15 | Refactor single domain initialization | Simo Sorce | 2 | -38/+0 | |
Bring it out of sysdb, which will slowly remove internal dependencies on domains and instead will always require them to be passed by callers. | |||||
2013-01-15 | Refactor sysdb initialization | Simo Sorce | 2 | -145/+13 | |
Change the way sysdbs are initialized. Make callers responsible for providing the list of domains. Remove the returned array of sysdb contexts, it was used only by sss_cache and not really necessary there either as that tool can easily iterate the domains. Make sysdb ctx children of their respective domains. Neither sysdb context nor domains are ever freed until a program is done so there shouldn't be any memory hierarchy issue. As plus we simplify the code by removing a destructor and a setter function. | |||||
2013-01-15 | The Big sysdb/domain split-up! | Simo Sorce | 1 | -1/+1 | |
This commit is the first of a complex work of untangling domain and sysdb. It turns out the idea of keeping a reference to the domain within the sysdb was a poor one so we need to split the domain out and change all functions that needs one to get it explicitly from their callers. | |||||
2013-01-10 | Change pam data auth tokens. | Simo Sorce | 1 | -1/+0 | |
Use the new authtok abstraction and interfaces throught the code. | |||||
2013-01-10 | Code can only check for cached passwords | Simo Sorce | 2 | -13/+2 | |
Make it clear to the API users that we can not take arbitrary auth tokens. We can only take a password for now so simplify and clarify the interface. | |||||
2013-01-10 | Use sysdb_search_service() for all svc queries | Simo Sorce | 2 | -78/+56 | |
2013-01-10 | Add sysdb_search_service() helper function | Simo Sorce | 2 | -0/+63 | |
2013-01-08 | Remove dead netgroup functions | Simo Sorce | 2 | -155/+0 | |
2013-01-08 | SYSDB: Split a function to read all SELinux maps | Jakub Hrozek | 2 | -23/+49 | |
2013-01-08 | SYSDB: Remove duplicate selinux defines | Jakub Hrozek | 2 | -5/+1 | |
2013-01-08 | Translate LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS to EEXIST | Sumit Bose | 1 | -0/+1 | |
Currently only the LDB error code indicating that an entry already exists is translated to EEXIST. To make debugging easier and return a better indication of the reason for an error in the logs this patch translates the LDB error code for an already existing attribute or value to EEXIST as well. | |||||
2013-01-07 | SYSDB: split sysdb_add_user | Ondrej Kos | 1 | -125/+176 | |
The function itself was very long (more than 300 lines) and hard to read, this patch splits it to three logical blocks. | |||||
2013-01-07 | SYSDB: Modify ghosts in permissive mode | Ondrej Kos | 1 | -1/+33 | |
https://fedorahosted.org/sssd/ticket/1714 The attempt to delete all ghosts for users name and aliases was failing, resulting into failure of whole user-add operation. In permissive mode, the attempts to delete non-existent entries are not interpreted as error. | |||||
2013-01-07 | Remove redundant definition. | Simo Sorce | 2 | -2/+1 | |
We had 2 defines for the same class. Consolidate and remove confusion. | |||||
2012-12-19 | Fix a 'shadows a global declaration' warning | Sumit Bose | 1 | -2/+2 | |