Shadow_8472
08/20/2026, 9:09 AMlldap-ldap-user-pass is 128 characters of mixed-case alphanumeric with mixed symbols, but a password of "changeme" also seems to throw the same error.
I have JSON files for two users and four groups in /bootstrap/user-configs and /bootstrap/group-configs, respectively. (Both passwords here are set to "changeme".) /data used to generate with lldap_config.toml and another file when I wiped /data (users.yaml, I think), but the second one doesn't seem to appear anymore when I reset.Answer Overflow
08/20/2026, 9:09 AMShadow_8472
08/20/2026, 9:15 AM$ cat lldap.container lldap-postgresql.container
#lldap.container
[Unit]
Description=LLDAP network login container
Requires=lldap-postgresql.service
[Container]
ContainerName=LLDAP
Image=docker.io/lldap/lldap:stable-debian
#Environment=KRB5_REALM=<PRIVATE>.LAN
#Environment=KRB5_KDC=localhost
Environment=UID=1000
Environment=GID=1000
Environment=LLDAP_LDAP_BASE_DN=dc=<private>,dc=lan
Environment=LLDAP_DATABASE_URL=postgres://lldapuser:lldappass@lldap-postgresql/lldap
#My AI agent suggested adding ?sslmode=disable
Environment=LLDAP_LDAP_USER_EMAIL=customadmin@<private>.lan #Doesn't exist
#Bootstrapping.
Secret=lldap-ldap-user-pass,type=env,target=LLDAP_ADMIN_PASSWORD
Environment=LLDAP_URL=http://localhost:17170
Environment=LLDAP_ADMIN_USERNAME=CustomAdmin
#Environment=LLDAP_ADMIN_PASSWORD=changeme
#LDAP traffic from Caddy
PublishPort=38900:3890
Secret=lldap-jwt-secret,type=env,target=LLDAP_JWT_SECRET
Secret=lldap-key-seed,type=env,target=LLDAP_KEY_SEED
Secret=lldap-ldap-user-pass,type=env,target=LLDAP_LDAP_USER_PASS
#Secret=kerberos-password,type=env,target=KRB5_PASS
AutoUpdate=registry
Network=homelab-services.network
Network=lldap.network
Volume=lldap-data:/data
Volume=/home/podmanuser/Network/lldap/bootstrap:/bootstrap:ro,Z
[Service]
Restart=on-failure
[Install]
# Start by default on boot
WantedBy=default.target
#lldap-postgresql.container #<---START OF 2ND FILE
[Unit]
Description=LLDAP PostgreSQL container
Requires=lldap-postgresql-volume.service
#After=local-fs.target
[Container]
ContainerName=lldap-postgresql
Image=docker.io/library/postgres:latest
#Environment=KRB5_REALM=<PRIVATE>.LAN
#Environment=KRB5_KDC=localhost
Environment=POSTGRES_DB=lldap
Environment=POSTGRES_PASSWORD=lldappass
Environment=POSTGRES_USER=lldapuser
AutoUpdate=registry
#Volume=krb5kdc-data:/var/lib/krb5kdc
Volume=lldap-postgresql.volume:/var/lib/postgresql:Z
Network=lldap.network
[Service]
Restart=on-failure
[Install]
# Start by default on boot
WantedBy=default.targetShadow_8472
08/20/2026, 7:02 PMLLDAP_ADMIN_PASSWORD and LLDAP_LDAP_USER_PASS at it:
Secret=lldap-ldap-user-pass-changeme,type=env,target=LLDAP_ADMIN_PASSWORD
Secret=lldap-ldap-user-pass-changeme,type=env,target=LLDAP_LDAP_USER_PASS
From what I understand of the other Podman troubleshooting thread, this should address a problem, but it doesn't address my problem; I'm getting the same error:
sh
root@48257bb1a5a6:/app# /bootstrap/bootstrap.sh
main()
check_install_dependencies()
check_required_env_vars()
check_configs_validity()
auth()
response=...
--Input Variables:
----url=http://localhost:17170
----admin_username=CustomAdmin
----admin_password=changeme
--Output Variable
----response=`Authentication error for user "customadmin"`
TOKEN=...
parse error: Invalid numeric literal at line 1, column 16
The line:
response="$(curl --silent --request POST \
--url "$url/auth/simple/login" \
--header 'Content-Type: application/json' \
--data "$(jo -- username="$admin_username" password="$admin_password")")"
is failing to log in, despite having a "normal" username/password.Shadow_8472
08/20/2026, 7:02 PMShadow_8472
08/21/2026, 8:23 AMPrepare your bootstrapping config as for the docker-compose case in ~/containers/lldap.
- bootstrap.sh is confirmed loading .JSON files
- Bootstrap environment variables/secrets are being loaded by bootstrap.sh
- Login credentials always break, crashing the script when going for a token.Shadow_8472
08/21/2026, 10:12 AMEnvironment=LLDAP_Database_url=postgres://lldapuser:lldappass@lldap-postgresql/lldap
Environment=LLDAP_DATABASE_URL=postgres://lldapuser:lldappass@lldap-postgresql/lldapAnswer Overflow
08/24/2026, 11:33 PM