summaryrefslogtreecommitdiff
path: root/src/db/sysdb_upgrade.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-24AUTOFS: convert the existing autofs entries during a sysdb upgradeJakub Hrozek1-0/+134
2012-06-05Fix the 0.11 sysdb upgradeJakub Hrozek1-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
2012-05-31Ghost members - sysdb upgrade routineJan Zeleny1-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.
2012-05-03SYSDB: Handle upgrade script failures betterStephen Gallagher1-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.
2012-01-31SYSDB: index sudoUserJakub Hrozek1-0/+88
Most of the the searches in the Sudo responder include the sudoUser attribute. Indexing it will make the responder faster.
2012-01-27SYSDB: Add indexes for servicePort and serviceProtocolStephen Gallagher1-0/+92
2011-11-21Fix FTBFS related to -Werror=format-securityKrzysztof Klimonda1-1/+1
2011-11-02SYSDB: add index for nameAliasStephen Gallagher1-0/+86
2011-10-07SYSDB: New source file for sysdb upgrade routinesStephen Gallagher1-0/+896