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

Added parameters UserDAP and PassDAP


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@894 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 95a62c16
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -28,6 +28,10 @@ NmxpPortPDS 28000 # Port number of NaqsServer (Default 28

NmxpPortDAP          28002               # Port number of DataServer(Default 28002)
                                         # 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.)
                                         # In general, DO NOT use with parameter TimeoutRecv.
+12 −0
Original line number Diff line number Diff line
@@ -384,6 +384,18 @@ int nmxptool_ew_proc_configfile (char * configfile, NMXPTOOL_PARAMS *params) {
		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")) {
		forcetracebuf = k_int();
	    }