in reply to Pointers required on understanding LDAP Authenticating script for openvpn
You don't show the code that you use to read these values in from the command line. It's possible you're just forgetting to chomp the result and newline is being included as part of the value
It's possible to use this script from the command line with no changes however. Either set those values in the environment before running it, or just:
username=WHATEVER password=SECRET ./ldap_authenticate.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pointers required on understanding LDAP Authenticating script for openvpn
by shekarkcb (Beadle) on Apr 10, 2013 at 12:01 UTC | |
by influx (Beadle) on Apr 10, 2013 at 15:26 UTC |