1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00
flarum_ynh/conf/ldap.sql.template
tituspijean 48388b9172 Fix sql template files and their variables
Notably, permission was hardcoded to "flarum" instead of app id.
2021-05-05 00:03:43 +02:00

16 lines
827 B
Text

INSERT INTO `settings` (`key`, `value`) VALUES
('tituspijean-auth-ldap.admin_dn', ''),
('tituspijean-auth-ldap.admin_password', ''),
('tituspijean-auth-ldap.base_dn', 'ou=users,dc=yunohost,dc=org'),
('tituspijean-auth-ldap.filter', '(&(objectClass=posixAccount)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))'),
('tituspijean-auth-ldap.follow_referrals', '0'),
('tituspijean-auth-ldap.hosts', 'localhost'),
('tituspijean-auth-ldap.method_name', 'YunoHost'),
('tituspijean-auth-ldap.onlyUse', '1'),
('tituspijean-auth-ldap.port', '389'),
('tituspijean-auth-ldap.search_user_fields', 'uid,mail'),
('tituspijean-auth-ldap.use_ssl', ''),
('tituspijean-auth-ldap.use_tls', ''),
('tituspijean-auth-ldap.user_mail', 'mail'),
('tituspijean-auth-ldap.user_username', 'uid')
ON DUPLICATE KEY UPDATE value = VALUES(value);