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

17 lines
826 B
MySQL
Raw Normal View History

2021-04-29 00:20:51 +02:00
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=flarum.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'),
2021-05-01 15:44:21 +02:00
('tituspijean-auth-ldap.user_username', 'uid')
2021-05-01 21:06:47 +02:00
ON DUPLICATE KEY UPDATE value = VALUES(value);