mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
cc4c506757
Major rework of the app: - Update to latest sources - Auto-install - Install, upgrade, remove, backup, restore scripts - Readme - Sets up LDAP (still a bug to solve with the passwords preventing LDAP auth) - Sync YNH users with Dolibarr users and/or members - Check_process (broken because of CURL?) - Hooks (broken)
15 lines
766 B
SQL
15 lines
766 B
SQL
REPLACE INTO ynh_const (`name`, `value`, `type`) VALUES
|
|
('LDAP_MEMBER_DN', 'ou=users,dc=yunohost,dc=org', 'chaine'),
|
|
('LDAP_MEMBER_FIELD_FULLNAME', 'cn', 'chaine'),
|
|
('LDAP_MEMBER_FIELD_FIRSTNAME', 'givenName', 'chaine'),
|
|
('LDAP_MEMBER_FIELD_NAME', 'sn', 'chaine'),
|
|
('LDAP_MEMBER_FIELD_LOGIN', 'uid', 'chaine'),
|
|
('LDAP_MEMBER_FIELD_MAIL', 'mail', 'chaine'),
|
|
('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED', 'userPassword', 'chaine'),
|
|
('LDAP_MEMBER_FILTER', '&(objectClass=posixAccount)', 'chaine'),
|
|
('LDAP_MEMBER_OBJECT_CLASS', 'organizationalUnit,top', 'chaine'),
|
|
('LDAP_MEMBER_FIELD_MAIL', 'mail', 'chaine'),
|
|
('LDAP_MEMBER_ACTIVE', 'ldap2dolibarr', 'chaine');
|
|
|
|
REPLACE INTO ynh_adherent_type (`rowid`, `libelle`, `subscription`, `vote`) VALUES
|
|
('1', 'yunohost', '0', '0');
|