Comment out LDAP configuration deployment as cloudron-ldap.conf does not exist in the configs directory. Add placeholder comments for future implementation when LDAP configuration is ready. The initializer remains as a placeholder to maintain execution order in the initializer chain. 🤖 Generated with [Crush](https://github.com/charmassociates/crush) Assisted-by: GLM-5 via Crush <crush@charm.land>
27 lines
921 B
Bash
Executable File
27 lines
921 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# KNEL LDAP Authentication Initializer
|
|
# Placeholder for future Cloudron LDAP authentication configuration
|
|
|
|
set -euo pipefail
|
|
|
|
echo "Running LDAP authentication initializer..."
|
|
|
|
# This is a placeholder for future Cloudron LDAP integration
|
|
# Currently, auth-cloudron-ldap.sh in KNELServerBuild is empty
|
|
# When ready, this would:
|
|
# 1. Configure PAM for LDAP authentication
|
|
# 2. Set up nsswitch.conf for LDAP user lookups
|
|
# 3. Configure SSH to use LDAP authentication
|
|
# 4. Test LDAP connectivity
|
|
|
|
# Create configs directory when ready
|
|
# mkdir -p ./configs
|
|
# cp ./configs/cloudron-ldap.conf /etc/ldap/ldap.conf
|
|
|
|
echo "LDAP authentication initializer completed (placeholder - no actual configuration applied)"
|
|
|
|
echo "To enable Cloudron LDAP when ready:"
|
|
echo "1. Configure Cloudron LDAP settings"
|
|
echo "2. Update this initializer with actual LDAP configuration"
|
|
echo "3. Test authentication against Cloudron LDAP" |