Answer Overflow
06/09/2025, 3:04 PMAkshay
06/09/2025, 3:04 PMakshay and my LLDAP password. I CAN login using PocketID via OIDC, so the account for sure works, it's just the login with ID & Password.
When I try to log in, the nextcloud login page simply reloads and nothing happens. Nextcloud's log says Warning user_ldap Bind failed: 49: Invalid credentials and Warning no app in context Login failed: akshay (Remote IP: 192.168.2.3)
The only other "strange" thing that I can notice is:
When I log in with a local nextcloud account, the login page's (https://nextcloud.mydomain.com/login) changes to https://nextcloud.mydomain.com/apps/dashboard/ on successful login. If I enter a wrong password, the URL changes to https://nextcloud.mydomain.com/login?direct=1&user=admin. However, for an LLDAP user, the URL changes to https://nextcloud.mydomain.com/login?redirect_url=/apps/dashboard/ when using a correct password and to https://nextcloud.mydomain.com/login?redirect_url=/apps/dashboard/&direct=1&user=akshay when using the wrong password.
Verbose LLDAP logs attached for correct & wrong passwords. The response from LLDAP seems to be appropriate from what I can gauge.
https://cdn.discordapp.com/attachments/1381650032763207680/1381650045484404838/image.png?ex=68484960&is=6846f7e0&hm=e3c382b8af9d94a353d41845c1ba1293c0c62a59aa9493de92a87829ce9cefd5&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650045727932487/image.png?ex=68484960&is=6846f7e0&hm=18ae2c21bd6226c654f30268b04f832f2b6cca30d1fd2471e959710662e6a1d9&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650046017077371/image.png?ex=68484960&is=6846f7e0&hm=281d4fa0f0fa88de86ed7e026aabe7d9e41797556c09b14b7098cc6865e06330&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650046298357890/image.png?ex=68484960&is=6846f7e0&hm=159e9945df16805c899a4526322d5c316748d1ae7324e20304ab21c21b52e3ab&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650046562603028/image.png?ex=68484960&is=6846f7e0&hm=2d8f42d6a0cc651b241771c5d928fa82f3966ecdc02622b45047b3ff63667e7d&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650046822383657/lldap_log_correct_password.txt?ex=68484960&is=6846f7e0&hm=3abf39f7653fefbd345a99ad7c090624ca61bf5da55535eee8bc67cff0bd0501&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650047204196463/image.png?ex=68484961&is=6846f7e1&hm=a8db522acf4303d744f74a788cd059f99a651d09a540cb16c9e6b35d71c074fe&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650047447601232/lldap_log_wrong_password.txt?ex=68484961&is=6846f7e1&hm=80a77eaa541e3dc6f5743ba2fe6d375ee1cc2752a046e30e9a2394865257ea99&
https://cdn.discordapp.com/attachments/1381650032763207680/1381650047917101127/image.png?ex=68484961&is=6846f7e1&hm=837acae7799e10591de9ce8b2c824d5baf6230daefa5e97b31a2ed6304fa4ef6&eyJhb
06/09/2025, 6:01 PMAkshay
06/09/2025, 8:07 PMeyJhb
06/09/2025, 8:14 PMAkshay
06/10/2025, 5:51 AMNEW_CONFIG_ID="$(nextcloud-occ ldap:create-empty-config -p)")
So: s01="$(nextcloud-occ ldap:create-empty-config -p)"
And on line 10, BIND_USERPASS="$(cat $CREDENTIALS_DIRECTORY/lldap-bind-user-pass)"
Do I specify the password here?
So: my-ldap-password="$(cat $CREDENTIALS_DIRECTORY/lldap-bind-user-pass)"Akshay
06/10/2025, 8:10 AMAdvanced and Expert Settings
https://cdn.discordapp.com/attachments/1381650032763207680/1381908476728709130/image.png?ex=68493a0f&is=6847e88f&hm=ba2b902e3fbedde06a4cd0e1f640392fe2af55d40281b0d707d1a383de0ea892&
https://cdn.discordapp.com/attachments/1381650032763207680/1381908477189951528/image.png?ex=68493a0f&is=6847e88f&hm=44baa828dd29229b02052151fb5f0f1e6987f64f9af79f640c230a45ca3830ba&
https://cdn.discordapp.com/attachments/1381650032763207680/1381908477483417670/image.png?ex=68493a0f&is=6847e88f&hm=a4e76a9e101ecb1d2879e8b06cdc7bd56bd38b4f5e6b0c5439af147efc1e828a&Akshay
06/10/2025, 12:32 PM