Displaying 2 results from an estimated 2 matches for "auth_protocol".
2004 Jun 14
1
vpopmail and open smtp relay
...@
#ifndef __AUTH_LOGIN_INTERFACE_H
#define __AUTH_LOGIN_INTERFACE_H
+#ifdef PASSDB_VPOPMAIL
+#include "network.h"
+#endif
+
/* max. size for auth_login_request_continue.data[] */
#define AUTH_LOGIN_MAX_REQUEST_DATA_SIZE 4096
@@ -50,6 +54,10 @@
enum auth_mech mech;
enum auth_protocol protocol;
+
+#ifdef PASSDB_VPOPMAIL
+ struct ip_addr client_ip;
+#endif
};
/* Continue authentication request */
diff -Naur dovecot-0.99.10.5/src/auth/mech.c
dovecot-0.99.10.5-patched/src/auth/mech.c
--- dovecot-0.99.10.5/src/auth/mech.c Sun May 18 16:26:28 2003
+++ dovecot-0.99....
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client
connected available to the authentication modules; i.e., the local IP
address is available for substitution as %i for the mysql and pgsql
modules. We needed this feature to support thousands of our legacy
accounts which are authenticated by username/local_part (not the full
email address) and IP address (one per domain).
Timo,