Files
hydraldaplam/templates/lam.conf.php.tpl
2025-06-06 12:18:24 -05:00

21 lines
612 B
Smarty
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// templates/lam.conf.php.tpl
/**
* LDAP Account Manager (LAM) configuration
* We do NOT store any passwords here. We read them from env vars at runtime.
*/
$config->db['type'] = "none"; // No SQL DB for LAM (read-only mode)
$config->auth_mode = "session"; // LAMs own login screen (used for Hydras login)
$config->ldap_host = "ldap://127.0.0.1";
$config->ldap_port = 389;
$config->ldap_base = "dc=${LDAP_DOMAIN}";
$config->ldap_bind_id = "${LAM_BIND_DN}";
$config->ldap_bind_pass = "${LAM_BIND_PASSWORD}";
$config->language = "en";
$config->realm = "IdentityManagement";
?>