search for: real_username

Displaying 9 results from an estimated 9 matches for "real_username".

2019 Apr 12
2
Using userdb/passdb data in director_username_hash
...ything is working correctly. Happy to post doveconf if it's relevant but wanted to ask a general question first. I was curious if there's a way to get userdb/passdb data into director_username_hash. Currently, we've got default hashing (on %u). I'm returning a SQL field called 'real_username' (the owner of the mailbox, so almost never the same as %u). I'd like (for mdbox reasons) to hash on that rather than %u. My test SQL is returning (this is just a chunk -- it's duplicated for testing): UserName AS userdb_real_username, UserName AS real_username I can see in my directo...
2019 Apr 12
0
Using userdb/passdb data in director_username_hash
...working correctly. Happy to post doveconf if it's relevant but wanted to ask a general question first. > > I was curious if there's a way to get userdb/passdb data into?director_username_hash. Currently, we've got default hashing (on %u). I'm returning a SQL field called 'real_username' (the owner of the mailbox, so almost never the same as %u). I'd like (for mdbox reasons) to hash on that rather than %u. > > My test SQL is returning (this is just a chunk -- it's duplicated for testing): > UserName AS userdb_real_username, UserName AS real_username > &gt...
2007 Apr 17
1
pam_winbind.c
...i, I get this warning when compiling 3.0.25rc1 on SLED 10: Compiling nsswitch/pam_winbind.c nsswitch/pam_winbind.c: In function `pam_sm_authenticate': nsswitch/pam_winbind.c:1623: warning: passing arg 1 of `free' discards qualifiers from pointer target type corresponds to : if ( real_username ) { free( real_username ); } This is the only warning and the build continues and finishes OK. I also get a core dump when attempting an offline logon using winbind with idmap against AD. As far as I can see this is the approximatley the spot where the core dump occurs. C...
2018 Oct 04
1
Username aliases
On 26/09/2018 08:34, Aki Tuomi wrote: > # before current passbd > passdb { > driver = passwd-file > args = username_format=%Lu /etc/dovecot/aliases > } > > # into /etc/dovecot/aliases > alias at user:::::::user=real_username noauthenticate > > This hopefully works. > > Aki This does appear to work, thanks! As an optimization of the alias file, we tried setting "override_fields = noauthenticate" in the passdb instead of placing it as an extra field for every entry, however this does not wor...
2018 Sep 25
3
Username aliases
Hi, Our organization is currently using a passwd-file user database for our Dovecot installs. However, we now want to provide simple username aliases. We currently use usernames that are -not- equal to the email address, but due to the fact that many major email clients/providers do not even allow you to specifiy a username, we now want to provide aliases where the username is equal to the
2018 Sep 27
2
Username aliases
On Wed, Sep 26, 2018 at 09:34:07AM +0300, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > # before current passbd > passdb { > ? driver = passwd-file > ? args = username_format=%Lu /etc/dovecot/aliases > } > > # into /etc/dovecot/aliases > alias at user:::::::user=real_username noauthenticate > > This hopefully works. This seems to work fine and I had the idea of doing something similar for the userdb, but there it appears that the user name change doesn't happen. > auth_debug=yes > userdb { > driver = passwd-file > args = username_format=%Lu...
2018 Sep 26
0
Username aliases
...in the primary passwd-file userdb using > the new username. Is this possible? > > What would be the best way to go about this? # before current passbd passdb { ? driver = passwd-file ? args = username_format=%Lu /etc/dovecot/aliases } # into /etc/dovecot/aliases alias at user:::::::user=real_username noauthenticate This hopefully works. Aki
2018 Sep 28
0
Username aliases
...07AM +0300, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: >> # before current passbd >> passdb { >> ? driver = passwd-file >> ? args = username_format=%Lu /etc/dovecot/aliases >> } >> >> # into /etc/dovecot/aliases >> alias at user:::::::user=real_username noauthenticate >> >> This hopefully works. > This seems to work fine and I had the idea of doing something similar > for the userdb, but there it appears that the user name change doesn't > happen. > >> auth_debug=yes >> userdb { >> driver = passwd-fi...
2004 Jul 06
3
bug in parsing the 'username map' in 3.0.5pre1
Hi Jerry et al, the parsing of the 'username map' file seems to be broken in 3.0.5pre1 and a few earlier releases. The '!' at the beginning of a line is ignored. Something like !lp = lp !chbeyer = chbeyer !guest = guest nobody = * doesn't work anymore :-( from the man page: [ snip ] If any line begins with an '!' then the processing will stop