Files
computer-playbook/roles/web-app-friendica/templates/ldapauth.config.php.j2
kevinveenbirkenbachandClaude Opus 4.8 8390cc4ce4 test(comments): lint .j2 templates and add file-level nocheck opt-out
Drop trap/warning from the exception markers; lint .j2 by stripping the suffix to the underlying language plus Jinja {# #} comments; add a head-level '# nocheck: comments-valid' opt-out via is_suppressed_in_head, documented in suppression.md; strip narration comments from friendica/nextcloud templates and opt the vendored discourse app.yml out with the new marker.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 12:24:18 +02:00

25 lines
609 B
Django/Jinja

<?php
// Source: https://git.friendi.ca/friendica/friendica-addons/src/branch/develop/ldapauth
return [
'ldapauth' => [
'ldap_server' => '{{ LDAP.SERVER.URI }}',
'ldap_binddn' => '{{ LDAP.DN.ADMINISTRATOR.DATA }}',
'ldap_bindpw' => '{{ LDAP.BIND_CREDENTIAL }}',
'ldap_searchdn' => '{{ LDAP.DN.OU.USERS }}',
'ldap_userattr' => '{{ LDAP.USER.ATTRIBUTES.ID }}',
'ldap_group' =>'',
'ldap_autocreateaccount' => 'true',
'ldap_autocreateaccount_emailattribute' => '{{ LDAP.USER.ATTRIBUTES.MAIL }}',
'ldap_autocreateaccount_nameattribute' => '{{ LDAP.USER.ATTRIBUTES.FIRSTNAME }}',
],
];