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)
12 lines
602 B
SQL
12 lines
602 B
SQL
REPLACE INTO ynh_const (`name`, `value`, `type`) VALUES
|
|
('LDAP_USER_DN', 'ou=users,dc=yunohost,dc=org', 'chaine'),
|
|
('LDAP_USER_OBJECT_CLASS', 'organizationalUnit,top', 'chaine'),
|
|
('LDAP_FILTER_CONNECTION', '&(objectClass=posixAccount)', 'chaine'),
|
|
('LDAP_FIELD_FULLNAME', 'cn', 'chaine'),
|
|
('LDAP_FIELD_LOGIN', 'uid', 'chaine'),
|
|
('LDAP_FIELD_NAME', 'sn', 'chaine'),
|
|
('LDAP_FIELD_FIRSTNAME', 'givenName', 'chaine'),
|
|
('LDAP_FIELD_MAIL', 'mail', 'chaine'),
|
|
('LDAP_KEY_USERS', 'uid', 'chaine'),
|
|
('LDAP_FIELD_PASSWORD_CRYPTED', 'userPassword', 'chaine'),
|
|
('LDAP_SYNCHRO_ACTIVE', 'ldap2dolibarr', 'chaine');
|