search for: auth_request_set_userdb_field

Displaying 5 results from an estimated 5 matches for "auth_request_set_userdb_field".

2017 Nov 21
3
Passing information from passdb to userdb
I'm trying to hack together a new authentication back-end and I wanted to know if it's possible to pass values from passdb to userdb in the auth_request structure at authentication time. I modified struct auth_request in auth-request.h to contain a new variable and it gets set properly in my passdb, however the value is not there when checking for it userdb. I'm very novice when it
2007 Dec 12
1
dovecot 1.1beta11 auth problems
Hi everybody, I've problems running Dovecot 1.1beta11 using vpopmail userdb/passdb (Dovecot 1.08 however works just fine). It looks like as if the auth process gets killed somehow... Any ideas what might be wrong? Dec 12 20:02:32 vs247165 dovecot: Dovecot v1.1.beta11 starting up Dec 12 20:02:32 vs247165 dovecot: Generating Diffie-Hellman parameters for the first time. This may take a
2014 Apr 25
1
Segfault in auth (when talked to by postfix lda)
...(fields=0x0, key=key at entry=0xb84ae448 "uid", value=value at entry=0xb84a6312 "1120", flags=flags at entry=(unknown: 0)) at auth-fields.c:68 field = <optimized out> idx = 3091882770 __FUNCTION__ = "auth_fields_add" #2 0xb77bb03b in auth_request_set_userdb_field (request=request at entry=0xb84b9218, name=0xb84ae448 "uid", value=0xb84a6312 "1120") at auth-request.c:1605 uid = <optimized out> gid = <optimized out> #3 0xb77d2fb5 in userdb_template_export (tmpl=0xb84ae410, auth_request=auth_request at en...
2017 Nov 22
0
Passing information from passdb to userdb
The best way to is to use auth_request_set_userdb_field(request, key, value); and it will be available in userdb. Aki On 22.11.2017 01:57, Qmail wrote: > I'm trying to hack together a new authentication back-end and I wanted to know if it's possible to pass values from passdb to userdb in the auth_request structure at authentication time....
2015 Apr 20
4
userdb username change ignored when using (My)SQL was: Re: userdb username changed
Hi! It works when using LDAP. I've duplicated the "username change" debug line, just to see that the variables are really updated: Apr 20 14:30:27 imap21 dovecot: auth-worker(27127): Debug: sql(ppp at example.net): username changed ppp at example.net -> uppp Apr 20 14:30:27 imap21 dovecot: auth-worker(27127): Debug: sql(uppp): username changed uppp -> uppp Apr 20 14:30:27