VeenarM
11/15/2024, 10:55 PMlowk3y
11/20/2024, 4:58 PMviggy96
11/21/2024, 3:32 AMJ-HILL
11/25/2024, 6:45 AMJETSKIZ
12/04/2024, 5:17 PMlldap | 2024-12-04T17:03:47.872151636+00:00 INFO ο½ [info]: LDAP session start: b411daa3-3db1-4f65-8a3b-05093964a666
lldap | 2024-12-04T17:03:47.872195089+00:00 ERROR π¨ [error]: Message is not constructed
lldap | 2024-12-04T17:03:47.872206950+00:00 INFO LDAP request [ 3.41Β΅s | 100.00% ] session_id: b411daa3-3db1-4f65-8a3b-05093964a666
lldap | 2024-12-04T17:03:47.872312744+00:00 ERROR π¨ [error]: [LDAP] Service Error: while handling incoming messages: while receiving LDAP op: The LDAP msg contains invalid BER
Sen4622
12/12/2024, 8:10 PMjensen
12/19/2024, 12:33 PM/run/secrets/lldap-server-key
from config value `server_key_file`: stream did not contain valid UTF-8 in /nix/store/a92szmxz1iqgqk3hlsvg26np5wxhr0vj-lldap_config.toml TOML file`
The file is binary data, generated by lldap itself previously. Isn't it incorrect to check if it's valid UTF8?Benj
12/20/2024, 11:16 AMtext/html MIME is forbidden
.
I think i have a problem with X-Content-Type-Options
but why ?
I have this problem with and without reverse-proxy.
How to solve it with a secure approach ?272970
12/20/2024, 9:30 PMpratat
12/22/2024, 10:05 AMflyingfufu68
12/26/2024, 5:44 PMLLDAP_
environment variable(s)
> Setup permissions..
Error: Could not open /secrets/JWT_SECRET from config value jwt_secret_file: Permission denied (os error 13) in LLDAP_
environment variable(s)``jul
01/05/2025, 7:17 PMLDAP_QUERY_FILTER_USER=(&(objectClass=inetOrgPerson)(|(uid=%u)(mail=%u)))
LDAP_QUERY_FILTER_GROUP=(&(objectClass=groupOfUniqueNames)(uid=%s))
LDAP_QUERY_FILTER_ALIAS=(&(objectClass=inetOrgPerson)(|(mail=%s)(mailalias=%s)))
LDAP_QUERY_FILTER_DOMAIN=(|(mail=*@%s)(mailalias=*@%s))
DOVECOT_USER_FILTER=(&(objectClass=inetOrgPerson)(|(uid=%u)(mail=%u)))
DOVECOT_USER_ATTRS==uid=5000,=gid=5000,=home=/var/mail/%Ln,=mail=maildir:~/Maildir
DOVECOT_PASS_FILTER=(&(objectClass=inetOrgPerson)(|(uid=%u)(mail=%u)))
logs:
2025-01-05T19:03:40.196766+00:00 mx1 dovecot: lmtp(446): Connect from local
2025-01-05T19:03:40.257009+00:00 mx1 dovecot: auth: ldap(2@abc.xyz): unknown user
2025-01-05T19:03:40.299816+00:00 mx1 postfix/lmtp[445]: B0563240301D: to=<2@abc.xyz>, relay=mx1.mailhost.tld[/var/run/dovecot/lmtp], delay=0.61, delays=0.48/0.02/0.01/0.1, dsn=5.1.1, status=bounced (host mx1.mailhost.tld[/var/run/dovecot/lmtp] said: 550 5.1.1 <2@abc.xyz> User doesn't exist: 2@abc.xyz (in reply to RCPT TO command))
2025-01-05T19:03:40.300028+00:00 mx1 dovecot: lmtp(446): Disconnect from local: Logged out (state=READY)
daitali
01/09/2025, 10:41 AMdaitali
01/09/2025, 10:52 AM[smtp_options]
enable_password_reset=true
server="smtp.XXXX"
port=465
smtp_encryption = "TLS"
#user="XXX"
#password="XXX"
from="XXXX"
reply_to="XXXX"
Error :
2025-01-09T10:36:07.397297171+00:00 DEBUG β ββ :bug:ion, source: Custom { kind: InvalidData, error: InvalidCertificate(UnknownIssuer) } } }
2025-01-09T10:36:10.399530183+00:00 WARN β ββ :construction:
2025-01-09T10:36:10.399539220+00:00 INFO β ββ ο½ [info]: Reset token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2025-01-09T10:36:10.399597878+00:00 DEBUG ββ :bug:
Jakob
01/09/2025, 4:14 PMLDAP request [ 3.05ms | 90.89% / 100.00% ] session_id: b4d57d6a-4704-4cca-ae08-1b921f316a7a
ββ :bug: [debug]: | msg: LdapMsg { msgid: 19, op: SearchRequest(LdapSearchRequest { base: "", scope: Subtree, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: And([Equality("memberof", "cn=mail,ou=groups,dc=example,dc=de"), Equality("uid", "jakob")]), attrs: ["uid"] }), ctrl: [] }
ββ do_search [ 278Β΅s | 9.11% ]
ββ :bug: [debug]: | response: SearchResultDone(LdapResult { code: InvalidDNSyntax, matcheddn: "", message: "Missing DN value", referral: [] })
The filter specified in the config is (&(memberof=cn=mail,ou=groups,dc=example,dc=de)(uid=%{user}))
, which fits the debug msg IMHO. But I don't understand the error message. The filter works fine with ldapsearch and looks fine to me π€
Is the empty base a problem? Not sure why though, I specified it in the config.
Thanks for any insightjensen
01/10/2025, 2:16 PM(&(&(uid=nas_admin)(objectclass=inetOrgPerson)(unix_uid_number=*))(memberOf=uid=nas_users,ou=groups,dc=example,dc=com))
It's built by sssd, and it reports ldap_search_ext failed: Bad search filter
, testing with ldapsearch reports the same, until I remove the (unix_uid_number=*)
part, but shouldn't that be valid?
I don't see anything in the lldap log, it's not possible that it has rejected it, without anything in the log, right?JBtje
01/15/2025, 7:22 PMLLDAP_JWT_SECRET
to the value I found in Kubernetes. When I try to login with the admin account on the docker environment, I get the message βCorrupted password file forβ
What am I doing wrong?steveo-the-sane
01/16/2025, 11:48 AMVegard Hagen
01/21/2025, 2:30 PMemptyDir
mounted as the /data
folder ([link to Deployment](https://github.com/vehagn/homelab/blob/main/k8s/infra/auth/lldap/deployment.yaml)). From what I undestand the key_seed
is randomly generated each time LLDAP start, but since I only use ephemeral storage I suppose this key isn't saved anywhere? I assume the only reason why it's working is that I use the bootstrap script to (re-)generate the passwords upon each restart. Should I explicitly set the LLDAP_KEY_SEED
value?Alex
01/30/2025, 8:42 AM/etc/nslcd.conf
adapted from the sample PAM configuration in the repo, and nscd running on the same box. I'm running nslcd -d
in the foreground to see logs. I can query lldap on the seperate container with commands like id
and getent
, but actually trying to log in keeps giving me "password denied". Even double- and tripple- checking that my password is right. I tried changing passwords to remove all symbols, same thing. Is there something special I have to do to set up passwords?Jaiden
01/30/2025, 10:50 PMweller
02/09/2025, 7:27 AMMonsieurNoob
02/13/2025, 7:06 PMAlgirdas J.
03/04/2025, 3:17 PMHendrik
03/07/2025, 9:14 AMlldap_password_manager
group and authelia. Even after adding the authelia user to that group I still get an Insufficient Access Rights
error when resetting or changing the password. I have searched multiple discussion, but I haven't found this exact problem before.
I have attached both the verbose LLDAP log and trace level authelia logs to cross reference the requests being made. Both logs are redacted using example.com
as the placeholder.Jakob
03/28/2025, 1:32 PM# lldap-cli schema attribute user list
Name Type Is list Is visible Is editable
---- ---- ------- ---------- -----------
avatar JPEG_PHOTO false true true
creation_date DATE_TIME false true false
display_name STRING false true true
email_address STRING false true false
email_aliases STRING true true false
email_quota STRING false true false
first_name STRING false true true
last_name STRING false true true
mail STRING false true true
user_id STRING false true false
uuid STRING false true false
If I try to query any of my custom attributes, I get dict_ldap_lookup: Search error -7: Bad search filter
. Doesn't matter if the attribute is String or List. The same config that queries "mail" works.Leg4cyV1per
04/16/2025, 11:06 AMDave A68
04/21/2025, 12:28 PMDave A68
04/22/2025, 1:15 PMRecipient address rejected: User unknown in virtual mailbox table; from=<prvs=52072ff83d=david@xyz.com> to=<xxxx@recognition-circular.org> proto=ESMTP helo=<mx07-0060ad01.pphosted.com>
If I do a ./setup.sh email list
, all the accounts now look like this:
Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota
2025-04-22 15:03:32+02:00 ERROR listmailuser: Supplied non-number argument '' to '_bytes_to_human_readable_size()'
2025-04-22 15:03:32+02:00 ERROR listmailuser: Aborting
2025-04-22 15:03:32+02:00 ERROR listmailuser: Supplied non-number argument '' to '_bytes_to_human_readable_size()'
2025-04-22 15:03:32+02:00 ERROR listmailuser: Aborting
* cloud@recognition-circular.org
( / ) [%]
Apart from the Nextcloud integration nothing has changed with my mailserver config or my lldap config.
Maybe a longshot, but has anyone experienced something similar?heret1c404
04/23/2025, 7:59 AM