summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-01-16Correct format security for talloc_named of auth tokensStephen Gallagher1-1/+1
2013-01-15LDAP: avoid complex realloc logic in save_rfc2307bis_group_membershipsJakub Hrozek1-12/+4
https://fedorahosted.org/sssd/ticket/1761 The function tried to be smart and realloc only when needed, but that only lead to hard-to find bugs where the logic would not allocate the proper space. Remove the reallocation and prefer readability over speed in this case.
2013-01-15TOOLS: Refresh memcache after changes to local users and groupsJakub Hrozek2-0/+42
2013-01-15TOOLS: Provide a convenience function to refresh a list of groupsJakub Hrozek2-0/+22
2013-01-15TOOLS: Split querying nss responder into a separate functionJakub Hrozek4-32/+68
The tools query the responder in order to sync the memcache after performing changes to the local database. The functions will be reused by other tools so I split them into a separate functions.
2013-01-15TOOLS: move memcache related functions to tools_mc_utils.cJakub Hrozek3-161/+188
The upcoming patches will link only users of this file with client libs, so it's better to have it separate. There is no functional change in this patch
2013-01-15TOOLS: set domain in check_group_namesJakub Hrozek1-0/+1
2013-01-15tests: unit test for sysdb_remove_attrsJakub Hrozek1-0/+45
2013-01-15tests: add unit test for sysdb_get_new_idJakub Hrozek1-1/+20
2013-01-15tests: test sysdb_initgroupsJakub Hrozek1-0/+48
2013-01-15tests: adda a unit test for test_sysdb_search_groupsJakub Hrozek1-0/+29
2013-01-15tests: unit test for test_sysdb_search_usersJakub Hrozek1-0/+31
2013-01-15tests: add a unit test for sysdb_netgroup_base_dnJakub Hrozek1-0/+23
2013-01-15Stop creating fake sysdb contextsSimo Sorce3-32/+2
Now that the sysdb context does not contain anymore domain related data we can simply stop creating faxe sysdb context and just reference the parent context.
2013-01-15Kill sysdb->domainSimo Sorce3-5/+0
Finally remove this upside-down dependency.
2013-01-15Move mpg flag to the domain where it belongsSimo Sorce8-16/+13
A sysdb contains now multiple domains, but the mpg property is a property of a specific domain not of the underlying database.
2013-01-15Pass the domain to upgrade functionsSimo Sorce3-13/+17
2013-01-15Add domain to some subdomain functionsSimo Sorce4-8/+17
2013-01-15Add domain arguments to sysdb sudo functionsSimo Sorce7-39/+69
2013-01-15Add domain arguments to sysdb ssh functionsSimo Sorce5-14/+30
2013-01-15Add domain arguments to sysdb services functionsSimo Sorce8-49/+59
also fix sysdb_svc_add declarations
2013-01-15Add domain argument to sysdb selinux functionsSimo Sorce6-21/+40
2013-01-15Add domain argument to sysdb autofs functionsSimo Sorce8-38/+68
2013-01-15Add domain arguemnt to sysdb_get_real_name()Simo Sorce3-2/+5
2013-01-15Add domain argument to sysdb_idmap_ funcitonsSimo Sorce3-14/+13
2013-01-15Add domain argument to sysdb_remove_attrs()Simo Sorce7-16/+21
2013-01-15Add domain argument to sysdb_has/set_enumerated()Simo Sorce6-15/+14
2013-01-15Add domain arg to sysdb_search/delete_netgroup()Simo Sorce7-12/+18
2013-01-15Add domain argument to sysdb_delete_group()Simo Sorce7-31/+20
Also remove sysdb_delete_domgroup()
2013-01-15Add domain argument to sysdb_search_groups()Simo Sorce8-12/+22
2013-01-15Add domain argument to sysdb_delete_user()Simo Sorce8-34/+32
Also remove sysdb_delete_domuser()
2013-01-15Add domain arg to sysdb_search_users()Simo Sorce9-19/+35
2013-01-15Add domain to sysdb_delete_customSimo Sorce6-5/+7
2013-01-15Add domain argument to sysdb_search_custom()Simo Sorce15-22/+49
Also changes sysdb_search_custom_by_name()
2013-01-15Add domain argument to sysdb_store_custom()Simo Sorce7-6/+8
2013-01-15Add domain argument to sysdb_cache_auth()Simo Sorce5-9/+19
2013-01-15Add domain argument to sysdb_cache_password()Simo Sorce7-6/+12
2013-01-15Add domain arg to sysdb group member functionsSimo Sorce5-22/+37
2013-01-15Add domain argument to sysdb_store_group()Simo Sorce7-39/+26
Also remove sysdb_store_domgroup()
2013-01-15Add domain argument to sysdb_store_user()Simo Sorce8-61/+38
Also remove sysdb_store_domuser()
2013-01-15Add domain arguments to sysdb_add_inetgroup fns.Simo Sorce6-9/+15
2013-01-15Add domain arguments to sysdb_add_group functions.Simo Sorce6-20/+31
2013-01-15Add domain argument to sysdb_add_user()Simo Sorce5-11/+14
2013-01-15Add domain argument to sysdb_add_basic_user()Simo Sorce3-2/+6
2013-01-15Add domain argument to sysdb_get_new_id()Simo Sorce2-5/+5
2013-01-15Add domain argument to sysdb_set_netgroup_attr()Simo Sorce4-4/+6
2013-01-15Add domain argument to sysdb_set_group_attr()Simo Sorce5-18/+21
2013-01-15Add domain argument to sysdb_set_user_attr()Simo Sorce10-36/+51
2013-01-15Add domain arg to sysdb_search_netgroup_by_name()Simo Sorce3-2/+5
2013-01-15Add domain to sysdb_search_group_by_gid()Simo Sorce8-24/+33
Also remove unused sysdb_search_domgroup_by_gid()