summaryrefslogtreecommitdiff
path: root/src/db
AgeCommit message (Collapse)AuthorFilesLines
2013-01-22sudo responder: change num_rules type from size_t to uint32_tPavel Březina2-5/+5
https://fedorahosted.org/sssd/ticket/1779 2^32 should be enough to store sudo rules. size_t type was causing troubles on big endian architectures, because it wasn't used correctly in combination with D-Bus.
2013-01-21LDAP: Compare lists of DNs when saving autofs entriesJakub Hrozek2-9/+31
https://fedorahosted.org/sssd/ticket/1758 The autofs entries do not have the key as an unique identifier, but rather the full (key, value) tuple as some keys have a special meaning, such as the direct mount key (/-) and may be present in a single map multiple times. Comparing the full DN that contains both the key and the value will allow for working updates if either key or value changes.
2013-01-16Tidy up BASE dn macrosSimo Sorce1-4/+4
2013-01-15Stop creating fake sysdb contextsSimo Sorce2-25/+0
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 Sorce5-16/+8
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 Sorce2-5/+8
2013-01-15Add domain arguments to sysdb sudo functionsSimo Sorce2-26/+42
2013-01-15Add domain arguments to sysdb ssh functionsSimo Sorce2-8/+20
2013-01-15Add domain arguments to sysdb services functionsSimo Sorce2-20/+34
also fix sysdb_svc_add declarations
2013-01-15Add domain argument to sysdb selinux functionsSimo Sorce2-15/+27
2013-01-15Add domain argument to sysdb autofs functionsSimo Sorce3-16/+34
2013-01-15Add domain arguemnt to sysdb_get_real_name()Simo Sorce2-1/+3
2013-01-15Add domain argument to sysdb_idmap_ funcitonsSimo Sorce2-13/+11
2013-01-15Add domain argument to sysdb_remove_attrs()Simo Sorce4-7/+11
2013-01-15Add domain argument to sysdb_has/set_enumerated()Simo Sorce2-7/+7
2013-01-15Add domain arg to sysdb_search/delete_netgroup()Simo Sorce2-2/+6
2013-01-15Add domain argument to sysdb_delete_group()Simo Sorce3-21/+5
Also remove sysdb_delete_domgroup()
2013-01-15Add domain argument to sysdb_search_groups()Simo Sorce2-2/+5
2013-01-15Add domain argument to sysdb_delete_user()Simo Sorce3-16/+5
Also remove sysdb_delete_domuser()
2013-01-15Add domain arg to sysdb_search_users()Simo Sorce2-1/+3
2013-01-15Add domain to sysdb_delete_customSimo Sorce5-4/+6
2013-01-15Add domain argument to sysdb_search_custom()Simo Sorce5-8/+12
Also changes sysdb_search_custom_by_name()
2013-01-15Add domain argument to sysdb_store_custom()Simo Sorce5-4/+6
2013-01-15Add domain argument to sysdb_cache_auth()Simo Sorce2-3/+5
2013-01-15Add domain argument to sysdb_cache_password()Simo Sorce2-1/+3
2013-01-15Add domain arg to sysdb group member functionsSimo Sorce2-9/+18
2013-01-15Add domain argument to sysdb_store_group()Simo Sorce3-23/+6
Also remove sysdb_store_domgroup()
2013-01-15Add domain argument to sysdb_store_user()Simo Sorce3-35/+7
Also remove sysdb_store_domuser()
2013-01-15Add domain arguments to sysdb_add_inetgroup fns.Simo Sorce2-3/+7
2013-01-15Add domain arguments to sysdb_add_group functions.Simo Sorce2-8/+14
2013-01-15Add domain argument to sysdb_add_user()Simo Sorce2-7/+9
2013-01-15Add domain argument to sysdb_add_basic_user()Simo Sorce2-2/+5
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 Sorce2-2/+4
2013-01-15Add domain argument to sysdb_set_group_attr()Simo Sorce2-4/+6
2013-01-15Add domain argument to sysdb_set_user_attr()Simo Sorce2-6/+11
2013-01-15Add domain arg to sysdb_search_netgroup_by_name()Simo Sorce2-2/+4
2013-01-15Add domain to sysdb_search_group_by_gid()Simo Sorce4-20/+6
Also remove unused sysdb_search_domgroup_by_gid()
2013-01-15Add domain to sysdb_search_group_by_name()Simo Sorce3-21/+6
Also remove unused sysdb_search_domgroup_by_name()
2013-01-15Add domain to sysdb_search_user_by_uid()Simo Sorce3-19/+5
Also remove unused sysdb_search_domuser_by_uid()
2013-01-15Add domain to sysdb_search_user_by_name()Simo Sorce5-24/+12
Also remove unused sysdb_search_domuser_by_name()
2013-01-15Add domain argument to sysdb_get_user_attr()Simo Sorce2-1/+3
2013-01-15Add domain argument to sysdb_initgroups()Simo Sorce2-1/+3
2013-01-15Add domain option to sysdb_get/netgr/attrs() fnsSimo Sorce2-3/+7
2013-01-15Pass domain to sysdb_enum<pw/gr>ebt() functionsSimo Sorce2-3/+7
2013-01-15Pass domain to sysdb_get<pwu/grg><id() functionsSimo Sorce2-3/+7
2013-01-15Pass domain to sysdb_get<pw/gr>nam() functionsSimo Sorce4-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-15Upgrade DB and move ranges into top level objectSimo Sorce3-1/+124