summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
Commit message (Collapse)AuthorAgeFilesLines
* SYSDB: Update sysdb version to latestsssd-1.5.1-40.el5Stephen Gallagher2011-11-021-0/+354
| | | | | Includes several index updates necessary for major performance improvements.
* Use explicit base 10 for converting strings to integersJakub Hrozek2011-10-261-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1013
* Better handling for aliasesJakub Hrozek2011-10-261-1/+59
| | | | | | | | | | | | | | Add sysdb interface to get name aliases Add a sysdb_get_direct_parents function Store name aliases for users, groups Return users and groups based on alias https://fedorahosted.org/sssd/ticket/926 Fix typo in sysdb_get_direct_parents
* Return the first value of name if the multivalued name attribute does not ↵Jakub Hrozek2011-10-261-3/+4
| | | | | | match RDN https://fedorahosted.org/sssd/ticket/926
* Handle non-POSIX groups in nestingJan Zeleny2011-10-261-0/+22
| | | | | | | | Added sysdb_attrs_get_bool() function Non-posix group processing - sysdb changes Non-posix group processing - ldap provider and nss responder
* Clear up -Wunused-but-set-variable warningsStephen Gallagher2011-10-261-0/+3
|
* Fix potential crashes in sysdb_attrs_primary_nameStephen Gallagher2011-03-231-4/+6
| | | | | | | | | | | | | | Don't crash if we get a multivalued name without an origDN Coverity 10740 and 10739 Don't crash on error if _name parameter unspecified Coverity 10738 Check result of talloc_strdup() properly Coverity 10737
* Add sysdb_attrs_primary_name_list() routineStephen Gallagher2011-03-231-0/+53
| | | | | | 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.
* Ignore alternate names for users and groupsStephen Gallagher2011-03-231-13/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create sysdb_get_rdn() function This function takes a DN formatted string and returns the RDN value from it. Add sysdb_attrs_primary_name() 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. Ignore aliases for users Users in ldap with multiple values for their username attribute will now be compared against the RDN of the entry to determine the "primary" username. We will save only this primary name to the ldb cache. RFC2307: Ignore aliases for groups Groups in ldap with multiple values for their groupname attribute will now be compared against the RDN of the entry to determine the "primary" group name. We will save only this primary group name to the ldb cache. RFC2307bis: Ignore aliases for groups Groups in ldap with multiple values for their groupname attribute will now be compared against the RDN of the entry to determine the "primary" group name. We will save only this primary group name to the ldb cache.
* Add sysdb_has_enumerated and sysdb_set_enumerated helper functionsStephen Gallagher2010-12-201-0/+142
| | | | Includes a unit test
* Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher2010-11-151-1/+1
|
* Sanitize sysdb DN helpersStephen Gallagher2010-11-151-7/+83
|
* Add sysdb utility function for sanitizing DNStephen Gallagher2010-11-151-0/+24
|
* Always use uint32_t for UID/GID numbersJakub Hrozek2010-10-261-7/+7
|
* Add sysdb_attrs_get_ulong utility functionJakub Hrozek2010-10-151-0/+27
|
* Add sysdb_netgroup_base_dn()Sumit Bose2010-10-131-0/+6
|
* Netgroups sysdb APIStephen Gallagher2010-10-131-0/+6
|
* Fix sysdb_attrs_to_listJakub Hrozek2010-09-221-2/+2
|
* Fix sysdb_group_dn_nameJakub Hrozek2010-09-221-1/+8
|
* Dead assignments cleanup in various places in SSSDJan Zeleny2010-09-081-0/+3
| | | | | | Three assignments deleted, two return code inspection added. Also found and fixed one critical bug caused by dead assignment. Ticket: #590
* Add sysdb_group_dn_name utility functionStephen Gallagher2010-08-031-0/+22
|
* Add sysdb_attrs_to_list() utility functionStephen Gallagher2010-08-031-0/+75
|
* Add sysdb_attrs_get_string_array()Sumit Bose2010-06-021-0/+33
|
* Add ldap_access_filter optionStephen Gallagher2010-05-271-0/+10
| | | | | | | | | | This option (applicable to access_provider=ldap) allows the admin to set an additional LDAP search filter that must match in order for a user to be granted access to the system. Common examples for this would be limiting access to users by in a particular group, for example: ldap_access_filter = memberOf=cn=access_group,ou=Groups,dc=example,dc=com
* sysydb: Finally stop using a common event contextSimo Sorce2010-04-121-19/+7
| | | | This commit completes the migration to a synchronous sysdb
* sysdb: remove remaining traces of sysdb_handleSimo Sorce2010-04-121-193/+0
|
* sysdb: remove async transactionsSimo Sorce2010-04-121-138/+0
| | | | not used anymore
* sysdb: add synchronous transaction functionsSimo Sorce2010-04-121-0/+32
|
* sysdb: start conversion from async to syncSimo Sorce2010-04-121-0/+4
| | | | allow nesting during transition
* Add forgotten \n in DEBUG statementsMartin Nagy2010-03-041-4/+4
| | | | | | Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too.
* Add --with-test-dir option to configureStephen Gallagher2010-03-041-2/+2
| | | | | | All 'make check' tests will chdir() into this directory before running the suite. This provides the option of having temporary files generated in a tmpfs or ramdisk
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+1883
Also update BUILD.txt