Displaying 2 results from an estimated 2 matches for "auth_request_var_expand_static_tab".
2014 May 03
1
%{orig_user} missing in checkpassword-Script
...uest-struct does.
So I changed the dovecot sourcecode (version 2.2.12) as follows
In src/auth/auth-request.h line 152 I replaced
#define AUTH_REQUEST_VAR_TAB_COUNT 27
by
#define AUTH_REQUEST_VAR_TAB_COUNT 30
In src/auth/auth-request.c around line 2027 I replaced the
following lines at the end of auth_request_var_expand_static_tab
{ '\0', NULL, "session_pid" },
/* be sure to update AUTH_REQUEST_VAR_TAB_COUNT */
{ '\0', NULL, NULL }
};
by
{ '\0', NULL, "session_pid" },
{ '\0', NULL, "orig_user" },
{ '\0', N...
2014 Nov 03
0
SSL Client authentication with trustcenter-certificate
...o not contain a x500uniqueIdentifier nor something similar.
I would like to map these certificates to user accounts and my first idea
was to do so from my checkpassword programm.
But how do I find out the client-certificate from within a checkpassword
script. I tried to add an additional entry to
auth_request_var_expand_static_tab and fill in that environment variable in
auth_request_get_var_expand_table_full() (both in src/auth/auth-request.c).
But where do I find the SSL-context from which I can extract the client
certificate?
Kind regards
Peter Koch