Displaying 2 results from an estimated 2 matches for "pointer_cast".
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,
2004 Jun 14
1
vpopmail and open smtp relay
...0 @@
auth_request->conn = conn;
auth_request->id = request->id;
auth_request->protocol = request->protocol;
-
+#ifdef PASSDB_VPOPMAIL
+ auth_request->client_ip = request->client_ip;
+#endif
+
hash_insert(conn->auth_requests, POINTER_CAST(request->id),
auth_request);
}
diff -Naur dovecot-0.99.10.5/src/auth/mech.h
dovecot-0.99.10.5-patched/src/auth/mech.h
--- dovecot-0.99.10.5/src/auth/mech.h Sun May 18 16:26:28 2003
+++ dovecot-0.99.10.5-patched/src/auth/mech.h Mon Jun 14 13:26:29 2004
@@ -19,6 +19,10...