summaryrefslogtreecommitdiff
path: root/src/db/sysdb_ops.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-22SYSDB: Make ENOENT log messages less threateningStephen Gallagher1-16/+54
Previously, they were reported with the prefix "Error:" which caused confusion among end-users while debugging.
2011-11-02Handle group renaming correctlyJan Zeleny1-2/+7
https://fedorahosted.org/sssd/ticket/1040
2011-10-31Plug memory leaks in sysdb_opsJakub Hrozek1-20/+54
https://fedorahosted.org/sssd/ticket/1051
2011-10-13SysDB commands that save lastUpdate allows this value to be passed inPavel Březina1-25/+41
https://fedorahosted.org/sssd/ticket/836
2011-10-03Use explicit base 10 for converting strings to integersJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1013
2011-09-28Multiline macro cleanupJakub Hrozek1-1/+1
This is mostly a cosmetic patch. The purpose of wrapping a multi-line macro in a do { } while(0) is to make the macro usable as a regular statement, not a compound statement. When the while(0) is terminated with a semicolon, the do { } while(0); block becomes a compound statement again.
2011-08-15sysdb refactoring: memory context deletedJan Zeleny1-247/+254
This patch deletes memory context parameter in those places in sysdb where it is not necessary. The code using modified functions has been updated. Tests updated as well.
2011-08-15sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny1-142/+75
The patch also updates code using modified functions. Tests have also been adjusted.
2011-08-15sysdb refactoring: renamed ctx variable to sysdbJan Zeleny1-131/+131
2011-06-02Non-posix group processing - sysdb changesJan Zeleny1-17/+23
2011-05-20Change sysdb_add_fake_user to add OriginalDNJakub Hrozek1-1/+8
RFC2307bis code relies heavily on originalDN, so the fake users need to have an option to store it, too.
2011-05-04Some minor fixes and changes in sysdb_opsJan Zeleny1-17/+40
2011-05-04Add a function for searching netgroups with custom filterJan Zeleny1-0/+57
2011-03-23Add originalDN to fake groupsJakub Hrozek1-1/+7
2011-02-28Do not try to delete sysbd memberOf attributeSumit Bose1-0/+4
2011-01-21Delete attributes that are removed from LDAPStephen Gallagher1-0/+118
Sometimes, a value in LDAP will cease to exist (the classic example being shadowExpire). We need to make sure we purge that value from SSSD's sysdb as well. https://fedorahosted.org/sssd/ticket/750
2011-01-14Do not throw a DP error when a netgroup is not foundStephen Gallagher1-1/+4
https://fedorahosted.org/sssd/ticket/775
2011-01-14Work around libldb bugStephen Gallagher1-2/+10
Libldb performs non-indexed searches for ONELEVEL requests. We'll use SUBTREE instead to reduce the performance hit substantially
2010-11-15Fix const cast warning for sysdb_update_membersStephen Gallagher1-2/+2
2010-10-18Modify sysdb_[add|remove]_group_member to accept users and groupsStephen Gallagher1-32/+77
Previously, it assumed that all members were users. This changes the interface so that either a user or a group can be specified. Also, it eliminates the need for a memory context to be passed, since the internal memory should be self-contained.
2010-10-15sysdb interface for adding fake usersJakub Hrozek1-0/+61
2010-10-15sysdb interface for adding incomplete groupsJakub Hrozek1-0/+44
Useful for optimizing the initgroups operation.
2010-10-13Do not fail if netgroup exists just update the attributesSumit Bose1-1/+1
2010-10-13Netgroups sysdb APIStephen Gallagher1-1/+352
2010-09-22Fix missing variable substitution in DEBUG messageStephen Gallagher1-2/+2
2010-09-15Define objectclass with a constantJakub Hrozek1-2/+2
Use a #define instead of hardcoded string
2010-09-08Move crypto functions into its own subdirJakub Hrozek1-1/+1
A refactoring patch that creates a common util/crypto subdir with per-implementation subdirectories for each underlying crypto library supported by SSSD.
2010-08-03Add sysdb_update_members functionStephen Gallagher1-0/+56
This function will take a user, a list of groups that this user should be added to and a list of groups the user should be removed from and will recursively call sysdb_[add|remove]_group_member Includes a unit test
2010-05-26Add support for delayed kinit if offlineSumit Bose1-2/+12
If the configuration option krb5_store_password_if_offline is set to true and the backend is offline the plain text user password is stored and used to request a TGT if the backend becomes online. If available the Linux kernel key retention service is used.
2010-04-12sysdb: add automatic transactions where neededSimo Sorce1-7/+47
Only functions that do multiple operations need explicit transactions as ldb_add/ldb_modify/ldb_delete already start transactions automatically intenrally.
2010-04-12sysdb: remove sysdb_check_handleSimo Sorce1-90/+0
not used anymore
2010-04-12sysdb: convert sysdb_cache_authSimo Sorce1-167/+68
2010-04-12sysdb: convert sysdb_search_groupsSimo Sorce1-93/+28
2010-04-12sysdb: delete sysdb_delete_groupSimo Sorce1-90/+33
2010-04-12sysdb: convert sysdb_delete_userSimo Sorce1-81/+33
2010-04-12sysdb: convert sysdb_search_usersSimo Sorce1-93/+28
2010-04-12sysdb remove sldb_request_send, not used anymoreSimo Sorce1-125/+0
2010-04-12sysdb: convert sysdb_asq_searchSimo Sorce1-161/+39
2010-04-12sysdb: convert sysdb_store_customSimo Sorce1-119/+49
2010-04-12sysdb: convert sysdb_search_customSimo Sorce1-207/+85
2010-04-12sysdb: convert sysdb_cache_passwordSimo Sorce1-100/+26
2010-04-12sysdb: convert sysdb_mod/add/remove_group_memberSimo Sorce1-199/+37
2010-04-12sysdb: convert sysdb_store/add(_basic)_groupSimo Sorce1-267/+105
2010-04-12sysdb: convert sysdb_store/add(_basic)_userSimo Sorce1-336/+148
2010-04-12sysdb: convert sysdb_get_new_idSimo Sorce1-392/+132
2010-04-12sysdb: convert sysdb_set_entry/user/group_attrSimo Sorce1-379/+101
2010-04-12sysdb: convert sysdb_search_group_by_name/gidSimo Sorce1-335/+105
2010-04-12sysdb: convert sysdb_search_user_by_name/uidSimo Sorce1-442/+161
2010-04-12sysdb: convert sysdb_search_entry and sysdb_delete_recursiveSimo Sorce1-340/+87
2010-04-12sysdb: convert sysdb_delete_customSimo Sorce1-122/+29