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'),
|
2021-05-05 00:03:43 +02:00
|
|
|
('tituspijean-auth-ldap.filter', '(&(objectClass=posixAccount)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))'),
|
2021-04-29 00:20:51 +02:00
|
|
|
('tituspijean-auth-ldap.follow_referrals', '0'),
|
|
|
|
('tituspijean-auth-ldap.hosts', 'localhost'),
|
|
|
|
('tituspijean-auth-ldap.method_name', 'YunoHost'),
|
2021-06-06 11:14:18 +02:00
|
|
|
('tituspijean-auth-ldap.onlyUse', '0'),
|
2021-04-29 00:20:51 +02:00
|
|
|
('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);
|