NetKnights-GmbH / privacyidea-appliance

two-factor authentication system. This is a setup tool for easy system setup.
GNU Affero General Public License v3.0
4 stars 4 forks source link

Check for SQLResolver and warn when setting up redundancy #103

Open plettich opened 2 years ago

plettich commented 2 years ago

When setting up redundancy, the remote MySQL user/password is not changed and thus different to the local MySQL user/password (since it is generated during installation of privacyidea-apache2). If a MySQL resolver exists which is connected to the PI-Database, the synced resolver config will contain the DB-password of the local user which fails on the remote machine. We should issue a warning during redundancy setup when a SQL-Resolver is detected.