summaryrefslogtreecommitdiff
path: root/src/db/sysdb_ops.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-11Fix formating of variables with type: size_tLukas Slebodnik1-1/+1
2013-09-10DB: Rise search functions debug levelsOndrej Kos1-9/+9
2013-09-10DB: Add user/group lookup by SIDOndrej Kos1-2/+84
2013-09-10sysdb_search_group_by_gid: obtain gid instead of uidPavel Březina1-1/+1
2013-08-19sysdb_add_incomplete_group: store SID string is availableSumit Bose1-0/+6
During initgroups request we read the SID of a group from the server but do not save it to the cache. This patch fixes this and might help to avoid an additional lookup of the SID later.
2013-07-09DB: sysdb_search_user_by_name: search by both name and aliasJakub Hrozek1-2/+17
2013-05-02sysdb: add sysdb_search_object_by_sid()Sumit Bose1-0/+54
The patch add a new sysdb to find objects based on their SID. Currently only the basic attributes needed to map SIDs to POSIX IDs and names are requested, but this list can be extended for future use cases.
2013-04-29Only try to relink ghost users if we're not enumeratingJakub Hrozek1-4/+9
https://fedorahosted.org/sssd/ticket/1893 When SSSD is not enumerating (which is the default), we are trying to link any "ghost" entries with a newly created user entry. However, when enumeration is on, this means a spurious search on adding any user.
2013-03-04Use SSSD specific errors for offline authSimo Sorce1-8/+9
This prevents reportin false errors when internal functions return a generic EINVAL or EACCES that should just be treated as internal errors.
2013-01-23SYSDB: make the sss_ldb_modify_permissive function publicJakub Hrozek1-2/+7
2013-01-15Move mpg flag to the domain where it belongsSimo Sorce1-5/+5
A sysdb contains now multiple domains, but the mpg property is a property of a specific domain not of the underlying database.
2013-01-15Add domain argument to sysdb_remove_attrs()Simo Sorce1-6/+7
2013-01-15Add domain arg to sysdb_search/delete_netgroup()Simo Sorce1-2/+4
2013-01-15Add domain argument to sysdb_delete_group()Simo Sorce1-3/+4
Also remove sysdb_delete_domgroup()
2013-01-15Add domain argument to sysdb_search_groups()Simo Sorce1-2/+4
2013-01-15Add domain argument to sysdb_delete_user()Simo Sorce1-3/+4
Also remove sysdb_delete_domuser()
2013-01-15Add domain arg to sysdb_search_users()Simo Sorce1-1/+2
2013-01-15Add domain to sysdb_delete_customSimo Sorce1-1/+2
2013-01-15Add domain argument to sysdb_search_custom()Simo Sorce1-4/+5
Also changes sysdb_search_custom_by_name()
2013-01-15Add domain argument to sysdb_store_custom()Simo Sorce1-1/+2
2013-01-15Add domain argument to sysdb_cache_auth()Simo Sorce1-3/+4
2013-01-15Add domain argument to sysdb_cache_password()Simo Sorce1-1/+2
2013-01-15Add domain arg to sysdb group member functionsSimo Sorce1-9/+15
2013-01-15Add domain argument to sysdb_store_group()Simo Sorce1-4/+5
Also remove sysdb_store_domgroup()
2013-01-15Add domain argument to sysdb_store_user()Simo Sorce1-6/+6
Also remove sysdb_store_domuser()
2013-01-15Add domain arguments to sysdb_add_inetgroup fns.Simo Sorce1-3/+5
2013-01-15Add domain arguments to sysdb_add_group functions.Simo Sorce1-8/+11
2013-01-15Add domain argument to sysdb_add_user()Simo Sorce1-7/+8
2013-01-15Add domain argument to sysdb_add_basic_user()Simo Sorce1-2/+4
2013-01-15Add domain argument to sysdb_get_new_id()Simo Sorce1-5/+4
2013-01-15Add domain argument to sysdb_set_netgroup_attr()Simo Sorce1-2/+3
2013-01-15Add domain argument to sysdb_set_group_attr()Simo Sorce1-4/+5
2013-01-15Add domain argument to sysdb_set_user_attr()Simo Sorce1-6/+10
2013-01-15Add domain arg to sysdb_search_netgroup_by_name()Simo Sorce1-2/+3
2013-01-15Add domain to sysdb_search_group_by_gid()Simo Sorce1-3/+4
Also remove unused sysdb_search_domgroup_by_gid()
2013-01-15Add domain to sysdb_search_group_by_name()Simo Sorce1-4/+5
Also remove unused sysdb_search_domgroup_by_name()
2013-01-15Add domain to sysdb_search_user_by_uid()Simo Sorce1-3/+4
Also remove unused sysdb_search_domuser_by_uid()
2013-01-15Add domain to sysdb_search_user_by_name()Simo Sorce1-5/+6
Also remove unused sysdb_search_domuser_by_name()
2013-01-15Make sysdb_custom_subtree_dn() require a domain.Simo Sorce1-1/+2
2013-01-15Make sysdb_custom_dn() require a domain.Simo Sorce1-3/+6
2013-01-15Make sysdb_domain_dn() require a domain.Simo Sorce1-1/+1
2013-01-15Make sysdb_netgroup_dn() require a domain explictly.Simo Sorce1-4/+4
2013-01-15Make sysdb_group_dn() require a domain explictly.Simo Sorce1-6/+6
2013-01-15Make sysdb_user_dn() require a domain explictly.Simo Sorce1-6/+6
2013-01-10Change pam data auth tokens.Simo Sorce1-1/+0
Use the new authtok abstraction and interfaces throught the code.
2013-01-10Code can only check for cached passwordsSimo Sorce1-11/+1
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-08Remove dead netgroup functionsSimo Sorce1-123/+0
2013-01-07SYSDB: split sysdb_add_userOndrej Kos1-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-07SYSDB: Modify ghosts in permissive modeOndrej Kos1-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.
2012-12-10SYSDB: Move misplaced assignmentJakub Hrozek1-2/+1