summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_upgrade.c
Commit message (Collapse)AuthorAgeFilesLines
* Uninitialized pointer readMichal Zidek2012-11-281-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1673
* Handle conversion to fully qualified usernamesSimo Sorce2012-11-191-0/+88
| | | | | | | In subdomains we have to use fully qualified usernames. Unfortunately we have no other good option than simply removing caches for users of subdomains. This is because the memberof plugin does not support the rename operation.
* Simplify writing db update functionsSimo Sorce2012-11-191-421/+192
| | | | | | Add functions to automate setting versions numbers in the db, also decrease chances of error in copying and pasting code, by setting the version number only once when we commence the upgrade.
* SYSDB: Do not touch the member attribute during conversion to ghost usersJakub Hrozek2012-11-151-11/+0
| | | | | | | | | We attempted to delete the member attributes of groups that contained a particular user during the sysdb upgrade, but obviously, this cannot work for nested groups as the member attribute is present for direct parents only. As a result, we were getting failures during the upgrade. https://fedorahosted.org/sssd/ticket/1631
* SSH: Expire hosts in known_hostsJan Cholasta2012-10-051-0/+89
|
* AUTOFS: convert the existing autofs entries during a sysdb upgradeJakub Hrozek2012-09-241-0/+134
|
* 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-311-0/+147
| | | | | | | | | | | | 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.
* 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: index sudoUserJakub Hrozek2012-01-311-0/+88
| | | | | Most of the the searches in the Sudo responder include the sudoUser attribute. Indexing it will make the responder faster.
* SYSDB: Add indexes for servicePort and serviceProtocolStephen Gallagher2012-01-271-0/+92
|
* Fix FTBFS related to -Werror=format-securityKrzysztof Klimonda2011-11-211-1/+1
|
* SYSDB: add index for nameAliasStephen Gallagher2011-11-021-0/+86
|
* SYSDB: New source file for sysdb upgrade routinesStephen Gallagher2011-10-071-0/+896