summaryrefslogtreecommitdiff
path: root/src/tools/sss_sync_ops.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-20LDAP: Only convert direct parents' ghost attribute to memberJakub Hrozek1-1/+2
https://fedorahosted.org/sssd/ticket/1612 This patch changes the handling of ghost attributes when saving the actual user entry. Instead of always linking all groups that contained the ghost attribute with the new user entry, the original member attributes are now saved in the group object and the user entry is only linked with its direct parents. As the member attribute is compared against the originalDN of the user, if either the originalDN or the originalMember attributes are missing, the user object is linked with all the groups as a fallback. The original member attributes are only saved if the LDAP schema supports nesting.
2012-09-24SYSDB: Remove unnecessary domain parameter from several sysdb callsJakub Hrozek1-12/+5
The domain can be read from the sysdb object. Removing the domain string makes the API more self-contained.
2012-02-21Don't give memory context in confdb where not neededJan Zeleny1-3/+3
2011-11-22Cleanup: Remove unused parametersJakub Hrozek1-23/+21
2011-10-13SysDB commands that save lastUpdate allows this value to be passed inPavel Březina1-2/+2
https://fedorahosted.org/sssd/ticket/836
2011-08-15sysdb refactoring: memory context deletedJan Zeleny1-9/+5
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-17/+11
The patch also updates code using modified functions. Tests have also been adjusted.
2011-01-05Fix boolean comparison against stringStephen Gallagher1-2/+2
Coverity 10082 and 100083
2010-04-30Silence warnings with -O2Jakub Hrozek1-4/+4
2010-04-12tools: remove creation of event_contextSimo Sorce1-10/+0
Since the sysdb is now synchronous and creates its own event context we don't need an explicit event context anymore in the tools.
2010-04-12sysdb: remove remaining traces of sysdb_handleSimo Sorce1-1/+0
2010-04-12sysdb: convert sysdb_getgrnamSimo Sorce1-57/+24
2010-04-12sysdb: convert sysdb_getpwnamSimo Sorce1-99/+53
2010-04-12Use the sysdb synchronous transaction functionsSimo Sorce1-350/+61
2010-04-12sysdb: convert sysdb_mod/add/remove_group_memberSimo Sorce1-371/+58
2010-04-12sysdb: convert sysdb_store/add(_basic)_groupSimo Sorce1-101/+5
2010-04-12sysdb: convert sysdb_store/add(_basic)_userSimo Sorce1-110/+25
2010-04-12sysdb: convert sysdb_set_entry/user/group_attrSimo Sorce1-101/+12
2010-04-12sysdb: convert sysdb_delete_entryStephen Gallagher1-211/+16
2010-03-15Flush NSCD cache after modifying local databaseJakub Hrozek1-0/+15
Fixes: #221
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+1838
Also update BUILD.txt