summaryrefslogtreecommitdiffstats
path: root/src/db
Commit message (Collapse)AuthorAgeFilesLines
* SYSDB: Reduce noise level of debug messages in lookupsStephen Gallagher2012-06-121-6/+8
|
* IPA subdomains - ask for information about master domainJan Zeleny2012-06-102-0/+173
| | | | | | | The query is performed only if there is missing information in the cache. That means this should be done only once after restart when cache doesn't exist. All subsequent requests for subdomains won't include the request for master domain.
* Fix the 0.11 sysdb upgradeJakub Hrozek2012-06-051-26/+26
| | | | | The block that upgraded the version was at a wrong indentation level, so it never ran if there were no fake users to convert
* Ghost members - sysdb upgrade routineJan Zeleny2012-05-313-1/+157
| | | | | | | | | | | | It is remotely possible to have sysdb in an inconsistent state that might need upgrade. Consider scenario when user asks for group information. Some fake users are added as a part of this operation. Before users can be fully resolved and stored properly, SSSD is shut down and upgrade is performed. In this case we need to go over all fake user records (uidNumber=0) and replace each of them with ghost record in all group objects that are stated in its memberof attribute.
* Ghost members - modifications in sysdbJan Zeleny2012-05-312-80/+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.
* Ghost members - add the ghost attribute to sysdbJan Zeleny2012-05-311-0/+2
|
* SYSDB: Handle user and group renames betterJakub Hrozek2012-05-111-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.
* sysdb: return proper error code from sysdb_sudo_purge_allJakub Hrozek2012-05-101-1/+1
|
* SYSDB: Add better error logging to sysdb_set_entry_attr()Stephen Gallagher2012-05-101-2/+8
|
* Fix typo in debug messagePavel Březina2012-05-071-1/+1
|
* LDAP: Map the user's primaryGroupIDStephen Gallagher2012-05-031-0/+1
|
* LDAP: Enable looking up ID-mapped users by nameStephen Gallagher2012-05-031-0/+1
|
* SYSDB: Add sysdb routines for ID-mappingStephen Gallagher2012-05-032-0/+346
|
* LDAP: Add objectSID config optionStephen Gallagher2012-05-031-0/+1
|
* SYSDB: Handle upgrade script failures betterStephen Gallagher2012-05-031-4/+13
| | | | | | There was a bug in finish_upgrade() where it would return EOK if it succeeded in canceling the transaction due to an error. We should instead be returning the original error.
* SYSDB: check return valueJakub Hrozek2012-05-021-2/+2
| | | | | In addition to testing the number of elements, also check the return value of sysdb_attrs_get_el.
* SYSDB: return EOK if empty message is passed into get_rm_msgJakub Hrozek2012-05-021-0/+1
| | | | | If the code never entered the loop in get_rm_message, we would return arbitrary return value.
* SUDO: Return ret, not EOKJakub Hrozek2012-05-021-1/+1
| | | | | | | This patch fixes bad refactoring - the function used to return value directly on error and EOK as the last statement. If was then converted into using goto label, but the last statement was still returning EOK instead of the value it should.
* Sysdb routines for subdomainsJan Zeleny2012-04-243-81/+617
|
* Removed unused function sysdb_attrs_users_from_ldb_vals()Jan Zeleny2012-04-182-51/+0
|
* Add sysdb_set_service_attr and sysdb_set_autofsmap_attrJakub Hrozek2012-04-184-0/+68
|
* Save alias of the primary name, tooJakub Hrozek2012-03-211-3/+9
|
* SYSDB: Save only lowercased aliases in case-insensitive domainsStephen Gallagher2012-03-161-19/+28
| | | | https://fedorahosted.org/sssd/ticket/1253
* Search netgroups by alias, tooJakub Hrozek2012-03-062-3/+5
| | | | https://fedorahosted.org/sssd/ticket/1228
* Remove sysdb_get_ctx_from_list()Sumit Bose2012-02-292-33/+0
|
* Keep sysdb context in domain info structSumit Bose2012-02-292-0/+89
|
* SSH: Add more debugging messagesJan Cholasta2012-02-271-4/+11
|
* SSH: Save SSH host name aliasesJan Cholasta2012-02-262-11/+83
|
* Delete missing attributes from netgroups to be storedJan Zeleny2012-02-242-0/+16
| | | | https://fedorahosted.org/sssd/ticket/1136
* IPA hosts refactoringJan Zeleny2012-02-241-0/+4
|
* Don't give memory context in confdb where not neededJan Zeleny2012-02-211-3/+3
|
* Redesign purging of the sudo cachePavel Březina2012-02-172-75/+315
| | | | https://fedorahosted.org/sssd/ticket/1173
* Fix uninitialized in_transactionStephen Gallagher2012-02-131-1/+1
| | | | Coverity #12521 and #12491
* Improve debug messages in sysdb_sudo_check_time()Pavel Březina2012-02-101-4/+16
|
* IPA: Add host info handlerJan Cholasta2012-02-072-0/+159
|
* LDAP: Add support for SSH user public keysJan Cholasta2012-02-071-0/+2
|
* SUDO Integration - sysdb_sudo_check_time() fixPavel Březina2012-02-061-6/+8
|
* Added some SELinux-related sysdb routinesJan Zeleny2012-02-063-1/+545
|
* Renamed some sysdb constants for their wider usageJan Zeleny2012-02-061-5/+3
|
* AUTOFS: sysdb interfaceJakub Hrozek2012-02-054-7/+520
|
* SYSDB: Remove code duplication between member_add and member_delJakub Hrozek2012-02-051-39/+14
|
* Fixes for sudo_timedJakub Hrozek2012-02-041-23/+40
| | | | https://fedorahosted.org/sssd/ticket/1116
* SUDO Integration - responder 'sudo_timed' optionPavel Březina2012-02-042-37/+132
| | | | https://fedorahosted.org/sssd/ticket/1116
* SYSDB: index sudoUserJakub Hrozek2012-01-313-1/+99
| | | | | Most of the the searches in the Sudo responder include the sudoUser attribute. Indexing it will make the responder faster.
* SYSDB: Add sysdb_attrs_get_uint16_tStephen Gallagher2012-01-312-0/+28
|
* SYSDB: extend sysdb_store_service() to accept additional attributesStephen Gallagher2012-01-314-17/+41
|
* SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina2012-01-272-46/+68
| | | | https://fedorahosted.org/sssd/ticket/1143
* SYSDB: add support for enumerating servicesStephen Gallagher2012-01-272-0/+55
|
* SYSDB: Add indexes for servicePort and serviceProtocolStephen Gallagher2012-01-273-2/+104
|
* SYSDB: Add sysdb routines for manipulating service entriesStephen Gallagher2012-01-272-0/+773
|