From 5f31881ec189f02297b961c990c471568f25dbde Mon Sep 17 00:00:00 2001 From: james Date: Mon, 13 Nov 2006 09:44:10 +0000 Subject: New try at AUTO_USERID. Implemented AUTO_USERID using MD5(MAC address(primary network adapter)). Currently implemented for Linux and Windows. Basically if ENABLE_AUTO_USERID is defined, the --auth-user-pass option will not prompt for username/password, but will rather generate a unique username and blank password. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1459 e7ae566f-a301-0410-adde-c780ea21d3b5 --- misc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc.h') diff --git a/misc.h b/misc.h index fa13daf..ac76185 100644 --- a/misc.h +++ b/misc.h @@ -264,4 +264,8 @@ void openvpn_sleep (const int n); void configure_path (void); +#if AUTO_USERID +void get_user_pass_auto_userid (struct user_pass *up); +#endif + #endif -- cgit v1.2.3