Displaying 2 results from an estimated 2 matches for "auth_master_user_list_deinit".
2018 Sep 18
2
HTTP DoveAdm API - Possible bug?
Hi all,
It seems that setting userMask in the doveadm http api's "user" command
to anything involving wildcards ?s or *s causes the API to fail.
When using the API with a userMask set to the fully qualified email
address, I get the expected fields back.
From a python shell, with an asterisk causes the following behaviour
(note that doveadm is a python module that wrappers the
2018 Sep 19
0
HTTP DoveAdm API - Possible bug?
...ple("username");
+
if (users[0] != NULL && users[1] == NULL)
user_mask = users[0];
@@ -180,7 +184,7 @@ cmd_user_list(struct auth_master_connection *conn,
break;
}
if (users[i] != NULL)
- printf("%s\n", username);
+ doveadm_print(username);
}
if (auth_master_user_list_deinit(&ctx) < 0)
i_fatal("user listing failed");
--
2.18.0
Aki
On 18.09.2018 17:09, Chris Malton wrote:
> Hi all,
>
> It seems that setting userMask in the doveadm http api's "user"
> command to anything involving wildcards ?s or *s causes the API to fail...