[GH-ISSUE #597] Format for changing password from inside container. #218

Closed
opened 2026-02-27 08:15:55 +03:00 by kerem · 4 comments
Owner

Originally created by @tetricky on GitHub (Jun 7, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/597

./lldap_set_password --base-url http://localhost:17170/ --admin-username admin --admin-password <admin password> --username user --password <user password>

Fails with error

Error: While logging in

Caused by:
    expected value at line 1 column 1

Whereas

./lldap_set_password --base-url http://localhost:17170 --admin-username admin --admin-password <admin password> --username user --password <user password>

Completes successfully.

Originally created by @tetricky on GitHub (Jun 7, 2023). Original GitHub issue: https://github.com/lldap/lldap/issues/597 ``` ./lldap_set_password --base-url http://localhost:17170/ --admin-username admin --admin-password <admin password> --username user --password <user password> ``` Fails with error ``` Error: While logging in Caused by: expected value at line 1 column 1 ``` Whereas ``` ./lldap_set_password --base-url http://localhost:17170 --admin-username admin --admin-password <admin password> --username user --password <user password> ``` Completes successfully.
kerem 2026-02-27 08:15:55 +03:00
Author
Owner

@nitnelave commented on GitHub (Jun 7, 2023):

I need to have a look at the requests: should we fix that on the client or server side?

<!-- gh-comment-id:1580988196 --> @nitnelave commented on GitHub (Jun 7, 2023): I need to have a look at the requests: should we fix that on the client or server side?
Author
Owner

@nitnelave commented on GitHub (Jun 7, 2023):

Note that if we have a double-slash, it should be fixed on the client side. Probably by actually parsing the URL (also provides validation), maybe setting a default of localhost:17170 on the way.

<!-- gh-comment-id:1580991086 --> @nitnelave commented on GitHub (Jun 7, 2023): Note that if we have a double-slash, it should be fixed on the client side. Probably by actually parsing the URL (also provides validation), maybe setting a default of localhost:17170 on the way.
Author
Owner

@eztEgyed commented on GitHub (Jul 26, 2023):

I have got:
Error: HTTP status client error (400 Bad Request) for url (http://localhost:17170/auth/opaque/register/start)

What does it mean?

<!-- gh-comment-id:1652206027 --> @eztEgyed commented on GitHub (Jul 26, 2023): I have got: Error: HTTP status client error (400 Bad Request) for url (http://localhost:17170/auth/opaque/register/start) What does it mean?
Author
Owner

@nitnelave commented on GitHub (Jul 26, 2023):

@eztEgyed how did you get that? From running lldap_set_password?

<!-- gh-comment-id:1652280181 --> @nitnelave commented on GitHub (Jul 26, 2023): @eztEgyed how did you get that? From running lldap_set_password?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#218
No description provided.