You can subscribe to this list here.
2001 |
Jan
(13) |
Feb
(24) |
Mar
(23) |
Apr
(11) |
May
(18) |
Jun
(90) |
Jul
(29) |
Aug
(26) |
Sep
(37) |
Oct
(10) |
Nov
(31) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(45) |
Feb
(18) |
Mar
(12) |
Apr
(7) |
May
(10) |
Jun
(62) |
Jul
(8) |
Aug
(40) |
Sep
(41) |
Oct
(43) |
Nov
(29) |
Dec
(36) |
2003 |
Jan
(25) |
Feb
(9) |
Mar
(11) |
Apr
(13) |
May
(19) |
Jun
(19) |
Jul
(11) |
Aug
(4) |
Sep
(109) |
Oct
(73) |
Nov
(69) |
Dec
(21) |
2004 |
Jan
(21) |
Feb
(33) |
Mar
(31) |
Apr
(25) |
May
(33) |
Jun
(42) |
Jul
(47) |
Aug
(12) |
Sep
(41) |
Oct
(47) |
Nov
(30) |
Dec
(19) |
2005 |
Jan
(6) |
Feb
(23) |
Mar
(21) |
Apr
(26) |
May
(21) |
Jun
(16) |
Jul
(17) |
Aug
(7) |
Sep
(8) |
Oct
(13) |
Nov
(7) |
Dec
(10) |
2006 |
Jan
(10) |
Feb
(3) |
Mar
|
Apr
(2) |
May
|
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(4) |
2007 |
Jan
(2) |
Feb
(3) |
Mar
(2) |
Apr
|
May
(1) |
Jun
(6) |
Jul
(6) |
Aug
(8) |
Sep
(3) |
Oct
(21) |
Nov
(4) |
Dec
(6) |
2008 |
Jan
(11) |
Feb
(28) |
Mar
(26) |
Apr
(9) |
May
(2) |
Jun
(10) |
Jul
(1) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(4) |
Feb
(10) |
Mar
(1) |
Apr
(24) |
May
(22) |
Jun
(18) |
Jul
(15) |
Aug
(21) |
Sep
(4) |
Oct
(7) |
Nov
(6) |
Dec
|
2010 |
Jan
|
Feb
(2) |
Mar
(13) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
|
2011 |
Jan
(18) |
Feb
(2) |
Mar
(23) |
Apr
(4) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
|
Nov
(5) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(31) |
Apr
(3) |
May
|
Jun
(2) |
Jul
(6) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
(7) |
2014 |
Jan
|
Feb
(1) |
Mar
(9) |
Apr
(4) |
May
(7) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(4) |
Dec
|
2016 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: marty l. <mal...@gm...> - 2014-06-06 15:17:59
|
I still can't get the behavior I want where I print some text as soon as possible and then wait. Here's the relevant parg of a test .cgi: $start=qx(date); ui_print_unbuffered_header('Changing communication mode'); $|=1; print "started at $start\n<BR>"; my $type_ethernet=$in{'type_ethernet'}; my $type_wifi=$in{'type_wifi'}; set_wifi($type_wifi); set_ethernet($type_ethernet); $end=qx(date); print "ends at $end\n<BR>"; #print '<meta http-equiv="refresh" content="0;URL=index.cgi">'; footer(); The behavior of the "meta refresh" is what I want (at the end of the script, go to another page) But everything seems to print at once: (with and without the $|=1 trick) Changing communication mode started at Wed Jun 4 03:36:49 UTC 2014 ssh stop/waiting ssh start/running, process 20496 ends at Wed Jun 4 03:36:56 UTC 2014 (there should be about a 7 second visual delay between the started and ends, the data is transmitted instantenously). I want the data to be transmitted when I write it. I've done lots of playing with this simple example wihtout different results (seems the output is being buffered). I have webmin being redirected through the SSL of nginx (though I can't imagine that would be a problem) marty On Fri, May 23, 2014 at 4:48 PM, Jamie Cameron <jca...@we...> wrote: > You can't use the redirect function, as that can only be called if header > isn't. You should instead output some JS like : > > <script> > window.location = "/module./page.cgi"; > </script> > > On 23/May/2014 07:15 marty leisner <mal...@gm...> wrote .. > > > Thanks -- its ui_print_unbuffered_header. > > But after the page is displayed, I want to force a redirect to another > page -- how would I do it > > Something like: > &ui_print_unbuffered_header('please wait'); > system('date'); > print "<BR>\n"; > sleep(5); > system('date'); > print "<BR>first line\n<BR>"; > sleep(5); > system('date'); > print "<BR>second line\n<BR>"; > > footer(); > > # redirect('index.cgi'); > > marty > > > On Wed, May 21, 2014 at 1:47 PM, Jamie Cameron <jca...@we... > <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote: > >> Try using un_print_unbuffered_header instead of ui_print_header >> >> On 20/May/2014 21:20 marty leisner <mal...@gm... >> <http://reply_mail.cgi?new=1&to=maleisner%40gmail%2Ecom>> wrote .. >> >> I'm having a problem where my page is delivered on the network at the >> same time -- after the delay (I used wireshark to >> monitor this) >> >> What I want tried is: >> >> ui_print_header('please wait'); >> footer(); >> sleep(5); >> print "final\n<BR>"; >> >> I would have expected to see the header render, a delay, and "final". >> >> Its all happening after the delay. >> >> What I really want to do is: >> >> display "please wait" >> run a long command >> redirect to another page (after the command runs) >> >> marty >> >> >> On Tue, May 20, 2014 at 4:19 PM, Jamie Cameron <jca...@we... >> <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote: >> >>> On 20/May/2014 09:27 marty leisner <mal...@gm... >>> <http://reply_mail.cgi?new=1&to=maleisner%40gmail%2Ecom>> wrote .. >>> > When having a custom module in webmin execute time consuming >>> commands, how >>> > would I add a >>> > "please wait" message until the command is finished (without user >>> > interaction). >>> > >>> > I.e.: >>> > >>> > start_please_wait(); >>> > system("long_command"); >>> > stop_please_wait(); >>> >>> In some modules, I've had Webmin print out a series of dots (one per >>> second) >>> while performing some long operation. The code is like : >>> >>> print "Doing something slow .."; >>> launch_slow_op_in_background(); >>> while(!done_slow_op()) { >>> sleep(1); >>> print "."; >>> } >>> print "<br>\n"; >>> print ".. done<p>\n"; >>> >>> - Jamie >>> >>> >>> ------------------------------------------------------------------------------ >>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE >>> Instantly run your Selenium tests across 300+ browser/OS combos. >>> Get unparalleled scalability from the best Selenium testing platform >>> available >>> Simple to use. Nothing to install. Get started now for free." >>> http://p.sf.net/sfu/SauceLabs >>> - >>> Forwarded by the Webmin development list at web...@we... >>> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom> >>> To remove yourself from this list, go to >>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel >>> >> >> >> >> >> ------------------------------------------------------------------------------ >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE >> Instantly run your Selenium tests across 300+ browser/OS combos. >> Get unparalleled scalability from the best Selenium testing platform >> available >> Simple to use. Nothing to install. Get started now for free." >> http://p.sf.net/sfu/SauceLabs >> - >> Forwarded by the Webmin development list at web...@we... >> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-devel >> >> > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > |
From: marty l. <mal...@gm...> - 2014-05-23 14:16:11
|
Thanks -- its ui_print_unbuffered_header. But after the page is displayed, I want to force a redirect to another page -- how would I do it Something like: &ui_print_unbuffered_header('please wait'); system('date'); print "<BR>\n"; sleep(5); system('date'); print "<BR>first line\n<BR>"; sleep(5); system('date'); print "<BR>second line\n<BR>"; footer(); # redirect('index.cgi'); marty On Wed, May 21, 2014 at 1:47 PM, Jamie Cameron <jca...@we...> wrote: > Try using un_print_unbuffered_header instead of ui_print_header > > On 20/May/2014 21:20 marty leisner <mal...@gm...> wrote .. > > I'm having a problem where my page is delivered on the network at the > same time -- after the delay (I used wireshark to > monitor this) > > What I want tried is: > > ui_print_header('please wait'); > footer(); > sleep(5); > print "final\n<BR>"; > > I would have expected to see the header render, a delay, and "final". > > Its all happening after the delay. > > What I really want to do is: > > display "please wait" > run a long command > redirect to another page (after the command runs) > > marty > > > On Tue, May 20, 2014 at 4:19 PM, Jamie Cameron <jca...@we...<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom> > > wrote: > >> On 20/May/2014 09:27 marty leisner <mal...@gm...<http://reply_mail.cgi?new=1&to=maleisner%40gmail%2Ecom>> >> wrote .. >> > When having a custom module in webmin execute time consuming >> commands, how >> > would I add a >> > "please wait" message until the command is finished (without user >> > interaction). >> > >> > I.e.: >> > >> > start_please_wait(); >> > system("long_command"); >> > stop_please_wait(); >> >> In some modules, I've had Webmin print out a series of dots (one per >> second) >> while performing some long operation. The code is like : >> >> print "Doing something slow .."; >> launch_slow_op_in_background(); >> while(!done_slow_op()) { >> sleep(1); >> print "."; >> } >> print "<br>\n"; >> print ".. done<p>\n"; >> >> - Jamie >> >> >> ------------------------------------------------------------------------------ >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE >> Instantly run your Selenium tests across 300+ browser/OS combos. >> Get unparalleled scalability from the best Selenium testing platform >> available >> Simple to use. Nothing to install. Get started now for free." >> http://p.sf.net/sfu/SauceLabs >> - >> Forwarded by the Webmin development list at web...@we...<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-devel >> > > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > |
From: Charlie G. <gar...@ze...> - 2014-05-21 07:11:32
|
Good afternoon, On 21/05/14 at 12:20 AM -0400, marty leisner <mal...@gm...> wrote: >I would have expected to see the header render, a delay, and "final". > >Its all happening after the delay. Sounds like print buffering. Either print enough content to flush buffer, or disable the buffer. I don't recall the syntax but google will find it for you quickly enough. Something like: $| = 1; Charlie -- Make-Tracks Secure Hosting Pty Ltd <http://www.make-tracks.com> PO Box 141 <ad...@ma...> Windsor NSW 2756 Australia Ph: +61 2 9043 0613 ** Take Control of Your Website ** |
From: marty l. <mal...@gm...> - 2014-05-21 04:21:37
|
I'm having a problem where my page is delivered on the network at the same time -- after the delay (I used wireshark to monitor this) What I want tried is: ui_print_header('please wait'); footer(); sleep(5); print "final\n<BR>"; I would have expected to see the header render, a delay, and "final". Its all happening after the delay. What I really want to do is: display "please wait" run a long command redirect to another page (after the command runs) marty On Tue, May 20, 2014 at 4:19 PM, Jamie Cameron <jca...@we...> wrote: > On 20/May/2014 09:27 marty leisner <mal...@gm...> wrote .. > > When having a custom module in webmin execute time consuming commands, > how > > would I add a > > "please wait" message until the command is finished (without user > > interaction). > > > > I.e.: > > > > start_please_wait(); > > system("long_command"); > > stop_please_wait(); > > In some modules, I've had Webmin print out a series of dots (one per > second) > while performing some long operation. The code is like : > > print "Doing something slow .."; > launch_slow_op_in_background(); > while(!done_slow_op()) { > sleep(1); > print "."; > } > print "<br>\n"; > print ".. done<p>\n"; > > - Jamie > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > |
From: Jamie C. <jca...@we...> - 2014-05-20 20:20:02
|
On 20/May/2014 09:27 marty leisner <mal...@gm...> wrote .. > When having a custom module in webmin execute time consuming commands, how > would I add a > "please wait" message until the command is finished (without user > interaction). > > I.e.: > > start_please_wait(); > system("long_command"); > stop_please_wait(); In some modules, I've had Webmin print out a series of dots (one per second) while performing some long operation. The code is like : print "Doing something slow .."; launch_slow_op_in_background(); while(!done_slow_op()) { sleep(1); print "."; } print "<br>\n"; print ".. done<p>\n"; - Jamie |
From: marty l. <mal...@gm...> - 2014-05-20 16:28:22
|
When having a custom module in webmin execute time consuming commands, how would I add a "please wait" message until the command is finished (without user interaction). I.e.: start_please_wait(); system("long_command"); stop_please_wait(); marty |
From: Jamie C. <jca...@we...> - 2014-04-14 22:43:30
|
On 14/Apr/2014 13:26 marty leisner <mal...@gm...> wrote .. > On Sun, Apr 13, 2014 at 6:59 PM, Jamie Cameron <jca...@we...> wrote: > > > On 12/Apr/2014 12:34 marty leisner <mal...@gm...> wrote .. > > > > > 3) Is there a way to hook a function after the module editor is > > "completed" > > > so "something knows" > > > editing has taken place (before the actions on the module are run?) > > > > > > Any examples which accomplish this (possibly in alternate ways) would be > > > appreciated. > > > > > > I'm thinking of having the "editor" as a webmin action so I can control > > it. > > > > I'm not quite sure what you mean here, sorry. > > > > - Jamie > > > > > Thanks for all the help... > > Is there a way to run a function after the editing has been completed? > > (i.e. if we have to "do certain things" before displaying the webmin module > controls)? Yes, in your module's config_info.pl file you can define a function called config_post_save that will be called after the config is saved. |
From: marty l. <mal...@gm...> - 2014-04-14 20:27:17
|
On Sun, Apr 13, 2014 at 6:59 PM, Jamie Cameron <jca...@we...> wrote: > On 12/Apr/2014 12:34 marty leisner <mal...@gm...> wrote .. > .... > > 3) Is there a way to hook a function after the module editor is > "completed" > > so "something knows" > > editing has taken place (before the actions on the module are run?) > > > > Any examples which accomplish this (possibly in alternate ways) would be > > appreciated. > > > > I'm thinking of having the "editor" as a webmin action so I can control > it. > > I'm not quite sure what you mean here, sorry. > > - Jamie > > Thanks for all the help... Is there a way to run a function after the editing has been completed? (i.e. if we have to "do certain things" before displaying the webmin module controls)? marty |
From: Jamie C. <jca...@we...> - 2014-04-13 23:00:02
|
On 12/Apr/2014 12:34 marty leisner <mal...@gm...> wrote .. > 1) can "webmin accounts" be involved in the module configuration. > i.e. can "some accounts" which can run the module be selected to "edit" the > configuration. > Can this be on an "option by option" basis? Yes, you can control on a per-user per-module basis. In the Webmin Users module you can click on a user and then on a module name (to bring up the detailed access control page), and at the top there will be a setting to determine if the Module Config page is available or not. > 2) Are there hooks to having a "parser" when free-form text is submitted > (i.e. if you want a "number" between 10 and 100, something which "confirms" > the text field is a number and within bounds (i.e. after a submittal, a way > to run a parser function) Yes - you can create a config_info.pl file in your module, which defines functions to show and validate a config field define in config.info. See the standard "mysql" module for an example. > 3) Is there a way to hook a function after the module editor is "completed" > so "something knows" > editing has taken place (before the actions on the module are run?) > > Any examples which accomplish this (possibly in alternate ways) would be > appreciated. > > I'm thinking of having the "editor" as a webmin action so I can control it. I'm not quite sure what you mean here, sorry. - Jamie |
From: marty l. <mal...@gm...> - 2014-04-12 19:34:58
|
1) can "webmin accounts" be involved in the module configuration. i.e. can "some accounts" which can run the module be selected to "edit" the configuration. Can this be on an "option by option" basis? 2) Are there hooks to having a "parser" when free-form text is submitted (i.e. if you want a "number" between 10 and 100, something which "confirms" the text field is a number and within bounds (i.e. after a submittal, a way to run a parser function) 3) Is there a way to hook a function after the module editor is "completed" so "something knows" editing has taken place (before the actions on the module are run?) Any examples which accomplish this (possibly in alternate ways) would be appreciated. I'm thinking of having the "editor" as a webmin action so I can control it. marty |
From: marty l. <mal...@gm...> - 2014-03-05 05:59:28
|
1) the arguments in apply_configuration to kill_byname_logged seems backwards: : leisner@t7400 10:50:07;rcsdiff -u foobar-lib.pl =================================================================== RCS file: foobar-lib.pl,v retrieving revision 1.2 diff -u -r1.2 foobar-lib.pl --- foobar-lib.pl 2014/03/04 15:36:41 1.2 +++ foobar-lib.pl 2014/03/04 15:37:03 @@ -83,7 +83,7 @@ =cut sub apply_configuration { -kill_byname_logged('HUP', 'foobard'); +kill_byname_logged('foobard', 'HUP'); } 2) I wrote a simple program for foobard #include <unistd.h> main() { pause(); } I'm using xml-rpc to execute "apply_configuration". I definitely see it working, but I don't see anything being logged. (I saw something being logged when I "added a website" in foobar). marty |
From: Jamie C. <jca...@we...> - 2014-03-02 19:59:41
|
On 01/Mar/2014 19:25 marty leisner <mal...@gm...> wrote .. > I'm writing custom modules and have the following requirements: > a) all actions need to log > b) xml-rpc needs to be able to trigger the actions > > It appears logging is modules written and I've seen it in the .cgi > scripts. Is there any logging "inherent" in webmin, or is it all module > driven. There is basic webserver logging to /var/webmin/miniserv.log , but this doesn't have the same detail as what you can get by calling webmin_log. > It looks like the .cgi scripts aren't accessabile from xml-rpc -- I suppose > to access the "actions" from xml-rpc I'd need to either > 1) put the actions in a method in the library (and invoke it from > both the cgi and the xml-rpc) Yes, that is correct. In an ideal module the CGI script would have very little actual functionality, and instead would call functions in your .pl file to do the real work. These could then also be called via XML-RPC. > 2) have a method in the library to invoke a .cgi script (in which case > the CGI script run without a GUI) I wouldn't recommend going this route. - Jamie |
From: marty l. <mal...@gm...> - 2014-03-02 03:26:43
|
I'm writing custom modules and have the following requirements: a) all actions need to log b) xml-rpc needs to be able to trigger the actions It appears logging is modules written and I've seen it in the .cgi scripts. Is there any logging "inherent" in webmin, or is it all module driven. It looks like the .cgi scripts aren't accessabile from xml-rpc -- I suppose to access the "actions" from xml-rpc I'd need to either 1) put the actions in a method in the library (and invoke it from both the cgi and the xml-rpc) 2) have a method in the library to invoke a .cgi script (in which case the CGI script run without a GUI) marty |
From: marty l. <mal...@gm...> - 2014-03-02 02:34:15
|
my test.pl is August 13, 2006. 1) when I set the URL to http, and set webmin to not use ssl, it works fine 2) when webmin is ssl, and I use http in url.txt, I get: : leisner@t7400 12:14:12;./test.pl Method call failed : 500 Can't connect to beagle.home:10000 (certificate verify failed) 3) when urll.txt is set to https: : leisner@t7400 09:30:23;./test.pl Method call failed : 500 Can't connect to localhost:10000 (certificate verify failed) marty On Sat, Mar 1, 2014 at 6:36 PM, Jamie Cameron <jca...@we...> wrote: > Are you using the un-modified test.pl script that is supplied with the > Webmin XML-RPC docs? Because in my tests, that doesn't require a valid > cert. > > On 01/Mar/2014 09:57 marty leisner <mal...@gm...> wrote .. > > > So how do I modify test.pl to 'not require a real cert? > > > > > > On Sat, Mar 1, 2014 at 12:35 PM, Jamie Cameron <jca...@we...<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom> > > wrote: > >> Make sure that either your Webmin server has a real CA-issued SSL cert, or >> that your test script is written to not require a valid SSL cert. >> >> On 01/Mar/2014 09:16 marty leisner <mal...@gm...<http://reply_mail.cgi?new=1&to=maleisner%40gmail%2Ecom>> >> wrote .. >> > I looked at xml-rpc examples. >> > >> > How do I run xml-rpc to a webmin server which uses ssl? >> > >> > I get back: >> > >> > : leisner@t7400 12:14:12;./test.pl >> > Method call failed : 500 Can't connect to beagle.home:10000 (certificate >> > verify failed) >> > >> > marty >> >> >> ------------------------------------------------------------------------------ >> Flow-based real-time traffic analytics software. Cisco certified tool. >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >> Customize your own dashboards, set traffic alerts and generate reports. >> Network behavioral analysis & security monitoring. All-in-one tool. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >> - >> Forwarded by the Webmin development list at web...@we...<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-devel >> > > > > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > |
From: Jamie C. <jca...@we...> - 2014-03-01 17:35:20
|
Make sure that either your Webmin server has a real CA-issued SSL cert, or that your test script is written to not require a valid SSL cert. On 01/Mar/2014 09:16 marty leisner <mal...@gm...> wrote .. > I looked at xml-rpc examples. > > How do I run xml-rpc to a webmin server which uses ssl? > > I get back: > > : leisner@t7400 12:14:12;./test.pl > Method call failed : 500 Can't connect to beagle.home:10000 (certificate > verify failed) > > marty |
From: marty l. <mal...@gm...> - 2014-03-01 17:17:05
|
I looked at xml-rpc examples. How do I run xml-rpc to a webmin server which uses ssl? I get back: : leisner@t7400 12:14:12;./test.pl Method call failed : 500 Can't connect to beagle.home:10000 (certificate verify failed) marty |
From: Eric M. <em...@le...> - 2014-02-14 16:47:18
|
Hi, I just wanted to report that Free Disk Space on right.cgi is definitely fixed for us on 1.675 (using Fedora Core 20). On version 1.670 it was not reporting the size of the MDADM RAID array, only the one physical disk in the system. Now it is properly reporting the size of the RAID array + the physical disk. |
From: Jamie C. <jca...@we...> - 2013-12-24 07:48:17
|
On 23/Dec/2013 11:54 Stephen G. Parry <sg...@ma...> wrote .. > Hi Jamie, > > The RFC has not changed in four years and I think is unlikely too. > Actually, developing this may not be not as bad as it sounds - e.g. the > attributes are read from LDAP and written to it regardless of the names > I think so backend writing / reading can remain as is. > Here is a break down of what we need: > In module config: > - a checkbox (enable rfc2307bis) > - a text field (dn member attribute name). > > In Edit User, Group Membership: > - Secondary Groups - functions just as now, but is relabelled 'Secondary > Groups (by UID)' > - New panel, shown only if rcf2307bis is set - Secondary Groups (by DN) > - pulls list of groups from the dn member attribute dictated by the > config. The left hand side can be populated in the same way as the > existing panel. The right hand will need a new query of some kind. > > In Edit Group, Group Details: > - Members - functions just as now, but labelled 'Member UIDs' > - New panel, shown only if rfc2307bis is set - labelled 'Member DNs'. > The left hand side will need a new LDAP query to populate it. Will need > a new variable to store list in. That would work .. although alternately, perhaps if rfc2307bis mode is enabled the old-style list of member UIDs could be replaced entirely by member DNs? > In LDAP Groups list: > - Concatenate the two attribute lists together before displaying as > members column > > I'll have a look at the code over the holiday and see if I can come up > with a provisional patch. Thanks, a patch would be awesome! - Jamie |
From: Stephen G. P. <sg...@ma...> - 2013-12-23 19:54:57
|
Hi Jamie, The RFC has not changed in four years and I think is unlikely too. Actually, developing this may not be not as bad as it sounds - e.g. the attributes are read from LDAP and written to it regardless of the names I think so backend writing / reading can remain as is. Here is a break down of what we need: In module config: - a checkbox (enable rfc2307bis) - a text field (dn member attribute name). In Edit User, Group Membership: - Secondary Groups - functions just as now, but is relabelled 'Secondary Groups (by UID)' - New panel, shown only if rcf2307bis is set - Secondary Groups (by DN) - pulls list of groups from the dn member attribute dictated by the config. The left hand side can be populated in the same way as the existing panel. The right hand will need a new query of some kind. In Edit Group, Group Details: - Members - functions just as now, but labelled 'Member UIDs' - New panel, shown only if rfc2307bis is set - labelled 'Member DNs'. The left hand side will need a new LDAP query to populate it. Will need a new variable to store list in. In LDAP Groups list: - Concatenate the two attribute lists together before displaying as members column I'll have a look at the code over the holiday and see if I can come up with a provisional patch. regards Stephen |
From: Jamie C. <jca...@we...> - 2013-12-23 06:32:04
|
Wow, that sounds like it is going to be painful to support in Webmin. I may just hold off until the RFC is finalized, to avoid having to make changes more than once. On 22/Dec/2013 05:37 Stephen G. Parry <sg...@ma...> wrote .. > Hi Jamie, > > Nss_ldap has a configuration option for supporting rfc2307bis and will > actually pull members from both the uid based and dn based attributes, > even in the same object - see section 5.2 of the draft spec: > http://tools.ietf.org/html/draft-howard-rfc2307bis-02. Hence webmin > would probably have to have an extra field for the DN based attribute > with configuration options to enable / disable each separately. Two > further complications: > > 1) different implementations use different names for the DN based > attributes (e.g. the DN based attribute is sometimes 'member' (later RFC > versions); other times 'uniqueMember' (early RFC versions), by > comparison the uid attribute is almost always 'memberUid' (as per > original spec)) - hence the name of the DN attribute will need to be > configurable too. The structural classes vary a lot too, thanks to spec > variations, but the existing webmin config allows for that - more or less. > > 2) An empty group appears not to be allowed in many implementations. > > It doesn't help that the RFC is far from complete - 'draft' is correct > because it really is full of holes! > > Stephen > > Date: Sat, 21 Dec 2013 14:01:32 -0800 (PST) From: "Jamie Cameron" > <jca...@we...> Subject: Re: [webmin-devel] LDAP Groups and > RFC2307BIS To: Webmin development list > <web...@li...> Message-ID: > <138...@we...> On 21/Dec/2013 10:24 Stephen G. Parry > <sg...@ma...> wrote .. > >> Hi, > >> I have recently had to reconfigure my OpenLDAP server to use RFC2307bis > >> groups, rather than the more usual RFC2307. A lot of admins are finding > >> the need to do this, mainly to get a working memberOf attribute for use > >> with many popular applications such as owncloud that are too dim to make > >> separate group and user lookups. The main difference between 2307 and > >> 2307bis is that the members of a group are store in 'member' or > >> 'uniqueMember' attributes, not 'memberUid', and they are DNs not just > >> uids . Unfortunately, the webmin LDAP users and groups module does not > >> appear to cope with this. I have stuck my nose into the code and indeed, > >> the attribute name appears to be hard coded and is uid only. Has anyone > >> done any work on this? I could try knocking together a patch, but I am > >> not a perl coder, so the learning curve would be steep. > >> Thanks in advance > >> Stephen Parry > > Hi Stephen, > > > > Does using RFC2307bis mean that the schema for Unix users and groups stored > > in LDAP changes? My understanding is that the schema is what defines > > the names of fields, and that changing this would also break NSS-LDAP (the Linux > > library that allows users and groups to be stored in LDAP). > > > > - Jamie > > > > > > > > ------------------------------ > > > > ------------------------------------------------------------------------------ > > Rapidly troubleshoot problems before they affect your business. Most IT > > organizations don't have a clear picture of how application performance > > affects their revenue. With AppDynamics, you get 100% visibility into your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > > > ------------------------------ > > > > _______________________________________________ > > webadmin-devel mailing list > > web...@li... > > https://lists.sourceforge.net/lists/listinfo/webadmin-devel > > > > > > End of webadmin-devel Digest, Vol 40, Issue 1 > > ********************************************* > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel |
From: Stephen G. P. <sg...@ma...> - 2013-12-22 13:37:39
|
Hi Jamie, Nss_ldap has a configuration option for supporting rfc2307bis and will actually pull members from both the uid based and dn based attributes, even in the same object - see section 5.2 of the draft spec: http://tools.ietf.org/html/draft-howard-rfc2307bis-02. Hence webmin would probably have to have an extra field for the DN based attribute with configuration options to enable / disable each separately. Two further complications: 1) different implementations use different names for the DN based attributes (e.g. the DN based attribute is sometimes 'member' (later RFC versions); other times 'uniqueMember' (early RFC versions), by comparison the uid attribute is almost always 'memberUid' (as per original spec)) - hence the name of the DN attribute will need to be configurable too. The structural classes vary a lot too, thanks to spec variations, but the existing webmin config allows for that - more or less. 2) An empty group appears not to be allowed in many implementations. It doesn't help that the RFC is far from complete - 'draft' is correct because it really is full of holes! Stephen Date: Sat, 21 Dec 2013 14:01:32 -0800 (PST) From: "Jamie Cameron" <jca...@we...> Subject: Re: [webmin-devel] LDAP Groups and RFC2307BIS To: Webmin development list <web...@li...> Message-ID: <138...@we...> On 21/Dec/2013 10:24 Stephen G. Parry <sg...@ma...> wrote .. >> Hi, >> I have recently had to reconfigure my OpenLDAP server to use RFC2307bis >> groups, rather than the more usual RFC2307. A lot of admins are finding >> the need to do this, mainly to get a working memberOf attribute for use >> with many popular applications such as owncloud that are too dim to make >> separate group and user lookups. The main difference between 2307 and >> 2307bis is that the members of a group are store in 'member' or >> 'uniqueMember' attributes, not 'memberUid', and they are DNs not just >> uids . Unfortunately, the webmin LDAP users and groups module does not >> appear to cope with this. I have stuck my nose into the code and indeed, >> the attribute name appears to be hard coded and is uid only. Has anyone >> done any work on this? I could try knocking together a patch, but I am >> not a perl coder, so the learning curve would be steep. >> Thanks in advance >> Stephen Parry > Hi Stephen, > > Does using RFC2307bis mean that the schema for Unix users and groups stored > in LDAP changes? My understanding is that the schema is what defines > the names of fields, and that changing this would also break NSS-LDAP (the Linux > library that allows users and groups to be stored in LDAP). > > - Jamie > > > > ------------------------------ > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > ------------------------------ > > _______________________________________________ > webadmin-devel mailing list > web...@li... > https://lists.sourceforge.net/lists/listinfo/webadmin-devel > > > End of webadmin-devel Digest, Vol 40, Issue 1 > ********************************************* |
From: <BT...@de...> - 2013-12-22 04:22:19
|
I am out of the office until 01/06/2014. Note: This is an automated response to your message "webadmin-devel Digest, Vol 40, Issue 1" sent on 12/21/2013 4:01:40 PM. This is the only notification you will receive while this person is away. |
From: Jamie C. <jca...@we...> - 2013-12-21 22:01:40
|
On 21/Dec/2013 10:24 Stephen G. Parry <sg...@ma...> wrote .. > Hi, > I have recently had to reconfigure my OpenLDAP server to use RFC2307bis > groups, rather than the more usual RFC2307. A lot of admins are finding > the need to do this, mainly to get a working memberOf attribute for use > with many popular applications such as owncloud that are too dim to make > separate group and user lookups. The main difference between 2307 and > 2307bis is that the members of a group are store in 'member' or > 'uniqueMember' attributes, not 'memberUid', and they are DNs not just > uids . Unfortunately, the webmin LDAP users and groups module does not > appear to cope with this. I have stuck my nose into the code and indeed, > the attribute name appears to be hard coded and is uid only. Has anyone > done any work on this? I could try knocking together a patch, but I am > not a perl coder, so the learning curve would be steep. > Thanks in advance > Stephen Parry Hi Stephen, Does using RFC2307bis mean that the schema for Unix users and groups stored in LDAP changes? My understanding is that the schema is what defines the names of fields, and that changing this would also break NSS-LDAP (the Linux library that allows users and groups to be stored in LDAP). - Jamie |
From: Stephen G. P. <sg...@ma...> - 2013-12-21 18:24:46
|
Hi, I have recently had to reconfigure my OpenLDAP server to use RFC2307bis groups, rather than the more usual RFC2307. A lot of admins are finding the need to do this, mainly to get a working memberOf attribute for use with many popular applications such as owncloud that are too dim to make separate group and user lookups. The main difference between 2307 and 2307bis is that the members of a group are store in 'member' or 'uniqueMember' attributes, not 'memberUid', and they are DNs not just uids . Unfortunately, the webmin LDAP users and groups module does not appear to cope with this. I have stuck my nose into the code and indeed, the attribute name appears to be hard coded and is uid only. Has anyone done any work on this? I could try knocking together a patch, but I am not a perl coder, so the learning curve would be steep. Thanks in advance Stephen Parry |
From: Paul G. <pa...@ge...> - 2013-10-13 20:38:38
|
I would definitely use the Perl testing tooling. I wrote some test infrastructure for some code I wrote for a client a couple of years back, and I found it pretty easy & intuitive. Example here: https://github.com/paulgear/mail-archive/tree/next/t Regards, Paul On 10/12/2013 01:23 AM, PEOPLES, MICHAEL P wrote: > I’m no expert, but given that this written in Perl, I’d look to that > tooling for testing procedures. > > Michael Peoples (mp4783) > ... > > *From:*Chris Cooper [mailto:cc...@co...] > *Sent:* Friday, October 11, 2013 10:28 > *To:* web...@li... > *Subject:* [webmin-devel] module development and testing > > Hi, > > We're currently looking into writing a webmin module for configuring a > proprietary application on our appliance platform (currently targeting > Turnkey Linux which includes webmin by default). > > I have found the development wiki which has all kinds of useful > information, but I can find nothing on testing. > > I am interested in how we can unit test (if that is even possible) our > module. What are the testing best practices? Is there a test harness we > can make use of? > > Thanks > |