What's new

[TUTORIAL] OpenVPN Connection/Disconnection Email Notifications

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Does somebody have any idea or solution.

my output give at Common Name: client and not the client name thats has logged in/out :-(
Try adding
Code:
username-as-common-name
in the 'Custom Configuration' GUI, or change the script references
Code:
$common_name

to

$username
 
If you are using username/password authentication try adding in the Custom Configuration box:
Code:
--username-as-common-name
I'm not sure that will change what is logged, but then after authentication I think the username is substituted in the environment variables.

EDIT: @Martineau beat me to it with a better answer.
 
Thx @elorimer & @Martineau for the quick reply & solution.

i just change the code to:

Name:</b> $username<br><br>")

and now its working great :)
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top