Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SYSDB: Make sysdb_attrs_get_el_int() public | Stephen Gallagher | 2012-08-21 | 2 | -7/+9 |
| | | | | Also rename it to sysdb_attrs_get_el_ext() | ||||
* | Fix FTBFS related to -Werror=format-security | Krzysztof Klimonda | 2011-11-21 | 2 | -2/+2 |
| | |||||
* | SYSDB: Update sysdb version to latest | Stephen Gallagher | 2011-10-31 | 2 | -1/+350 |
| | | | | | Includes several index updates necessary for major performance improvements. | ||||
* | Sanitize DN in sysdb_get_direct_parents | Jakub Hrozek | 2011-10-17 | 1 | -1/+7 |
| | |||||
* | Fix typo in sysdb_get_direct_parents | Jakub Hrozek | 2011-10-06 | 1 | -1/+1 |
| | |||||
* | Use explicit base 10 for converting strings to integers | Jakub Hrozek | 2011-10-03 | 2 | -2/+2 |
| | | | | https://fedorahosted.org/sssd/ticket/1013 | ||||
* | Return users and groups based on alias | Jakub Hrozek | 2011-10-03 | 2 | -6/+7 |
| | | | | https://fedorahosted.org/sssd/ticket/926 | ||||
* | Add a sysdb_get_direct_parents function | Jakub Hrozek | 2011-10-03 | 2 | -0/+108 |
| | |||||
* | Add sysdb interface to get name aliases | Jakub Hrozek | 2011-10-03 | 2 | -1/+64 |
| | |||||
* | Return the first value of name if the multivalued name attribute does not ↵ | Jakub Hrozek | 2011-08-25 | 1 | -3/+4 |
| | | | | | | match RDN https://fedorahosted.org/sssd/ticket/926 | ||||
* | Clear up -Wunused-but-set-variable warnings | Stephen Gallagher | 2011-06-02 | 1 | -0/+3 |
| | |||||
* | Non-posix group processing - sysdb changes | Jan Zeleny | 2011-06-02 | 2 | -19/+26 |
| | |||||
* | Added sysdb_attrs_get_bool() function | Jan Zeleny | 2011-06-02 | 2 | -0/+24 |
| | |||||
* | Check result of talloc_strdup() properly | Stephen Gallagher | 2011-03-23 | 1 | -1/+1 |
| | | | | Coverity 10737 | ||||
* | Don't crash on error if _name parameter unspecified | Stephen Gallagher | 2011-03-23 | 1 | -2/+2 |
| | | | | Coverity 10738 | ||||
* | Don't crash if we get a multivalued name without an origDN | Stephen Gallagher | 2011-03-23 | 1 | -1/+3 |
| | | | | Coverity 10740 and 10739 | ||||
* | Add sysdb_attrs_primary_name_list() routine | Stephen Gallagher | 2011-03-23 | 2 | -0/+59 |
| | | | | | | This routine will replace the use of sysdb_attrs_to_list() for any case where we're trying to get the name of the entry. It's a necessary precaution in case the name is multi-valued. | ||||
* | Add originalDN to fake groups | Jakub Hrozek | 2011-03-23 | 2 | -2/+9 |
| | |||||
* | Add sysdb_attrs_primary_name() | Stephen Gallagher | 2011-03-23 | 2 | -0/+106 |
| | | | | | | | This function will check a sysdb_attrs struct for the primary name of the entity it represents. If there are multiple entries, it will pick the one that matches the RDN. If none match, it will throw an error. | ||||
* | Create sysdb_get_rdn() function | Stephen Gallagher | 2011-03-23 | 2 | -13/+50 |
| | | | | | This function takes a DN formatted string and returns the RDN value from it. | ||||
* | Check LDB_MODULES_PATH for sysdb | Sumit Bose | 2011-03-11 | 1 | -0/+9 |
| | |||||
* | Introduce sysdb_ldb_connect() | Sumit Bose | 2011-03-11 | 1 | -45/+42 |
| | |||||
* | Make 'make check' look nice again | Sumit Bose | 2011-03-11 | 1 | -8/+0 |
| | | | | | | | | | With current libldb releases 'make check' will print a lot of 'unable to dlopen' messages although the test will succeed. This patch place the memberof module into a directory of its own to avoid these messages. Additionally this patch introduces TESTS_ENVIRONMENT which allows us to remove the SYSDB_TEST preprocessor definition. | ||||
* | 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 | 2 | -0/+125 |
| | | | | | | | | 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 | ||||
* | Add authorizedService support | Stephen Gallagher | 2010-12-21 | 1 | -0/+2 |
| | | | | https://fedorahosted.org/sssd/ticket/670 | ||||
* | Add sysdb_has_enumerated and sysdb_set_enumerated helper functions | Stephen Gallagher | 2010-12-20 | 2 | -0/+152 |
| | | | | Includes a unit test | ||||
* | Fix const cast issue with sysdb_attrs_users_from_str_list | Stephen Gallagher | 2010-11-15 | 2 | -2/+2 |
| | |||||
* | Fix const cast warning for sysdb_update_members | Stephen Gallagher | 2010-11-15 | 2 | -4/+4 |
| | |||||
* | Sanitize sysdb DN helpers | Stephen Gallagher | 2010-11-15 | 1 | -7/+83 |
| | |||||
* | Sanitize search filters for the sysdb | Stephen Gallagher | 2010-11-15 | 1 | -6/+39 |
| | |||||
* | Add sysdb utility function for sanitizing DN | Stephen Gallagher | 2010-11-15 | 2 | -0/+27 |
| | |||||
* | Always use uint32_t for UID/GID numbers | Jakub Hrozek | 2010-10-26 | 2 | -9/+9 |
| | |||||
* | Modify sysdb_[add|remove]_group_member to accept users and groups | Stephen Gallagher | 2010-10-18 | 2 | -39/+91 |
| | | | | | | | | 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 | 2 | -0/+65 |
| | |||||
* | sysdb interface for adding incomplete groups | Jakub Hrozek | 2010-10-15 | 2 | -0/+49 |
| | | | | Useful for optimizing the initgroups operation. | ||||
* | Add sysdb_attrs_get_ulong utility function | Jakub Hrozek | 2010-10-15 | 2 | -0/+29 |
| | |||||
* | Implement netgroup support for LDAP provider | Sumit Bose | 2010-10-13 | 1 | -0/+3 |
| | |||||
* | Also return member groups to the client | Sumit Bose | 2010-10-13 | 2 | -60/+83 |
| | |||||
* | Add sysdb_netgroup_base_dn() | Sumit Bose | 2010-10-13 | 2 | -0/+8 |
| | |||||
* | 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 | 4 | -2/+802 |
| | |||||
* | Fix sysdb_attrs_to_list | Jakub Hrozek | 2010-09-22 | 1 | -2/+2 |
| | |||||
* | Fix sysdb_group_dn_name | Jakub Hrozek | 2010-09-22 | 1 | -1/+8 |
| | |||||
* | Initgroups on a non-cached user should go to the data provider | Stephen Gallagher | 2010-09-22 | 1 | -1/+11 |
| | | | | | | | We were accidentally returning an error when sysdb_getpwnam() returned zero results internally in sysdb_initgroups(). The correct behavior here is to return EOK and a result object with zero entries. | ||||
* | 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 | 2 | -3/+4 |
| | | | | Use a #define instead of hardcoded string | ||||
* | Dead assignments cleanup in various places in SSSD | Jan Zeleny | 2010-09-08 | 1 | -0/+3 |
| | | | | | | Three assignments deleted, two return code inspection added. Also found and fixed one critical bug caused by dead assignment. Ticket: #590 |