flyingfufu68
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 │ ┕━ i [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 AMAnswer Overflow
05/22/2025, 7:57 AMMichael Brown
05/23/2025, 5:37 AMGlujaz
05/27/2025, 4:11 PMAnswer Overflow
06/09/2025, 3:04 PMAbiscuits
06/18/2025, 1:51 AMINFO i [info]: OPAQUE login attempt for "jacob"
INFO i [info]: OPAQUE login successful for "jacob"
https://cdn.discordapp.com/attachments/1384712140308480130/1384712148441108681/image.png?ex=68536d2e&is=68521bae&hm=1dff1b71a3ed382b52c9db6573ae25b13f5d30ffe336b6dcbdea68dd4e660cce&
https://cdn.discordapp.com/attachments/1384712140308480130/1384712148684509388/image.png?ex=68536d2e&is=68521bae&hm=6a81c17a740834b051ea6e0be4c29ca9836aaeef289dffd7d95a6b67aa039771&John Thompson
06/18/2025, 10:46 PMSunSailor
06/23/2025, 4:19 PMHackinDoge
06/25/2025, 4:23 PM[16:14:36] [WRN] [44] Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin: Ldap Test Failed to Connect or Bind to server
2025-06-25 16:14:36.887558+00:00LdapException: Unable to connect to server lldap:3890 (91) Connect Error
2025-06-25 16:14:36.887585+00:00System.Net.Sockets.SocketException (111): Connection refused
2025-06-25 16:14:36.887604+00:00at Novell.Directory.Ldap.AsyncExtensions.WaitAndUnwrap(Task task, Int32 timeout)
2025-06-25 16:14:36.887687+00:00at Novell.Directory.Ldap.Connection.Connect(String host, Int32 port, Int32 semaphoreId)
This is the error I get when running "Save and Test LDAP Server Settings" in Jellyfin. To me its not a container network issue because I can ping the lldap container from the jellyfin container...
What's weird is the exact same connection details I'm trying to use with Jellyfin work just fine with Open WebUI...mccmax95
06/26/2025, 8:28 PMCould not initiate password reset[500 ]: Internal server error: `Could not send email: Error sending email: permanent error (535): 5.7.8 Username and Password not accepted. For more information, go to5.7.8 https://support.google.com/mail/?p=BadCredentials 6a1803df08f44-6fd772fa9c9sm11203576d6.82 - gsmtp`
though I ran this through a smtp tester and it worked with the same setup. I do have my server using the SMTP email with a different application though I don't think that would matter. This is what I have atm :
LDAP_SMTP_OPTIONS__FROM: LLDAP Admin <${SMTP_USER}>
LLDAP_SMTP_OPTIONS__PASSWORD: ${SMTP_PASSWORD}
LLDAP_SMTP_OPTIONS__PORT: 587
LLDAP_SMTP_OPTIONS__REPLY_TO: Do not reply <${SMTP_USER}>
LLDAP_SMTP_OPTIONS__SERVER: smtp.gmail.com
LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION: STARTTLS
LLDAP_SMTP_OPTIONS__USER: ${SMTP_USER}
LLDAP_VERBOSE: true