Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SYSDB: Handle user and group renames better | Jakub Hrozek | 2012-05-11 | 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. | ||||
* | Delete missing attributes from netgroups to be stored | Jan Zeleny | 2012-02-24 | 1 | -0/+14 |
| | | | | https://fedorahosted.org/sssd/ticket/1136 | ||||
* | AUTOFS: sysdb interface | Jakub Hrozek | 2012-02-05 | 1 | -6/+32 |
| | |||||
* | SYSDB: Remove code duplication between member_add and member_del | Jakub Hrozek | 2012-02-05 | 1 | -39/+14 |
| | |||||
* | SYSDB: extend sysdb_store_service() to accept additional attributes | Stephen Gallagher | 2012-01-31 | 1 | -12/+14 |
| | |||||
* | SYSDB: Move add_string and add_ulong to sysdb_private.h | Stephen Gallagher | 2012-01-23 | 1 | -4/+4 |
| | |||||
* | SYSDB: Make ENOENT log messages less threatening | Stephen Gallagher | 2011-11-22 | 1 | -16/+54 |
| | | | | | Previously, they were reported with the prefix "Error:" which caused confusion among end-users while debugging. | ||||
* | Handle group renaming correctly | Jan Zeleny | 2011-11-02 | 1 | -2/+7 |
| | | | | https://fedorahosted.org/sssd/ticket/1040 | ||||
* | Plug memory leaks in sysdb_ops | Jakub Hrozek | 2011-10-31 | 1 | -20/+54 |
| | | | | https://fedorahosted.org/sssd/ticket/1051 | ||||
* | SysDB commands that save lastUpdate allows this value to be passed in | Pavel Březina | 2011-10-13 | 1 | -25/+41 |
| | | | | https://fedorahosted.org/sssd/ticket/836 | ||||
* | Use explicit base 10 for converting strings to integers | Jakub Hrozek | 2011-10-03 | 1 | -1/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/1013 | ||||
* | Multiline macro cleanup | Jakub Hrozek | 2011-09-28 | 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. | ||||
* | sysdb refactoring: memory context deleted | Jan Zeleny | 2011-08-15 | 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. | ||||
* | sysdb refactoring: deleted domain variables in sysdb API | Jan Zeleny | 2011-08-15 | 1 | -142/+75 |
| | | | | | The patch also updates code using modified functions. Tests have also been adjusted. | ||||
* | sysdb refactoring: renamed ctx variable to sysdb | Jan Zeleny | 2011-08-15 | 1 | -131/+131 |
| | |||||
* | Non-posix group processing - sysdb changes | Jan Zeleny | 2011-06-02 | 1 | -17/+23 |
| | |||||
* | Change sysdb_add_fake_user to add OriginalDN | Jakub Hrozek | 2011-05-20 | 1 | -1/+8 |
| | | | | | RFC2307bis code relies heavily on originalDN, so the fake users need to have an option to store it, too. | ||||
* | Some minor fixes and changes in sysdb_ops | Jan Zeleny | 2011-05-04 | 1 | -17/+40 |
| | |||||
* | Add a function for searching netgroups with custom filter | Jan Zeleny | 2011-05-04 | 1 | -0/+57 |
| | |||||
* | Add originalDN to fake groups | Jakub Hrozek | 2011-03-23 | 1 | -1/+7 |
| | |||||
* | Do not try to delete sysbd memberOf attribute | Sumit Bose | 2011-02-28 | 1 | -0/+4 |
| | |||||
* | Delete attributes that are removed from LDAP | Stephen Gallagher | 2011-01-21 | 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 | ||||
* | Do not throw a DP error when a netgroup is not found | Stephen Gallagher | 2011-01-14 | 1 | -1/+4 |
| | | | | https://fedorahosted.org/sssd/ticket/775 | ||||
* | Work around libldb bug | Stephen Gallagher | 2011-01-14 | 1 | -2/+10 |
| | | | | | Libldb performs non-indexed searches for ONELEVEL requests. We'll use SUBTREE instead to reduce the performance hit substantially | ||||
* | Fix const cast warning for sysdb_update_members | Stephen Gallagher | 2010-11-15 | 1 | -2/+2 |
| | |||||
* | Modify sysdb_[add|remove]_group_member to accept users and groups | Stephen Gallagher | 2010-10-18 | 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. | ||||
* | sysdb interface for adding fake users | Jakub Hrozek | 2010-10-15 | 1 | -0/+61 |
| | |||||
* | sysdb interface for adding incomplete groups | Jakub Hrozek | 2010-10-15 | 1 | -0/+44 |
| | | | | Useful for optimizing the initgroups operation. | ||||
* | Do not fail if netgroup exists just update the attributes | Sumit Bose | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Netgroups sysdb API | Stephen Gallagher | 2010-10-13 | 1 | -1/+352 |
| | |||||
* | Fix missing variable substitution in DEBUG message | Stephen Gallagher | 2010-09-22 | 1 | -2/+2 |
| | |||||
* | Define objectclass with a constant | Jakub Hrozek | 2010-09-15 | 1 | -2/+2 |
| | | | | Use a #define instead of hardcoded string | ||||
* | Move crypto functions into its own subdir | Jakub Hrozek | 2010-09-08 | 1 | -1/+1 |
| | | | | | | A refactoring patch that creates a common util/crypto subdir with per-implementation subdirectories for each underlying crypto library supported by SSSD. | ||||
* | Add sysdb_update_members function | Stephen Gallagher | 2010-08-03 | 1 | -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 | ||||
* | Add support for delayed kinit if offline | Sumit Bose | 2010-05-26 | 1 | -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. | ||||
* | sysdb: add automatic transactions where needed | Simo Sorce | 2010-04-12 | 1 | -7/+47 |
| | | | | | | Only functions that do multiple operations need explicit transactions as ldb_add/ldb_modify/ldb_delete already start transactions automatically intenrally. | ||||
* | sysdb: remove sysdb_check_handle | Simo Sorce | 2010-04-12 | 1 | -90/+0 |
| | | | | not used anymore | ||||
* | sysdb: convert sysdb_cache_auth | Simo Sorce | 2010-04-12 | 1 | -167/+68 |
| | |||||
* | sysdb: convert sysdb_search_groups | Simo Sorce | 2010-04-12 | 1 | -93/+28 |
| | |||||
* | sysdb: delete sysdb_delete_group | Simo Sorce | 2010-04-12 | 1 | -90/+33 |
| | |||||
* | sysdb: convert sysdb_delete_user | Simo Sorce | 2010-04-12 | 1 | -81/+33 |
| | |||||
* | sysdb: convert sysdb_search_users | Simo Sorce | 2010-04-12 | 1 | -93/+28 |
| | |||||
* | sysdb remove sldb_request_send, not used anymore | Simo Sorce | 2010-04-12 | 1 | -125/+0 |
| | |||||
* | sysdb: convert sysdb_asq_search | Simo Sorce | 2010-04-12 | 1 | -161/+39 |
| | |||||
* | sysdb: convert sysdb_store_custom | Simo Sorce | 2010-04-12 | 1 | -119/+49 |
| | |||||
* | sysdb: convert sysdb_search_custom | Simo Sorce | 2010-04-12 | 1 | -207/+85 |
| | |||||
* | sysdb: convert sysdb_cache_password | Simo Sorce | 2010-04-12 | 1 | -100/+26 |
| | |||||
* | sysdb: convert sysdb_mod/add/remove_group_member | Simo Sorce | 2010-04-12 | 1 | -199/+37 |
| | |||||
* | sysdb: convert sysdb_store/add(_basic)_group | Simo Sorce | 2010-04-12 | 1 | -267/+105 |
| | |||||
* | sysdb: convert sysdb_store/add(_basic)_user | Simo Sorce | 2010-04-12 | 1 | -336/+148 |
| |