Charlotte T.
10/07/2025, 10:18 AMlldap.container for bootstraping
Secret=lldap-ldap-user-pass,type=env,target=LLDAP_ADMIN_PASSWORD
Environment=LLDAP_URL=http://localhost:17170
Environment=LLDAP_ADMIN_USERNAME=charlotte
Environment=LLDAP_ADMIN_PASSWORD_FILE=/run/secrets/lldap-ldap-user-pass
Volume=%h/containers/lldap:/bootstrap:ro,Z
The journalctl log isn't very verbose
Oct 07 12:10:41 ambassador lldap[1353508]: Error: statfs /root/containers/lldap: no such file or directory
Oct 07 12:10:41 ambassador podman[1353508]: 2025-10-07 12:10:41.126308099 +0200 CEST m=+0.077645171 image pull ef027edd800aa3e441c957f8bd39fa8dd472a1021e74c235e43b7c0b28d119be docker.io/lldap/lldap:stable-debian
Oct 07 12:10:41 ambassador systemd[1]: lldap.service: Main process exited, code=exited, status=125/n/a
Do you have a solution,Answer Overflow
10/07/2025, 10:18 AMCharlotte T.
10/07/2025, 10:20 AMKumpelinus
10/07/2025, 10:21 AMVolume=%h/containers/lldap:/bootstrap:ro,Z
does /root/containers/lldap exist on the host?Charlotte T.
10/07/2025, 10:22 AMKumpelinus
10/07/2025, 10:22 AMCharlotte T.
10/07/2025, 10:22 AMCharlotte T.
10/07/2025, 10:22 AMKumpelinus
10/07/2025, 10:23 AMKumpelinus
10/07/2025, 10:23 AMPrepare your bootstrapping config as for the docker-compose case in ~/containers/lldap.
which is basically this stepCharlotte T.
10/07/2025, 10:24 AMCharlotte T.
10/07/2025, 10:24 AMCharlotte T.
10/07/2025, 10:26 AMKumpelinus
10/07/2025, 10:28 AMKumpelinus
10/07/2025, 10:28 AMKumpelinus
10/07/2025, 10:31 AMbash
$ podman exec -ti lldap bash
# In there, run this:
$ export LLDAP_URL=http://localhost:17170
$ export LLDAP_ADMIN_USERNAME=admin
$ export LLDAP_ADMIN_PASSWORD=changeme
$ export USER_CONFIGS_DIR=/bootstrap/user-configs
$ export GROUP_CONFIGS_DIR=/bootstrap/group-configs
$ export USER_SCHEMAS_DIR=/bootstrap/user-schemas
$ export GROUP_SCHEMAS_DIR=/bootstrap/group-schemas
$ export DO_CLEANUP=false
$ ./bootstrap.shKumpelinus
10/07/2025, 10:31 AMCharlotte T.
10/07/2025, 10:39 AMCharlotte T.
10/07/2025, 10:40 AMKumpelinus
10/07/2025, 10:40 AMCharlotte T.
10/07/2025, 10:51 AMCharlotte T.
10/07/2025, 10:52 AMroot@ff1b1b78ec55:/app# ./bootstrap.sh
parse error: Invalid numeric literal at line 1, column 16Charlotte T.
10/07/2025, 10:52 AMCharlotte T.
10/07/2025, 10:52 AM$ tac bootstrap.sh
#!/usr/bin/env bashCharlotte T.
10/07/2025, 10:53 AMKumpelinus
10/07/2025, 10:53 AMCharlotte T.
10/07/2025, 10:54 AMCharlotte T.
10/07/2025, 10:55 AMCharlotte T.
10/07/2025, 10:56 AMCharlotte T.
10/07/2025, 10:56 AMKumpelinus
10/07/2025, 10:58 AMCharlotte T.
10/07/2025, 10:59 AMKumpelinus
10/07/2025, 11:00 AMCharlotte T.
10/07/2025, 11:01 AMKumpelinus
10/07/2025, 11:01 AMCharlotte T.
10/07/2025, 11:01 AMKumpelinus
10/07/2025, 11:01 AMCharlotte T.
10/07/2025, 11:02 AMCharlotte T.
10/07/2025, 11:04 AM$ env
LLDAP_ADMIN_USERNAME=********
LLDAP_LDAP_USER_EMAIL=me@faefox.dev
PWD=/app
LLDAP_LDAP_USER_PASS_FILE=/run/secrets/lldap-ldap-user-pass
container=podman
HOME=/root
GOSU_VERSION=1.17
TERM=xterm
USER=lldap
LLDAP_DATABASE_URL=postgres://lldapuser:lldappass@lldap-db/lldap
GID=1000
LLDAP_URL=http://localhost:17170
USER_CONFIGS_DIR=/bootstrap/user-configs
SHLVL=1
USER_SCHEMAS_DIR=/bootstrap/user-schemas
GROUP_CONFIGS_DIR=/bootstrap/group-configs
LLDAP_KEY_SEED_FILE=/run/secrets/lldap-key-seed
LLDAP_LDAP_BASE_DN=dc=faefox,dc=dev
DO_CLEANUP=false
LLDAP_ADMIN_PASSWORD=********************
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
GROUP_SCHEMAS_DIR=/bootstrap/group-schemas
UID=1000
LLDAP_JWT_SECRET_FILE=/run/secrets/lldap-jwt-secret
_=/usr/bin/envKumpelinus
10/07/2025, 11:04 AMKumpelinus
10/07/2025, 11:07 AMCharlotte T.
10/07/2025, 11:20 AMCharlotte T.
10/07/2025, 11:20 AMCharlotte T.
10/07/2025, 12:01 PMKumpelinus
10/07/2025, 12:01 PMCharlotte T.
10/07/2025, 12:08 PMCharlotte T.
10/07/2025, 12:08 PMCharlotte T.
10/07/2025, 12:11 PMKumpelinus
10/07/2025, 12:11 PMCharlotte T.
10/07/2025, 12:11 PMKumpelinus
10/07/2025, 12:15 PMKumpelinus
10/07/2025, 12:16 PMKumpelinus
10/07/2025, 12:18 PMCharlotte T.
10/07/2025, 12:18 PMCharlotte T.
10/07/2025, 12:18 PMCharlotte T.
10/07/2025, 12:18 PMCharlotte T.
10/07/2025, 12:18 PMKumpelinus
10/07/2025, 12:18 PMKumpelinus
10/07/2025, 12:19 PMCharlotte T.
10/07/2025, 12:26 PMKumpelinus
10/07/2025, 12:27 PMCharlotte T.
10/07/2025, 12:28 PMCharlotte T.
10/07/2025, 12:28 PMnitnelave
10/07/2025, 12:31 PMnitnelave
10/07/2025, 12:31 PMnitnelave
10/07/2025, 12:32 PMCharlotte T.
10/09/2025, 9:02 AMCharlotte T.
10/09/2025, 9:02 AMnitnelave
10/09/2025, 9:02 AMCharlotte T.
10/09/2025, 9:02 AM' character and some didn'tCharlotte T.
10/09/2025, 9:03 AMnitnelave
10/09/2025, 9:03 AMCharlotte T.
10/09/2025, 9:03 AMKumpelinus
10/09/2025, 9:03 AMCharlotte T.
10/09/2025, 9:03 AM--- groups ---
jq: error (at <stdin>:0): Cannot index array with string "name"nitnelave
10/09/2025, 9:03 AMnitnelave
10/09/2025, 9:03 AMCharlotte T.
10/09/2025, 9:04 AMnitnelave
10/09/2025, 9:04 AMnitnelave
10/09/2025, 9:05 AMKumpelinus
10/09/2025, 9:06 AMCharlotte T.
10/09/2025, 9:07 AM82a4c807f2fd:/bootstrap# cat group-configs/config.json | jq
[
{
"id": 0,
"name": "teachers"
},
{
"id": 1,
"name": "students"
}
]
it works soCharlotte T.
10/09/2025, 9:07 AMnitnelave
10/09/2025, 9:07 AMnitnelave
10/09/2025, 9:08 AMCharlotte T.
10/09/2025, 9:08 AMnitnelave
10/09/2025, 9:08 AMCharlotte T.
10/09/2025, 9:08 AMnitnelave
10/09/2025, 9:08 AMCharlotte T.
10/09/2025, 9:12 AMCharlotte T.
10/09/2025, 9:14 AMCharlotte T.
10/09/2025, 9:25 AMCharlotte T.
10/09/2025, 9:27 AMobjectClass the group I created? In jitsi I'm trying to have everyone who has group teachers to be a moderator so I tried this as a filter
LDAP_FILTER="(&(uid=%u)(objectClass=teachers))"
(from example_conf)Kumpelinus
10/09/2025, 9:28 AMperson or group. Not a specific one.Charlotte T.
10/09/2025, 9:29 AMCharlotte T.
10/09/2025, 9:31 AMLDAP_FILTER="(group~=teachers)"
But idk if it will work because group is an arrayKumpelinus
10/09/2025, 9:32 AMCharlotte T.
10/09/2025, 9:32 AMKumpelinus
10/09/2025, 9:32 AMKumpelinus
10/09/2025, 9:34 AM(&(uid=%s)(memberOf=cn=some_group_name,ou=groups,dc=example,dc=com))Charlotte T.
10/09/2025, 9:43 AMuser it says that the login is incorrect and if I use user@example.com it says [...] no-auth-mechCharlotte T.
10/09/2025, 9:44 AMCharlotte T.
10/09/2025, 9:47 AMKumpelinus
10/09/2025, 9:47 AMuid= prevents you from logging in via email anyways (if you are doing that).Kumpelinus
10/09/2025, 9:47 AMnitnelave
10/09/2025, 10:11 AMCharlotte T.
10/09/2025, 10:11 AMCharlotte T.
10/09/2025, 10:12 AMnitnelave
10/09/2025, 10:13 AMnitnelave
10/09/2025, 10:13 AMCharlotte T.
10/09/2025, 10:14 AMCharlotte T.
10/09/2025, 10:14 AMnitnelave
10/09/2025, 10:14 AMnitnelave
10/09/2025, 10:15 AMCharlotte T.
10/09/2025, 10:15 AMnitnelave
10/09/2025, 10:16 AMnitnelave
10/09/2025, 10:16 AMCharlotte T.
10/09/2025, 10:18 AMCharlotte T.
10/09/2025, 10:19 AM2025-10-09T10:18:32.127416409+00:00 INFO ๏ฝ [info]: LDAP session start: c33b07e7-b208-42ce-8acd-6cc5fda459fa
2025-10-09T10:18:32.127516602+00:00 INFO LDAP request [ 221ยตs | 100.00% ] session_id: c33b07e7-b208-42ce-8acd-6cc5fda459fa
2025-10-09T10:18:32.128201029+00:00 INFO ๏ฝ [info]: LDAP session end: c33b07e7-b208-42ce-8acd-6cc5fda459fa
2025-10-09T10:18:36.863137194+00:00 INFO LDAP request [ 9.21ยตs | 100.00% ] session_id: 9a914407-bd54-4e96-9608-2e38dedcc9a8
2025-10-09T10:18:36.863219348+00:00 INFO ๏ฝ [info]: LDAP session end: 9a914407-bd54-4e96-9608-2e38dedcc9a8
2025-10-09T10:18:36.863906082+00:00 INFO ๏ฝ [info]: LDAP session start: fee2b37b-23ec-4696-89ac-601be26792e7
2025-10-09T10:18:36.863975169+00:00 INFO LDAP request [ 193ยตs | 100.00% ] session_id: fee2b37b-23ec-4696-89ac-601be26792e7
2025-10-09T10:18:36.864889337+00:00 INFO LDAP request [ 3.71ยตs | 100.00% ] session_id: fee2b37b-23ec-4696-89ac-601be26792e7
2025-10-09T10:18:36.864930433+00:00 INFO ๏ฝ [info]: LDAP session end: fee2b37b-23ec-4696-89ac-601be26792e7
2025-10-09T10:18:36.865914525+00:00 INFO ๏ฝ [info]: LDAP session start: cad335f4-62fa-44ac-9013-93a30c5e06ad
2025-10-09T10:18:36.866067225+00:00 INFO LDAP request [ 140ยตs | 100.00% ] session_id: cad335f4-62fa-44ac-9013-93a30c5e06adnitnelave
10/09/2025, 10:20 AMCharlotte T.
10/09/2025, 10:20 AMnitnelave
10/09/2025, 10:21 AMCharlotte T.
10/09/2025, 10:21 AMCharlotte T.
10/09/2025, 10:22 AMCharlotte T.
10/09/2025, 10:25 AM2025-10-09T10:24:02.379220556+00:00 DEBUG โโ ๐ [debug]: | msg: LdapMsg { msgid: 1, op: BindRequest(LdapBindRequest { dn: "uid=charlotte,OU=people,DC=tutorat,DC=me", cred: LdapBindCred::Simple }), ctrl: [] }
2025-10-09T10:24:02.379226879+00:00 DEBUG โโ do_bind [ 307ms | 0.13% / 99.89% ] dn: uid=charlotte,OU=people,DC=tutorat,DC=me
2025-10-09T10:24:02.379246719+00:00 DEBUG โ โโ bind [ 307ms | 0.00% / 99.76% ]
2025-10-09T10:24:02.379301559+00:00 DEBUG โ โโ get_password_file_for_user [ 877ยตs | 0.29% ] user_id: "charlotte"
2025-10-09T10:24:02.380468354+00:00 INFO โ โโ ๏ฝ [info]: Login attempt for "charlotte"
2025-10-09T10:24:02.380472897+00:00 DEBUG โ โโ passwords_match [ 306ms | 99.47% ] username: charlotte
2025-10-09T10:24:02.686234363+00:00 ERROR โ โ โโ ๐จ [error]: | error: Authentication protocol error for `Protocol error: `This error results from an error during password verification``
2025-10-09T10:24:02.686262573+00:00 ERROR โ โโ ๐จ [error]: | error: Authentication error for user "charlotte"
2
It's a password error but I tried every variation maybe it's the escape characters it doesn't likenitnelave
10/09/2025, 10:26 AMnitnelave
10/09/2025, 10:26 AMCharlotte T.
10/09/2025, 10:27 AMnitnelave
10/09/2025, 10:27 AMCharlotte T.
10/09/2025, 10:28 AMCharlotte T.
10/09/2025, 10:29 AMCharlotte T.
10/09/2025, 10:30 AMCharlotte T.
10/09/2025, 10:31 AMnitnelave
10/09/2025, 10:31 AMCharlotte T.
10/09/2025, 10:35 AMCharlotte T.
10/09/2025, 10:35 AMnitnelave
10/09/2025, 11:15 AMShadow_8472
08/20/2026, 8:22 AMparse error: Invalid numeric literal at line 1, column 16, might I present the following explanation:
I modified bootstrap.sh to announce its functions. This error came from the auth() function. Narrowing it down further, I found the TOKEN line trying to process a separate error as JSON -- Specifically:
`Authentication error for user "admin"`
123456789012345
111111