Commit 65795a8e authored by Matteo Quintiliani's avatar Matteo Quintiliani

Added parameters UserDAP and PassDAP


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@894 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 95a62c16
...@@ -28,6 +28,10 @@ NmxpPortPDS 28000 # Port number of NaqsServer (Default 28 ...@@ -28,6 +28,10 @@ NmxpPortPDS 28000 # Port number of NaqsServer (Default 28
NmxpPortDAP 28002 # Port number of DataServer(Default 28002) NmxpPortDAP 28002 # Port number of DataServer(Default 28002)
# It is equivalent to the option -D. # It is equivalent to the option -D.
#UserDAP myuser # DataServer user name. Comment if 'none'.
# It is equivalent to the option -u.
#PassDAP mypass # DataServer password. Comment if 'none'.
# It is equivalent to the option -p.
MaxTolerableLatency 120 # Max tolerable latency for each channel. (Default 600 sec.) MaxTolerableLatency 120 # Max tolerable latency for each channel. (Default 600 sec.)
# In general, DO NOT use with parameter TimeoutRecv. # In general, DO NOT use with parameter TimeoutRecv.
......
...@@ -384,6 +384,18 @@ int nmxptool_ew_proc_configfile (char * configfile, NMXPTOOL_PARAMS *params) { ...@@ -384,6 +384,18 @@ int nmxptool_ew_proc_configfile (char * configfile, NMXPTOOL_PARAMS *params) {
params->portnumberdap = k_int(); params->portnumberdap = k_int();
} }
else if (k_its ("UserDAP")) {
if ( (str = k_str ()) ) {
params->datas_username = strdup(str);
}
}
else if (k_its ("PassDAP")) {
if ( (str = k_str ()) ) {
params->datas_password = strdup(str);
}
}
else if (k_its ("ForceTraceBuf1")) { else if (k_its ("ForceTraceBuf1")) {
forcetracebuf = k_int(); forcetracebuf = k_int();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment