Displaying 1 result from an estimated 1 matches for "env_put_auth_vars".
2014 May 03
1
%{orig_user} missing in checkpassword-Script
...ecot-variable
and the %{orig_user} Dovecot-variable. But the environment of a
checkpassword-script has only one of them.
I tried myself and found the following:
- the environment of a checkpassword script is setup by
checkpassword_setup_env() in db-checkpassword.c
- checkpassword_setup_env() calls env_put_auth_vars()
- env_put_auth_vars() creates AUTH_xxx environment variables for all
entries of the auth_request_get_var_expand_table()
- the auth_request_get_var_expand_table_full() routine does not contain the
original user, but the auth_request-struct does.
So I changed the dovecot sourcecode (version 2.2.12...