diff src/auth/mech-winbind.c @ 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
line wrap: on
line diff
--- 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;