1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/xbackbone_ynh.git synced 2024-09-03 19:15:53 +02:00

Fix to allow LDAP users to sign in

This commit is contained in:
spaced 2024-03-18 18:09:56 -07:00
parent 50872bd2d8
commit ea84f91d3b
No known key found for this signature in database

View file

@ -17,10 +17,10 @@ return array(
'ldap' => array( 'ldap' => array(
'enabled' => true, 'enabled' => true,
'schema' => 'ldap', 'schema' => 'ldap',
'host' => 'ldap://127.0.0.1', 'host' => '127.0.0.1',
'port' => 389, 'port' => 389,
'base_domain' => 'dc=yunohost,dc=org', 'base_domain' => 'dc=yunohost,dc=org',
'search_filter' => '(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))', 'search_filter' => '(&(|(objectclass=posixAccount))(uid=????)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))',
'user_domain' => 'ou=Users', 'user_domain' => 'ou=Users',
'rdn_attribute' => 'uid=', 'rdn_attribute' => 'uid=',
), ),