diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-08 04:02:56 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-08 04:02:56 +0000 |
commit | 2270775d8c17ce040818887cf8e3b288182660b6 (patch) | |
tree | da2a41df7d150050696ff9500fa32040e8664865 /misc.c | |
parent | PROTO_TCPv4 is never used as an index into (diff) | |
download | openvpn-2270775d8c17ce040818887cf8e3b288182660b6.tar.xz |
Added #ifdefed out AUTO_USERID feature.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1436 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | misc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1277,6 +1277,11 @@ get_user_pass (struct user_pass *up, msg (M_FATAL, "Error reading username and password (must be on two consecutive lines) from %s authfile: %s", prefix, auth_file); + +#if defined(AUTO_USERID) && defined(WIN32) + if (!strncmp (up->username, "AUTO_USERID", 11)) + get_auto_userid (up->username, USER_PASS_LEN); +#endif } fclose (fp); |