1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grr_ynh.git synced 2024-09-03 19:15:56 +02:00
grr_ynh/conf/grr_ldap_sso.sql

40 lines
1.2 KiB
MySQL
Raw Normal View History

2021-10-28 16:31:34 +02:00
BEGIN;
DELETE FROM grr_setting WHERE
(`name` = 'cacher_lien_deconnecter') OR
(`name` = 'company') OR
(`name` = 'grr_url') OR
(`name` = 'ldap_champ_email') OR
(`name` = 'ldap_champ_nom') OR
(`name` = 'ldap_champ_prenom') OR
(`name` = 'ldap_champ_recherche') OR
(`name` = 'ldap_statut') OR
(`name` = 'sso_ac_corr_profil_statut') OR
(`name` = 'sso_IsNotAllowedModify') OR
(`name` = 'sso_redirection_accueil_grr') OR
(`name` = 'sso_statut') OR
(`name` = 'url_disconnect') OR
(`name` = 'Url_portail_sso');
DELETE FROM grr_utilisateurs WHERE login = "ADMINISTRATEUR";
INSERT INTO grr_setting (`name`, `value`) VALUES
('cacher_lien_deconnecter', 'y'),
('company', 'Yunohost'),
2023-06-13 18:04:31 +02:00
('grr_url', 'https://__DOMAIN____PATH__'),
2021-10-28 16:31:34 +02:00
('ldap_champ_email', 'mail'),
('ldap_champ_nom', 'sn'),
('ldap_champ_prenom', 'givenname'),
('ldap_champ_recherche', 'uid'),
('ldap_statut', 'utilisateur'),
('sso_ac_corr_profil_statut', 'n'),
('sso_IsNotAllowedModify', 'y'),
('sso_redirection_accueil_grr', 'n'),
('sso_statut', 'http_utilisateur'),
('url_disconnect', ''),
('Url_portail_sso', '');
INSERT INTO grr_utilisateurs (`login`, `nom`, `statut`, `etat`, `source`) VALUES
('__ADMIN__', '__ADMIN__', 'administrateur', 'actif', 'ext');
COMMIT;