How to use the CLI with ldap authentication #51
Replies: 1 comment 11 replies
-
The error message needs to be fixed, but you are seeing that error because the authentication failed. Are you able to login using IMAP or JMAP?
I'll have that fixed in the documentation, it is a command from an older version that no longer works. Use |
Beta Was this translation helpful? Give feedback.
-
Initially started with a issue #43
I have added a the admin account to the superuser group (also created the group).
When I run the command
stalwart-cli --url https://mail.domain.net -c [email protected]:passwd queue list
I get an error:Failed to deserialize response: data did not match any variant of untagged enum Response
.I don't know how I can enable debug to see that might be wrong?
I have looked at the reverse proxy and I can see it got a 401:
When I do the search query the user with the results show:
If I try the command account list (from the documentation) I get this error:
error: unrecognized subcommand 'account'
.Even with trace debug enabled I don't see any obvious error. I only see this in the output:
Aug 16 19:48:26 h01-01 stalwart-mail[861954]: 2023-08-16T17:48:26.206178Z DEBUG session{instance="jmap" protocol=Jmap remote.ip="127.0.0.1" remote.port=53836}: jmap::api::http: event="request" uri="/admin/queue/list?"
Beta Was this translation helpful? Give feedback.
All reactions