Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-07 | SYSDB: Modify ghosts in permissive mode | Ondrej Kos | 1 | -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-10 | SYSDB: Move misplaced assignment | Jakub Hrozek | 1 | -2/+1 | |
2012-11-23 | SYSDB: Don't operate with aliases same as name | Ondrej Kos | 1 | -0/+6 | |
fixes https://fedorahosted.org/sssd/ticket/1628 When user's alias is same as it's name, don't use it for searching in sysdb, and for deleting. | |||||
2012-11-20 | LDAP: Only convert direct parents' ghost attribute to member | Jakub Hrozek | 1 | -8/+37 | |
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-11-20 | SYSDB: Use the add_string convenience functions for managing ghost user ↵ | Jakub Hrozek | 1 | -24/+9 | |
attribute Using the convenience function instead of low-level ldb calls makes the code more compact and more readable. | |||||
2012-09-24 | SYSDB: Remove unnecessary domain parameter from several sysdb calls | Jakub Hrozek | 1 | -45/+33 | |
The domain can be read from the sysdb object. Removing the domain string makes the API more self-contained. | |||||
2012-09-24 | AUTOFS: Add entry objects below map objects | Jakub Hrozek | 1 | -19/+0 | |
https://fedorahosted.org/sssd/ticket/1506 Changes how the new autofs entry objects are handled. Instead of creating the entry on the cn=autofs,cn=custom level, the entry is created below the map it belongs to. | |||||
2012-09-20 | DB: Cancel transaction in sysdb_store_user if sysdb_add_user fails | Jakub Hrozek | 1 | -1/+8 | |
2012-09-05 | SYSDB: Commit transaction in sysdb_store_user | Jakub Hrozek | 1 | -17/+19 | |
2012-09-04 | Unify usage of sysdb transactions (part 2). | Michal Zidek | 1 | -28/+46 | |
2012-08-06 | SYSDB: Use ldb_msg_add_string for simple string additions | Jakub Hrozek | 1 | -6/+6 | |
2012-08-06 | SYSDB: Check the return value | Jakub Hrozek | 1 | -0/+1 | |
2012-07-10 | Cast uid_t to unsigned long long in DEBUG messages | Jakub Hrozek | 1 | -2/+2 | |
2012-06-12 | SYSDB: Reduce noise level of debug messages in lookups | Stephen Gallagher | 1 | -6/+8 | |
2012-05-31 | Ghost members - modifications in sysdb | Jan Zeleny | 1 | -75/+153 | |
Deleted sysdb_add_fake_user(): This function is no longer used. Modified sysdb_add_user(): When user object is added to sysdb, it is important to iterate over all groups that might have its name or any of its aliases as ghost member and replace this ghost membership by a real one. This will eliminate duplicite memberships. | |||||
2012-05-11 | SYSDB: Handle user and group renames better | Jakub Hrozek | 1 | -7/+39 | |
Fixes a regression in the local domain tools where sss_groupadd no longer detected a GID duplicate. The check for EEXIST is moved one level up into more high level function. The patch also adds the same rename support for users. I found it odd that we allowed a rename of groups but not users. There is a catch when storing a user -- his cached password would be gone. I think that renaming a user is such a rare operation that it's not severe, plus there is a warning in the logs. | |||||
2012-05-10 | SYSDB: Add better error logging to sysdb_set_entry_attr() | Stephen Gallagher | 1 | -2/+8 | |
2012-05-07 | Fix typo in debug message | Pavel Březina | 1 | -1/+1 | |
2012-02-24 | Delete missing attributes from netgroups to be stored | Jan Zeleny | 1 | -0/+14 | |
https://fedorahosted.org/sssd/ticket/1136 | |||||
2012-02-21 | Don't give memory context in confdb where not needed | Jan Zeleny | 1 | -3/+3 | |
2012-02-05 | AUTOFS: sysdb interface | Jakub Hrozek | 1 | -6/+32 | |
2012-02-05 | SYSDB: Remove code duplication between member_add and member_del | Jakub Hrozek | 1 | -39/+14 | |
2012-01-31 | SYSDB: extend sysdb_store_service() to accept additional attributes | Stephen Gallagher | 1 | -12/+14 | |
2012-01-23 | SYSDB: Move add_string and add_ulong to sysdb_private.h | Stephen Gallagher | 1 | -4/+4 | |
2011-11-22 | SYSDB: Make ENOENT log messages less threatening | Stephen Gallagher | 1 | -16/+54 | |
Previously, they were reported with the prefix "Error:" which caused confusion among end-users while debugging. | |||||
2011-11-02 | Handle group renaming correctly | Jan Zeleny | 1 | -2/+7 | |
https://fedorahosted.org/sssd/ticket/1040 | |||||
2011-10-31 | Plug memory leaks in sysdb_ops | Jakub Hrozek | 1 | -20/+54 | |
https://fedorahosted.org/sssd/ticket/1051 | |||||
2011-10-13 | SysDB commands that save lastUpdate allows this value to be passed in | Pavel Březina | 1 | -25/+41 | |
https://fedorahosted.org/sssd/ticket/836 | |||||
2011-10-03 | Use explicit base 10 for converting strings to integers | Jakub Hrozek | 1 | -1/+1 | |
https://fedorahosted.org/sssd/ticket/1013 | |||||
2011-09-28 | Multiline macro cleanup | Jakub Hrozek | 1 | -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-15 | sysdb refactoring: memory context deleted | Jan Zeleny | 1 | -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-15 | sysdb refactoring: deleted domain variables in sysdb API | Jan Zeleny | 1 | -142/+75 | |
The patch also updates code using modified functions. Tests have also been adjusted. | |||||
2011-08-15 | sysdb refactoring: renamed ctx variable to sysdb | Jan Zeleny | 1 | -131/+131 | |
2011-06-02 | Non-posix group processing - sysdb changes | Jan Zeleny | 1 | -17/+23 | |
2011-05-20 | Change sysdb_add_fake_user to add OriginalDN | Jakub Hrozek | 1 | -1/+8 | |
RFC2307bis code relies heavily on originalDN, so the fake users need to have an option to store it, too. | |||||
2011-05-04 | Some minor fixes and changes in sysdb_ops | Jan Zeleny | 1 | -17/+40 | |
2011-05-04 | Add a function for searching netgroups with custom filter | Jan Zeleny | 1 | -0/+57 | |
2011-03-23 | Add originalDN to fake groups | Jakub Hrozek | 1 | -1/+7 | |
2011-02-28 | Do not try to delete sysbd memberOf attribute | Sumit Bose | 1 | -0/+4 | |
2011-01-21 | Delete attributes that are removed from LDAP | Stephen Gallagher | 1 | -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-14 | Do not throw a DP error when a netgroup is not found | Stephen Gallagher | 1 | -1/+4 | |
https://fedorahosted.org/sssd/ticket/775 | |||||
2011-01-14 | Work around libldb bug | Stephen Gallagher | 1 | -2/+10 | |
Libldb performs non-indexed searches for ONELEVEL requests. We'll use SUBTREE instead to reduce the performance hit substantially | |||||
2010-11-15 | Fix const cast warning for sysdb_update_members | Stephen Gallagher | 1 | -2/+2 | |
2010-10-18 | Modify sysdb_[add|remove]_group_member to accept users and groups | Stephen Gallagher | 1 | -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-15 | sysdb interface for adding fake users | Jakub Hrozek | 1 | -0/+61 | |
2010-10-15 | sysdb interface for adding incomplete groups | Jakub Hrozek | 1 | -0/+44 | |
Useful for optimizing the initgroups operation. | |||||
2010-10-13 | Do not fail if netgroup exists just update the attributes | Sumit Bose | 1 | -1/+1 | |
2010-10-13 | Netgroups sysdb API | Stephen Gallagher | 1 | -1/+352 | |
2010-09-22 | Fix missing variable substitution in DEBUG message | Stephen Gallagher | 1 | -2/+2 | |
2010-09-15 | Define objectclass with a constant | Jakub Hrozek | 1 | -2/+2 | |
Use a #define instead of hardcoded string |