search for: extra_fields

Displaying 20 results from an estimated 56 matches for "extra_fields".

2008 Oct 13
1
Get an extra_field in login process
...I was trying to do it in login-common/client-common.c, adding a new variable to login_log_format_elements and trying to get the fileld from environment, but, I could not find any way to do it, the getenv returns null everytime. Anyone can suggest something to do it ? Is there a way that I get the extra_fields from request in login process ? Thanks -- Alexandre *Estanislau* Puhl - PX3D1363 alexandre at estanislau dot org http://estanislau.org Jabber: alexandre at estanislau dot org QAP 27,335 MHz AM - Unidade 08 do Agrupamento Sentinela
2012 Jun 24
3
Additional passdb result status
...ng a plugin (for the pop3/imap process) that requires some data to provided from the authentication phase (a derivative of the password). For that, I have now implemented a passdb plugin that generates this data and I would like to "pass" this data down to the mail process (pop3/imap) via extra_fields in the reply of the authentication. The general idea is that my custom passdb plugin calculates the data, sets the extra_field and returns some error (authentication was not successful) so that the "real" passdb backend can be invoked to "really" validate the authentication data...
2006 Nov 28
1
Extra_fields / first check userdb?
Hi, I would like to supply a few users with extra_fields. All users are found by PAM first so the userdb passwd-file doesnt seem to be used. How to alter the lookup sequence? We can't remove the accounts from the central passwd, just for Dovecot. Thanks, Leroy
2006 Dec 17
1
Proxy with MasterUser + Authentication issues
...AS nodelay, 'Y' AS p roxy, 'somepass' AS pass FROM iwmailsystem.virtmailbox AS v NATURAL JOIN authenticate.users AS a WHERE v.userID = 'user at host.com' and v.imap_active = 1 Error: auth(default): file auth-request.c: line 207 (auth_request_save_cache): assertion failed: (extra_fields == NULL || (strstr(extra_fields, "\tpass=") == NULL && strncmp(extra_fields, "pass=", 5) != 0)) Error: child 54122 (auth) killed with signal 6 The Wiki showed I should return a 'pass' column. However, that's choking the query up in auth-request.c. Could it...
2015 Aug 06
3
question on autch cache parameters
...uest.c Tue May 05 14:16:31 2015 +0300 @@ -618,30 +627,28 @@ auth_request_want_skip_passdb(request, next_passdb)) next_passdb = next_passdb->next; + if (*result == PASSDB_RESULT_OK) { + /* this passdb lookup succeeded, preserve its extra fields */ + auth_fields_snapshot(request->extra_fields); + request->snapshot_have_userdb_prefetch_set = + request->userdb_prefetch_set; + if (request->userdb_reply != NULL) + auth_fields_snapshot(request->userdb_reply); + } else { + /* this passdb lookup failed, remove any extra fields it set */ + auth_fields_rollback(request->ex...
2015 Aug 27
0
question on autch cache parameters
...00 > @@ -618,30 +627,28 @@ > auth_request_want_skip_passdb(request, next_passdb)) > next_passdb = next_passdb->next; > > + if (*result == PASSDB_RESULT_OK) { > + /* this passdb lookup succeeded, preserve its extra fields */ > + auth_fields_snapshot(request->extra_fields); > + request->snapshot_have_userdb_prefetch_set = > + request->userdb_prefetch_set; > + if (request->userdb_reply != NULL) > + auth_fields_snapshot(request->userdb_reply); > + } else { > + /* this passdb lookup failed, remove any extra fields it set */ > +...
2015 Aug 05
3
question on autch cache parameters
Hi list, I have a question on auth caching in 2.2.18. I am using acl_groups for a master user, appended in a static userdb file # snip ############################### master at uma:{SHA}XXXX=::::::userdb_acl_groups=umareadmaster allow_nets=127.0.0.1 # snap ############################### and use this group in a global ACL file. I discovered this only works on first NOT-cached login
2007 Feb 17
5
1.0.rc23 tomorrow
...ile waiting for more data from the client (broken in rc22) - mbox: When saving a message to an empty mbox file it got one UID which immediately was incremented. - mbox: Fixed some wrong "uid-last unexpectedly lost" errors. - auth cache: In some situations we crashed if passdb had extra_fields. - auth cache: Special extra_fields weren't saved to auth cache. For example allow_nets restrictions were ignored for cached entries. - A lot of initial login processes could cause auth socket errors in log file at startup, if dovecot-auth started slowly. Now the login processes are...
2014 Dec 15
0
Userdb's and IMAP proxying
...migrate a chunk of users each night and then let the proxy send them to the new server. I wonder if, instead of altering my LDAP schema to be able to add the needed attributes (matching proxy/proxy_maybe, host, ...) I could use a second userdb (preferably in a file : passwd-file ?) only for those extra_fields (i.e. the second userdb would extend the LDAP one). As a matter of fact, I guess those who will migrate users will prefer writing to a file than to add some LDAP attribute in the user entry. In other words, can I get different extra_fields for the same user in different userdb's ? -- Thomas...
2006 Nov 03
1
auth-req-handler.c adds spurious tab
If the auth backend (postgresql in my case) returns extra fields, and all of these extra_fields begin with 'userdb_', the auth_callback functions adds an unwanted extra tab at the end of the response: auth(default): client out: OK^I8^Iuser=foo at bar^I This extra tab at the end confuses exim's dovecot-auth handler (the exim-dovecot auth handler does not correctly count the numbe...
2007 Feb 20
3
1.0.rc23 released
...n rc22) - mbox: Broken X-UID headers assert-crashed sometimes - mbox: When saving a message to an empty mbox file it got an UID which immediately got incremented. - mbox: Fixed some wrong "uid-last unexpectedly lost" errors. - auth cache: In some situations we crashed if passdb had extra_fields. - auth cache: Special extra_fields weren't saved to auth cache. For example allow_nets restrictions were ignored for cached entries. - A lot of initial login processes could cause auth socket errors in log file at startup, if dovecot-auth started slowly. Now the login processes are...
2007 Feb 20
3
1.0.rc23 released
...n rc22) - mbox: Broken X-UID headers assert-crashed sometimes - mbox: When saving a message to an empty mbox file it got an UID which immediately got incremented. - mbox: Fixed some wrong "uid-last unexpectedly lost" errors. - auth cache: In some situations we crashed if passdb had extra_fields. - auth cache: Special extra_fields weren't saved to auth cache. For example allow_nets restrictions were ignored for cached entries. - A lot of initial login processes could cause auth socket errors in log file at startup, if dovecot-auth started slowly. Now the login processes are...
2006 Dec 19
1
Bug: (dovecot-auth), exited on signal 6
...sql Userdb: checkpassword passwd prefetch passwd-file sql static Dec 19 12:49:42 mail dovecot: auth(default): cache(m52 at academ.org): Password mismatch Dec 19 12:49:42 mail dovecot: auth(default): file passdb-blocking.c: line 125 (passdb_blocking_verify_plain): assertion failed: (request->extra_fields == NULL) Dec 19 12:49:42 mail dovecot: child 91510 (auth) killed with signal 6 Dec 19 09:20:39 mail pid 96304 (dovecot-auth), uid 65534: exited on signal 6 Dec 19 09:43:31 mail pid 21093 (dovecot-auth), uid 65534: exited on signal 6 Dec 19 09:49:54 mail pid 36637 (dovecot-auth), uid 65534: exited...
2009 Jan 28
1
Public namespace permissions documentation/questions
Hello Timo, In my trials to setup a shared namespace with dovecot-1.1.8/LDAP passdb/userdb (prefetch)/Maildir, I found out that : 1) ACL are mandatory (at least if the acl plugin is triggered in dovecot.conf) Am I correct ? I'm still not sure if we can do without ACL at all (only with unix permissions and system_user userdb extra field). 2) the system_user userdb extra field is
2015 Jan 08
2
auth-deny : from file to LDAP
Hello Timo, I want to deny access to some users. For now I'm doing it using 2 passdb's and listing users in a text file. !include auth-deny.conf.ext -> passwd-file driver !include auth-ldap.conf.ext -> ldap driver I want to do the same using only LDAP. I'm not quite sure how to do it : a) should I . change the driver of the first passdb from passwd-file to ldap . for user
2011 Apr 27
2
2.0.12 Coredump under Solaris 10
..." user_info = (const struct setting_parser_info *) 0x8089d80 user_set = (const struct mail_user_settings *) 0xfef7fc99 userdb_fields = (const char * const *) 0x807a908 error = 0xfeff0540 "" reply = {uid = -1, gid = -1, home = 0x0, chroot = 0x0, extra_fields = {arr = {buffer = 0x809b6b8, element_size = 4}, v = 0x809b6b8, v_modifiable = 0x809b6b8}} set_parser = (struct setting_parser_context *) 0x8093d40 user_pool = (pool_t) 0x8088918 temp_pool = (pool_t) 0x809b6a8 ret = 1 #9 0xfef0be8f in mail_storage_service_looku...
2020 Aug 14
2
User doesn't exist
...t 2c2axxx.online-server.cloud[private/dovecot-lmtp] said: 550 5.1.1 <bruno at 2c2axxx.online-server.cloud> User doesn't exist: bruno at 2c2axxx.online-server.cloud (in reply to RCPT TO command)) [root at localhost bruno]# cat /etc/dovecot/users #user:password:uid:gid:(gecos):home:(shell):extra_fields bruno:{CRAM-MD5}88XXXee:5001:5001::/home/bruno:: mail:{CRAM-MD5}88XXXee:5001:5001::/home/mail:: nas:{CRAM-MD5}8eXXX40:5001:5001::/home/nas asys:{CRAM-MD5}99XXX09:5001:5001::/home/asys -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/d...
2017 Jun 28
2
Per-user quota (passwd)
Hello! We have passwd=pam, userdb=passwd. passdb { driver = pam #server was entered domain Active Directory } userdb { driver = passwd override_fields = home=/var/vmail/glu_vrem/%u } How can i use per-user quota? Only passwd-file? I tried: userdb { args = /etc/imap.passwd driver = passwd-file override_fields = home=/var/vmail/glu_vrem/%u } /etc/imap.passwd:
2007 Dec 11
1
dovecot deliver errors
...0x80ded98 "INBOX" auth_socket = <value optimized out> home = <value optimized out> destaddr = 0xbfb09f9c "example at example.com" user = 0xbfb09f9c "example at example.com" error = <value optimized out> extra_fields = {arr = {buffer = 0x80ed080, element_size = 4}, v = 0x80ed080, v_modifiable = 0x80ed080} ns = (struct mail_namespace *) 0x80f7a90 raw_ns = (struct mail_namespace *) 0x80f7ab8 storage = (struct mail_storage *) 0x80f7e98 box = (struct mailbox *) 0x8102768 in...
2015 Jan 08
0
auth-deny : from file to LDAP
On Thu, Jan 08, 2015 at 02:48:47PM +0100, hummel at pasteur.fr wrote: > Hello Timo, > a) should I > > . change the driver of the first passdb from passwd-file to ldap > . for user to be rejected, add an LDAP attribute named "foo" with a value of "yes" and map it with something like this : > > pass_attrs = ....,foo=deny in dovecot-ldap.conf.ext ? >