diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-13 09:44:10 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-13 09:44:10 +0000 |
commit | 5f31881ec189f02297b961c990c471568f25dbde (patch) | |
tree | 75d2fa3cb8741730afadf9da2ba2fb03b225eff9 /syshead.h | |
parent | Attempt at rational signal handling when in the (diff) | |
download | openvpn-5f31881ec189f02297b961c990c471568f25dbde.tar.xz |
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
Diffstat (limited to 'syshead.h')
-rw-r--r-- | syshead.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -515,4 +515,13 @@ socket_defined (const socket_descriptor_t sd) #define CONNECT_NONBLOCK #endif +/* + * Do we have the capability to support the AUTO_USERID feature? + */ +#if defined(ENABLE_AUTO_USERID) +#define AUTO_USERID 1 +#else +#define AUTO_USERID 0 +#endif + #endif |