- Move ldap_config.json from ./data/ to backend/config/ - Update users.py to read LDAP config from backend/config/ldap_config.json - Create frontend/config/ directory for future frontend configs - DATA_DIR still used for database and runtime files in ./data/ - Update .gitignore to track backend/config/ but ignore runtime data dirs
2 lines
318 B
JSON
2 lines
318 B
JSON
{"ldap_enabled": true, "server_uri": "ldap://192.168.84.107:3890", "base_dn": "dc=example,dc=com", "user_template": "cn={username},ou=people,dc=example,dc=com", "groups_dn": "ou=groups", "use_tls": false, "role_mappings": [{"group": "inventory_admins", "role": "admin"}, {"group": "inventory_users", "role": "user"}]}
|