summaryrefslogtreecommitdiffstats
path: root/src/db
Commit message (Collapse)AuthorAgeFilesLines
...
* Add domain argument to sysdb_has/set_enumerated()Simo Sorce2013-01-152-7/+7
|
* Add domain arg to sysdb_search/delete_netgroup()Simo Sorce2013-01-152-2/+6
|
* Add domain argument to sysdb_delete_group()Simo Sorce2013-01-153-21/+5
| | | | Also remove sysdb_delete_domgroup()
* Add domain argument to sysdb_search_groups()Simo Sorce2013-01-152-2/+5
|
* Add domain argument to sysdb_delete_user()Simo Sorce2013-01-153-16/+5
| | | | Also remove sysdb_delete_domuser()
* Add domain arg to sysdb_search_users()Simo Sorce2013-01-152-1/+3
|
* Add domain to sysdb_delete_customSimo Sorce2013-01-155-4/+6
|
* Add domain argument to sysdb_search_custom()Simo Sorce2013-01-155-8/+12
| | | | Also changes sysdb_search_custom_by_name()
* Add domain argument to sysdb_store_custom()Simo Sorce2013-01-155-4/+6
|
* Add domain argument to sysdb_cache_auth()Simo Sorce2013-01-152-3/+5
|
* Add domain argument to sysdb_cache_password()Simo Sorce2013-01-152-1/+3
|
* Add domain arg to sysdb group member functionsSimo Sorce2013-01-152-9/+18
|
* Add domain argument to sysdb_store_group()Simo Sorce2013-01-153-23/+6
| | | | Also remove sysdb_store_domgroup()
* Add domain argument to sysdb_store_user()Simo Sorce2013-01-153-35/+7
| | | | Also remove sysdb_store_domuser()
* Add domain arguments to sysdb_add_inetgroup fns.Simo Sorce2013-01-152-3/+7
|
* Add domain arguments to sysdb_add_group functions.Simo Sorce2013-01-152-8/+14
|
* Add domain argument to sysdb_add_user()Simo Sorce2013-01-152-7/+9
|
* Add domain argument to sysdb_add_basic_user()Simo Sorce2013-01-152-2/+5
|
* Add domain argument to sysdb_get_new_id()Simo Sorce2013-01-152-5/+5
|
* Add domain argument to sysdb_set_netgroup_attr()Simo Sorce2013-01-152-2/+4
|
* Add domain argument to sysdb_set_group_attr()Simo Sorce2013-01-152-4/+6
|
* Add domain argument to sysdb_set_user_attr()Simo Sorce2013-01-152-6/+11
|
* Add domain arg to sysdb_search_netgroup_by_name()Simo Sorce2013-01-152-2/+4
|
* Add domain to sysdb_search_group_by_gid()Simo Sorce2013-01-154-20/+6
| | | | Also remove unused sysdb_search_domgroup_by_gid()
* Add domain to sysdb_search_group_by_name()Simo Sorce2013-01-153-21/+6
| | | | Also remove unused sysdb_search_domgroup_by_name()
* Add domain to sysdb_search_user_by_uid()Simo Sorce2013-01-153-19/+5
| | | | Also remove unused sysdb_search_domuser_by_uid()
* Add domain to sysdb_search_user_by_name()Simo Sorce2013-01-155-24/+12
| | | | Also remove unused sysdb_search_domuser_by_name()
* Add domain argument to sysdb_get_user_attr()Simo Sorce2013-01-152-1/+3
|
* Add domain argument to sysdb_initgroups()Simo Sorce2013-01-152-1/+3
|
* Add domain option to sysdb_get/netgr/attrs() fnsSimo Sorce2013-01-152-3/+7
|
* Pass domain to sysdb_enum<pw/gr>ebt() functionsSimo Sorce2013-01-152-3/+7
|
* Pass domain to sysdb_get<pwu/grg><id() functionsSimo Sorce2013-01-152-3/+7
|
* Pass domain to sysdb_get<pw/gr>nam() functionsSimo Sorce2013-01-154-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.
* Upgrade DB and move ranges into top level objectSimo Sorce2013-01-153-1/+124
|
* Move range objects into their own top-level tree.Simo Sorce2013-01-152-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.
* Make sysdb_custom_subtree_dn() require a domain.Simo Sorce2013-01-155-8/+13
|
* Make sysdb_custom_dn() require a domain.Simo Sorce2013-01-154-5/+11
|
* Make sysdb_domain_dn() require a domain.Simo Sorce2013-01-153-4/+7
|
* Make sysdb_netgroup_base_dn() require a domain.Simo Sorce2013-01-152-4/+8
|
* Make sysdb_netgroup_dn() require a domain explictly.Simo Sorce2013-01-153-7/+7
|
* Make sysdb_group_dn() require a domain explictly.Simo Sorce2013-01-153-9/+9
|
* Make sysdb_user_dn() require a domain explictly.Simo Sorce2013-01-153-9/+9
|
* Remove the sysdb_ctx_get_domain() function.Simo Sorce2013-01-153-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).
* Refactor single domain initializationSimo Sorce2013-01-152-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.
* Refactor sysdb initializationSimo Sorce2013-01-152-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.
* The Big sysdb/domain split-up!Simo Sorce2013-01-151-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.
* Change pam data auth tokens.Simo Sorce2013-01-101-1/+0
| | | | Use the new authtok abstraction and interfaces throught the code.
* Code can only check for cached passwordsSimo Sorce2013-01-102-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.
* Use sysdb_search_service() for all svc queriesSimo Sorce2013-01-102-78/+56
|
* Add sysdb_search_service() helper functionSimo Sorce2013-01-102-0/+63
|