1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00
dolibarr_ynh/conf/ldap_user.sql
scith cc4c506757 Major rework
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)
2017-04-24 04:16:02 +02:00

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');