Displaying 4 results from an estimated 4 matches for "auth_orig_user".
2014 May 03
1
%{orig_user} missing in checkpassword-Script
...auth_request);
tab[29].value = strchr(auth_request->original_username,
'@');
if (tab[29].value != NULL) {
tab[29].value = escape_func(tab[29].value+1,
auth_request);
}
}
return ret_tab;
This will add AUTH_ORIG_USER, AUTH_ORIG_USERNAME and AUTH_ORIG_DOMAIN
environment variables to the environment of every checkpassword script.
If this is the correct way to extend the environment of a
chackpassword-script
then you might consider adding these minor changes to the dovecot-source.
Kind regards and thanks very mu...
2015 Sep 11
2
Need help on checkpassword userdb/passdb
...R=mark
AUTH_USERNAME=mark
AUTH_SERVICE=imap
AUTH_LIP=192.168.0.2
AUTH_RIP=192.168.0.58
AUTH_PID=14748
AUTH_MECH=PLAIN
AUTH_SECURED=
AUTH_LPORT=143
AUTH_RPORT=49649
AUTH_CERT=
AUTH_SESSION=AkYg1G8f8QDAqAA6
AUTH_REAL_LIP=192.168.0.2
AUTH_REAL_RIP=192.168.0.58
AUTH_REAL_LPORT=143
AUTH_REAL_RPORT=49649
AUTH_ORIG_USER=mark
AUTH_ORIG_USERNAME=mark
--Mark
2014 Mar 27
0
%{orig_user} missing in checkpassword-Script
...-variable and
the %{orig_user} Dovecot-variable. But the environment of a
checkpassword-script has only one of them.
Any ideas?
I tried to change the source and found the routine where all the AUTH_xxx
environment variables are created. But the %{orig_user] variable was empty
at that point, so no AUTH_ORIG_USER variable is created.
I'm afraight that whenever the %{user}-Variable is replaced by the UID from
the client certificate (due to auth_ssl_username_from_cert=true), the
original value of %{user} is NOT copied into %{orig_user}
Can someone more familiar with the dovecot source check this please...
2015 Sep 12
0
Need help on checkpassword userdb/passdb
...R=mark
AUTH_USERNAME=mark
AUTH_SERVICE=imap
AUTH_LIP=192.168.0.2
AUTH_RIP=192.168.0.58
AUTH_PID=14748
AUTH_MECH=PLAIN
AUTH_SECURED=
AUTH_LPORT=143
AUTH_RPORT=49649
AUTH_CERT=
AUTH_SESSION=AkYg1G8f8QDAqAA6
AUTH_REAL_LIP=192.168.0.2
AUTH_REAL_RIP=192.168.0.58
AUTH_REAL_LPORT=143
AUTH_REAL_RPORT=49649
AUTH_ORIG_USER=mark
AUTH_ORIG_USERNAME=mark
--Mark