Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6182:593d2ab4df0d HEAD
Renamed auth_winbind_helper to auth_winbind_helper_path.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 06 Aug 2007 21:21:06 +0300 |
parents | 18f663e23c28 |
children | 657931e0af80 |
files | dovecot-example.conf src/auth/mech-winbind.c src/master/auth-process.c src/master/master-settings.c src/master/master-settings.h |
diffstat | 5 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/dovecot-example.conf Mon Aug 06 21:12:51 2007 +0300 +++ b/dovecot-example.conf Mon Aug 06 21:21:06 2007 +0300 @@ -793,7 +793,7 @@ #auth_ntlm_use_winbind = no # Path for Samba's ntlm_auth helper binary. -#auth_winbind_helper = /usr/bin/ntlm_auth +#auth_winbind_helper_path = /usr/bin/ntlm_auth auth default { # Space separated list of wanted authentication mechanisms:
--- a/src/auth/mech-winbind.c Mon Aug 06 21:12:51 2007 +0300 +++ b/src/auth/mech-winbind.c Mon Aug 06 21:21:06 2007 +0300 @@ -19,7 +19,7 @@ #include <stdlib.h> #include <unistd.h> -#define DEFAULT_WINBIND_HELPER "/usr/bin/ntlm_auth" +#define DEFAULT_WINBIND_HELPER_PATH "/usr/bin/ntlm_auth" enum helper_result { HR_OK = 0, /* OK or continue */ @@ -90,9 +90,9 @@ dup2(infd[1], STDOUT_FILENO) < 0) i_fatal("dup2() failed: %m"); - helper_path = getenv("WINBIND_HELPER"); + helper_path = getenv("WINBIND_HELPER_PATH"); if (helper_path == NULL) - helper_path = DEFAULT_WINBIND_HELPER; + helper_path = DEFAULT_WINBIND_HELPER_PATH; args[0] = helper_path; args[1] = winbind->param;
--- a/src/master/auth-process.c Mon Aug 06 21:12:51 2007 +0300 +++ b/src/master/auth-process.c Mon Aug 06 21:21:06 2007 +0300 @@ -490,7 +490,8 @@ env_put(t_strconcat("GSSAPI_HOSTNAME=", set->gssapi_hostname, NULL)); } - env_put(t_strconcat("WINBIND_HELPER=", set->winbind_helper, NULL)); + env_put(t_strconcat("WINBIND_HELPER_PATH=", + set->winbind_helper_path, NULL)); restrict_process_size(set->process_size, (unsigned int)-1); }
--- a/src/master/master-settings.c Mon Aug 06 21:12:51 2007 +0300 +++ b/src/master/master-settings.c Mon Aug 06 21:21:06 2007 +0300 @@ -78,7 +78,7 @@ DEF_STR(anonymous_username), DEF_STR(krb5_keytab), DEF_STR(gssapi_hostname), - DEF_STR(winbind_helper), + DEF_STR(winbind_helper_path), DEF_BOOL(verbose), DEF_BOOL(debug), @@ -305,7 +305,7 @@ MEMBER(anonymous_username) "anonymous", MEMBER(krb5_keytab) "", MEMBER(gssapi_hostname) "", - MEMBER(winbind_helper) "/usr/bin/ntlm_auth", + MEMBER(winbind_helper_path) "/usr/bin/ntlm_auth", MEMBER(verbose) FALSE, MEMBER(debug) FALSE,
--- a/src/master/master-settings.h Mon Aug 06 21:12:51 2007 +0300 +++ b/src/master/master-settings.h Mon Aug 06 21:21:06 2007 +0300 @@ -204,7 +204,7 @@ const char *anonymous_username; const char *krb5_keytab; const char *gssapi_hostname; - const char *winbind_helper; + const char *winbind_helper_path; bool verbose, debug, debug_passwords; bool ssl_require_client_cert;