Displaying 8 results from an estimated 8 matches for "auth_subsys_db".
2017 Aug 23
1
Patch: acl list from ldap must be possible to have multiple values, that combined in one comma separated list
...{
+ int i = 1;
+ while (values[i] != NULL) {
+ strcat(values[0],",");
+ strcat(values[0],values[i]);
+ i++;
+ }
+ auth_request_log_warning(auth_request,AUTH_SUBSYS_DB,
+ "Multiple values found for '%s', "
+ "using combined value '%s'", name,
values[0]);
+ auth_request_set_field(auth_request, name, values[0],
+...
2016 Jul 09
4
passdb {driver = shadow args = override_username=%variable}
...he code, appears to be the function
responsible for %variable expansion and formatting.
The relevant piece of code seems to be this excerpt in auth/passdb-shadow.c:
static enum passdb_result
shadow_lookup(struct auth_request *request, struct spwd **spw_r)
{
auth_request_log_debug(request, AUTH_SUBSYS_DB, "lookup");
*spw_r = getspnam(request->user);
if (*spw_r == NULL) {
auth_request_log_unknown_user(request, AUTH_SUBSYS_DB);
return PASSDB_RESULT_USER_UNKNOWN;
}
when request->user contains 'user at domain.tld', I want...
2018 Oct 04
3
vpopmail
...ow)
that if the clear password (pw_clear_passwd) is present Dovecot skips
the hashed password (pw_passwd), and we want authentication against
the hashed password. <snippet> if
(vpopmail_is_disabled(auth_request, vpw)) {
auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
"%s disabled in vpopmail for this user",
auth_request->service);
password = NULL; *result_r =
PASSDB_RESULT_USER_DISABLED; } else { if
(vpw-&...
2018 Oct 04
2
vpopmail
Quoting Aki Tuomi <aki.tuomi at open-xchange.com>:
> On 03.10.2018 23:30, Eric Broch wrote:
>> Hello list,
>>
>> I run Dovecot with the vpopmail driver and have found that it
>> authenticates against the clear text password in the vpopmail
>> database. Is there a configuration option either at compile time, link
>> time, or a setting in one of the
2018 Oct 04
2
vpopmail
...swd) is present Dovecot skips the
>> hashed password (pw_passwd), and we want authentication against the
>> hashed password.
>>
>> <snippet>
>> if (vpopmail_is_disabled(auth_request, vpw)) {
>> auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
>> "%s disabled in vpopmail for
>> this user",
>> auth_request->service);
>> password = NULL;
>> *result_r = PASSDB_RESULT_USER_DISABLED;
>>...
2018 Oct 04
0
vpopmail
...c' (below) that if the clear password (pw_clear_passwd) is present Dovecot skips the hashed password (pw_passwd), and we want authentication against the hashed password.
<snippet>
if (vpopmail_is_disabled(auth_request, vpw)) {
auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
"%s disabled in vpopmail for this user",
auth_request->service);
password = NULL;
*result_r = PASSDB_RESULT_USER_DISABLED;
} else {
if (vpw->pw_...
2018 Oct 04
0
vpopmail
...if the clear password (pw_clear_passwd) is present Dovecot skips the hashed password (pw_passwd), and we want authentication against the hashed password.
>
> <snippet>
> if (vpopmail_is_disabled(auth_request, vpw)) {
> auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
> "%s disabled in vpopmail for this user",
> auth_request->service);
> password = NULL;
> *result_r = PASSDB_RESULT_USER_DISABLED;
> } else {
>...
2018 Oct 04
0
vpopmail
...t skips the
>>> hashed password (pw_passwd), and we want authentication against
>>> the hashed password.
>>>
>>> <snippet>
>>> ? ? ? ?if (vpopmail_is_disabled(auth_request, vpw)) {
>>> ? ? ? ? ? ? ? ?auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
>>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?"%s disabled in vpopmail for
>>> this user",
>>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?auth_request->service);
>>> ? ? ? ? ? ? ? ?password = NULL;
>>> ? ? ? ? ? ? ? ?*result_r = PASSDB_RESULT_USER_D...