2 demonstrate access to loadparm functions from ejs
5 function showParameter(name) {
7 printVars(lpGet(name));
11 showParameter(ARGV[v]);
14 print("defined services: ");
15 printVars(lpServices());
17 showParameter("server services");
18 showParameter("netbios name");
19 showParameter("security");
20 showParameter("workgroup");
21 showParameter("log level");
22 showParameter("server signing");
23 showParameter("interfaces");