You can subscribe to this list here.
| 2001 |
Jan
(39) |
Feb
(258) |
Mar
(396) |
Apr
(439) |
May
(337) |
Jun
(351) |
Jul
(296) |
Aug
(205) |
Sep
(328) |
Oct
(174) |
Nov
(252) |
Dec
(172) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(213) |
Feb
(194) |
Mar
(337) |
Apr
(314) |
May
(373) |
Jun
(522) |
Jul
(417) |
Aug
(471) |
Sep
(486) |
Oct
(422) |
Nov
(274) |
Dec
(299) |
| 2003 |
Jan
(354) |
Feb
(310) |
Mar
(379) |
Apr
(349) |
May
(388) |
Jun
(218) |
Jul
(368) |
Aug
(340) |
Sep
(222) |
Oct
(176) |
Nov
(214) |
Dec
(211) |
| 2004 |
Jan
(221) |
Feb
(187) |
Mar
(190) |
Apr
(211) |
May
(114) |
Jun
(136) |
Jul
(124) |
Aug
(178) |
Sep
(244) |
Oct
(203) |
Nov
(215) |
Dec
(156) |
| 2005 |
Jan
(334) |
Feb
(268) |
Mar
(302) |
Apr
(309) |
May
(192) |
Jun
(288) |
Jul
(273) |
Aug
(215) |
Sep
(318) |
Oct
(347) |
Nov
(226) |
Dec
(265) |
| 2006 |
Jan
(192) |
Feb
(227) |
Mar
(311) |
Apr
(197) |
May
(224) |
Jun
(213) |
Jul
(285) |
Aug
(227) |
Sep
(190) |
Oct
(209) |
Nov
(169) |
Dec
(174) |
| 2007 |
Jan
(149) |
Feb
(112) |
Mar
(144) |
Apr
(204) |
May
(178) |
Jun
(155) |
Jul
(246) |
Aug
(221) |
Sep
(187) |
Oct
(262) |
Nov
(163) |
Dec
(158) |
| 2008 |
Jan
(256) |
Feb
(318) |
Mar
(307) |
Apr
(237) |
May
(202) |
Jun
(105) |
Jul
(131) |
Aug
(107) |
Sep
(153) |
Oct
(165) |
Nov
(159) |
Dec
(189) |
| 2009 |
Jan
(202) |
Feb
(150) |
Mar
(151) |
Apr
(132) |
May
(56) |
Jun
(115) |
Jul
(103) |
Aug
(150) |
Sep
(141) |
Oct
(187) |
Nov
(154) |
Dec
(105) |
| 2010 |
Jan
(128) |
Feb
(83) |
Mar
(64) |
Apr
(37) |
May
(92) |
Jun
(91) |
Jul
(90) |
Aug
(145) |
Sep
(53) |
Oct
(69) |
Nov
(98) |
Dec
(149) |
| 2011 |
Jan
(44) |
Feb
(99) |
Mar
(70) |
Apr
(78) |
May
(138) |
Jun
(132) |
Jul
(151) |
Aug
(146) |
Sep
(107) |
Oct
(168) |
Nov
(88) |
Dec
(94) |
| 2012 |
Jan
(51) |
Feb
(153) |
Mar
(141) |
Apr
(102) |
May
(79) |
Jun
(63) |
Jul
(87) |
Aug
(39) |
Sep
(67) |
Oct
(84) |
Nov
(57) |
Dec
(31) |
| 2013 |
Jan
(55) |
Feb
(96) |
Mar
(79) |
Apr
(33) |
May
(53) |
Jun
(63) |
Jul
(57) |
Aug
(76) |
Sep
(39) |
Oct
(47) |
Nov
(68) |
Dec
(61) |
| 2014 |
Jan
(26) |
Feb
(98) |
Mar
(29) |
Apr
(57) |
May
(58) |
Jun
(51) |
Jul
(34) |
Aug
(26) |
Sep
(69) |
Oct
(81) |
Nov
(52) |
Dec
(48) |
| 2015 |
Jan
(67) |
Feb
(18) |
Mar
(92) |
Apr
(32) |
May
(37) |
Jun
(21) |
Jul
(26) |
Aug
(28) |
Sep
(6) |
Oct
(24) |
Nov
(35) |
Dec
(34) |
| 2016 |
Jan
(16) |
Feb
(24) |
Mar
(49) |
Apr
(11) |
May
(37) |
Jun
(68) |
Jul
(35) |
Aug
(24) |
Sep
(35) |
Oct
(63) |
Nov
(20) |
Dec
(26) |
| 2017 |
Jan
(98) |
Feb
(82) |
Mar
(42) |
Apr
(62) |
May
(55) |
Jun
(28) |
Jul
(17) |
Aug
(13) |
Sep
(4) |
Oct
(11) |
Nov
(6) |
Dec
(17) |
| 2018 |
Jan
(22) |
Feb
(6) |
Mar
(16) |
Apr
(9) |
May
(20) |
Jun
(25) |
Jul
(15) |
Aug
(10) |
Sep
(6) |
Oct
(2) |
Nov
(14) |
Dec
(25) |
| 2019 |
Jan
(8) |
Feb
(6) |
Mar
(6) |
Apr
(4) |
May
(13) |
Jun
(8) |
Jul
(14) |
Aug
(36) |
Sep
(10) |
Oct
(27) |
Nov
(5) |
Dec
|
| 2020 |
Jan
(10) |
Feb
(4) |
Mar
|
Apr
(1) |
May
(2) |
Jun
(3) |
Jul
(4) |
Aug
(11) |
Sep
(1) |
Oct
(1) |
Nov
(5) |
Dec
(12) |
| 2021 |
Jan
(2) |
Feb
|
Mar
(4) |
Apr
(6) |
May
(8) |
Jun
(2) |
Jul
(1) |
Aug
(7) |
Sep
(3) |
Oct
(23) |
Nov
(10) |
Dec
(17) |
| 2022 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
(2) |
May
(6) |
Jun
(5) |
Jul
(27) |
Aug
(5) |
Sep
(3) |
Oct
(9) |
Nov
(3) |
Dec
(11) |
| 2023 |
Jan
(13) |
Feb
(7) |
Mar
(3) |
Apr
|
May
(4) |
Jun
(9) |
Jul
|
Aug
(17) |
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2025 |
Jan
(2) |
Feb
(6) |
Mar
(4) |
Apr
(10) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
| 2026 |
Jan
|
Feb
(3) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <bo...@de...> - 2007-03-12 17:18:20
|
> > You may need to restart Cron .. If updated timezone files were installed > on your system after Cron was started, it will still be caching the old > DST information in memory. To flush this, login to Webmin, go to the > Bootup and Shutdown module, click on the 'cron' entry, and click the button > to restart it. > > - Jamie i see what you mean i'll try it manually i dont see any cron entry in that module only restart and shutdown |
|
From: Jamie C. <jca...@we...> - 2007-03-12 16:59:16
|
On 12/Mar/2007 08:27 bo...@de... wrote .. > not sure where is the issue? > > since sunday change to DST my system did not change by itself, > i manually change via webmin and i am noticing that the email on cron jobs > shows different time then when the job runs > > i have a cron job to run at 10:45 set thru webmin > currently my server shows correct time > > System hostname pepino > Operating system Slackware Linux 11.0.0 > Webmin version 1.330 > Time on server Mon Mar 12 12:22:04 2007 > CPU load averages 1.78 (1 min) 0.59 (5 mins) 0.20 (15 mins) > Real memory 503 MB total, 340 MB used > > yet the email is showing normal time instead of DST > > see email notification of job > Server Time: Mon, 12 Mar 2007 11:45:04 -0400<<<<<<< seems wrong > yet i just notice the date in usermin shows > 12/03/2007 10:45 <<<<<< > > where is this discrepency comming from the correct time is 10:45 not 11:45 You may need to restart Cron .. If updated timezone files were installed on your system after Cron was started, it will still be caching the old DST information in memory. To flush this, login to Webmin, go to the Bootup and Shutdown module, click on the 'cron' entry, and click the button to restart it. - Jamie |
|
From: <bo...@de...> - 2007-03-12 16:47:43
|
John Hinton wrote .. > The date that the time changes changed this year. If I understand it > right, the sync to like a NTP server will produce the proper UTC time > which is unaffected by DST, but instead is 'world time' so to speak. > > So, the adjustment to that time is made on individual machines.. time > zones, if they use DST, and the dates that DST goes on and off. > > I'm betting you did not do the updates to your server which carried the > new DST information, in particular, the change to the date that DST begins. > > Best, > John Hinton > one more detail i forgot system time in webmin shows correct time as well |
|
From: <bo...@de...> - 2007-03-12 16:45:51
|
John Hinton wrote .. > The date that the time changes changed this year. If I understand it > right, the sync to like a NTP server will produce the proper UTC time > which is unaffected by DST, but instead is 'world time' so to speak. > > So, the adjustment to that time is made on individual machines.. time > zones, if they use DST, and the dates that DST goes on and off. > > I'm betting you did not do the updates to your server which carried the > new DST information, in particular, the change to the date that DST begins. > > Best, > John Hinton > but date on the server shows correct info bash-3.1# date Mon Mar 12 12:45:04 EDT 2007 while even dansguardian log is showing 1 hour off |
|
From: John H. <web...@ew...> - 2007-03-12 16:42:42
|
The date that the time changes changed this year. If I understand it right, the sync to like a NTP server will produce the proper UTC time which is unaffected by DST, but instead is 'world time' so to speak. So, the adjustment to that time is made on individual machines.. time zones, if they use DST, and the dates that DST goes on and off. I'm betting you did not do the updates to your server which carried the new DST information, in particular, the change to the date that DST begins. Best, John Hinton bo...@de... wrote: > not sure where is the issue? > > since sunday change to DST my system did not change by itself, > i manually change via webmin and i am noticing that the email on cron jobs shows different time then when the job runs > > i have a cron job to run at 10:45 set thru webmin > currently my server shows correct time > > System hostname pepino > Operating system Slackware Linux 11.0.0 > Webmin version 1.330 > Time on server Mon Mar 12 12:22:04 2007 > CPU load averages 1.78 (1 min) 0.59 (5 mins) 0.20 (15 mins) > Real memory 503 MB total, 340 MB used > > yet the email is showing normal time instead of DST > > see email notification of job > Server Time: Mon, 12 Mar 2007 11:45:04 -0400<<<<<<< seems wrong > yet i just notice the date in usermin shows > 12/03/2007 10:45 <<<<<< > > > where is this discrepency comming from the correct time is 10:45 not 11:45 > > > !DSPAM:45f57f8d274706962421434! > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:45f57f8d274706962421434! > > ------------------------------------------------------------------------ > > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > !DSPAM:45f57f8d274706962421434! > |
|
From: <bo...@de...> - 2007-03-12 16:27:39
|
not sure where is the issue? since sunday change to DST my system did not change by itself, i manually change via webmin and i am noticing that the email on cron jobs shows different time then when the job runs i have a cron job to run at 10:45 set thru webmin currently my server shows correct time System hostname pepino Operating system Slackware Linux 11.0.0 Webmin version 1.330 Time on server Mon Mar 12 12:22:04 2007 CPU load averages 1.78 (1 min) 0.59 (5 mins) 0.20 (15 mins) Real memory 503 MB total, 340 MB used yet the email is showing normal time instead of DST see email notification of job Server Time: Mon, 12 Mar 2007 11:45:04 -0400<<<<<<< seems wrong yet i just notice the date in usermin shows 12/03/2007 10:45 <<<<<< where is this discrepency comming from the correct time is 10:45 not 11:45 |
|
From: Jamie C. <jca...@we...> - 2007-03-12 06:50:54
|
On 11/Mar/2007 23:46 Murray Trainer wrote .. > On Sun, 2007-03-11 at 21:19 -0700, Jamie Cameron wrote: > > On 11/Mar/2007 17:25 Murray Trainer wrote .. > > > On Fri, 2007-03-09 at 09:43 -0800, Jamie Cameron wrote: > > > > On 8/Mar/2007 15:37 Murray Trainer wrote .. > > > > > On Thu, 2007-03-08 at 13:00 -0800, Jamie Cameron wrote: > > > > > > On 7/Mar/2007 23:16 Murray Trainer wrote .. > > > > > > > On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > > > > > > > > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > > > > > > > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > > > > > > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > > > > > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > > > > > > > > Hi Jamie > > > > > > > > > > > > > > > > > > > > > > > > We now have over 1000 users we manage with the LDAP > Users > > > > > module. > > > > > > > > > > I > > > > > > > > > > > > have noticed lately that it is becoming very slow > bringing > > > > > up > > > > > > > the > > > > > > > > > > > > initial screen. I can imagine things only getting > worse > > > > > as the > > > > > > > > > > > > directory gets larger. I haven't checked the queries > > > My > > > > > guess > > > > > > > is that > > > > > > > > > > > > the module tries to search the LDAP directory for > the > > > whole > > > > > list > > > > > > > of > > > > > > > > > > > > users, then after realising there are too many, it > then > > > says > > > > > > > there > > > > > > > > > > are > > > > > > > > > > > > too many to display and fails. Even if I set the > maximum > > > > > number > > > > > > > of > > > > > > > > > > > > users or groups to display to 0 or 1 it still takes > a > > > fair > > > > > few > > > > > > > seconds > > > > > > > > > > > > to display the opening screen. > > > > > > > > > > > > > > > > > > > > > > > > The recommed method is to process each LDAP user > entry > > > one > > > > > at > > > > > > > a time > > > > > > > > > > as > > > > > > > > > > > > they are returned. The module would stop when it > reached > > > > > the > > > > > > > limit > > > > > > > > > > of > > > > > > > > > > > > users for that page which could be a configuration > value. > > > > > The > > > > > > > module > > > > > > > > > > > > appears to be using the NET::LDAP library. I had > a look > > > > > at the > > > > > > > > > > > > documentation below and they recommend processing > each > > > entry > > > > > > > as it > > > > > > > > > > is > > > > > > > > > > > > returned: > > > > > > > > > > > > > > > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > > > > > > > > > > > > > > > If we want 100 users to be displayed on the page > we print > > > > > the > > > > > > > first > > > > > > > > > > 100 > > > > > > > > > > > > entries then quit. If we want users 100-200 we would > > > ignore > > > > > > > the first > > > > > > > > > > > > hundred entries and print the second hundred, and > so > > > on. > > > > > > > > > > > > > > > > > > > > > > > > Hope the above idea has merit and its possible for > you > > > to > > > > > implement > > > > > > > > > > at > > > > > > > > > > > > some stage. > > > > > > > > > > > > > > > > > > > > > > Actually, that is what the module already does. The > main > > > page > > > > > does > > > > > > > an > > > > > > > > > > > LDAP search for matching users, and then checks the > number > > > > > of results > > > > > > > > > > available. > > > > > > > > > > > If this is higher than the maximum set on the Module > Config > > > > > page, > > > > > > > it > > > > > > > > > > just > > > > > > > > > > > displays the search form without fetching the full > user > > > list. > > > > > > > > > > > > > > > > > > > > > > Of course, for this to be useful I assume that the > LDAP > > > server > > > > > > > doesn't > > > > > > > > > > > fetch users from it's database until actually asked > to.. > > > > > > > > > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If it does things in the sequential manner then I am > not > > > sure > > > > > why > > > > > > > it is > > > > > > > > > > so slow for me. There is nothing wrong with the performance > > > > > of the > > > > > > > ldap > > > > > > > > > > server. I can do an ldapsearch from a client machine > and > > > dump > > > > > the > > > > > > > whole > > > > > > > > > > list of users into a text file in less than a second. > Going > > > > > into > > > > > > > the > > > > > > > > > > first ldap users and groups screen with the list of users > > > takes > > > > > > > > > > > > > 10 > > > > > > > > > > secs even with the amount of users to display set to > 0. I > > > am > > > > > not > > > > > > > sure > > > > > > > > > > where the bottleneck in performance is? > > > > > > > > > > > > > > > > > > I took another look at the code for this module, and it > seems > > > that > > > > > > > even > > > > > > > > > though Webmin just calls the Net::LDAP module's search > function, > > > > > this > > > > > > > > > takes a long time to respond on large LDAP databases even > though > > > > > no > > > > > > > > > actual results are requested! > > > > > > > > > > > > > > > > > > However, I managed to find another way to reduce the search > > > size, > > > > > by > > > > > > > > > specifying a maximum result size to the LDAP server. This > will > > > > > go into > > > > > > > > > the next (1.330) Webmin release. > > > > > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > > > Hi Jamie, > > > > > > > > > > > > > > > > I noticed that you had added the fix above to the 1.328 version. > > > > > I > > > > > > > > downloaded it and tested it. It displays the initial list > of > > > > > > > > users/groups immediately if it exceeds the limit for the > page. > > > Thanks > > > > > > > > for your work on that - it will improve things a lot in our > setup. > > > > > > > > > > > > > > Hi Jamie, > > > > > > > > > > > > > > I have installed 1.330 and the initial list of users displays > quickly > > > > > as > > > > > > > for the earlier test version but I noticed that when clicking > on > > > create > > > > > > > a new ldap user or opening an existing one, the screen takes > a > > > fair > > > > > > > while to display (15-20 secs). Not sure why that should be > so > > > slow? > > > > > - > > > > > > > in the first case it only needs to look up the next available > uid. > > > > > > > Bringing up an existing user might be a bit slower but the > ldap > > > search > > > > > > > should be pretty quick. > > > > > > > > > > > > I'll have to look into this .. do you have a large number of > groups > > > too? > > > > > > > > > > > > - Jamie > > > > > > > > > > We have about 1500 users. We don't have a large number of groups > but > > > a > > > > > few groups have lots of members ie. 1000+. > > > > > > > > Ok, I found another bug in the code that can cause a slowdown - it > tries > > > > to scan all users in LDAP to get a free UID, and to find uses shells. > > > The > > > > former is un-needed for editing existing users, and the latter can > be > > > disabled > > > > on the Module Config page. > > > > > > > > Let me know if you'd like a beta version of the fixed module to try > out.. > > > > > > > > - Jamie > > > > > > > > > > Thanks, a beta version would be great. > > > > The 1.333 development version of Webmin from http://www.webmin.com/devel.html > > includes this fix. Just make sure that on the Module Config page, you > have > > 'System users' unchecked for the 'Build list of shells from' setting. > > > > - Jamie > > I just downloaded and tested the 1.334 version. Editing an existing > user is now pretty quick. It still takes quite a while to bring up the > new user screen. I suppose the performance of that all comes down to > the algorithm used to find the next available uid. Did a google and > found the library below has a function to get the next free uid. Not > sure how well that performs but it might be worth looking at the code. > > http://www.pingworks.de/upload/pics/ldaputils.html#OTHER_METHODS The current method scans through all users to build up a map of used UIDs, and then picks the next free one above some base. I suppose some algorithm could be created to query IDs using a binary search, but I'm not sure if that would be any faster.. - Jamie |
|
From: Murray T. <mtr...@ce...> - 2007-03-12 06:46:31
|
On Sun, 2007-03-11 at 21:19 -0700, Jamie Cameron wrote: > On 11/Mar/2007 17:25 Murray Trainer wrote .. > > On Fri, 2007-03-09 at 09:43 -0800, Jamie Cameron wrote: > > > On 8/Mar/2007 15:37 Murray Trainer wrote .. > > > > On Thu, 2007-03-08 at 13:00 -0800, Jamie Cameron wrote: > > > > > On 7/Mar/2007 23:16 Murray Trainer wrote .. > > > > > > On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > > > > > > > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > > > > > > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > > > > > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > > > > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > > > > > > > Hi Jamie > > > > > > > > > > > > > > > > > > > > > > We now have over 1000 users we manage with the LDAP Users > > > > module. > > > > > > > > > I > > > > > > > > > > > have noticed lately that it is becoming very slow bringing > > > > up > > > > > > the > > > > > > > > > > > initial screen. I can imagine things only getting worse > > > > as the > > > > > > > > > > > directory gets larger. I haven't checked the queries > > My > > > > guess > > > > > > is that > > > > > > > > > > > the module tries to search the LDAP directory for the > > whole > > > > list > > > > > > of > > > > > > > > > > > users, then after realising there are too many, it then > > says > > > > > > there > > > > > > > > > are > > > > > > > > > > > too many to display and fails. Even if I set the maximum > > > > number > > > > > > of > > > > > > > > > > > users or groups to display to 0 or 1 it still takes a > > fair > > > > few > > > > > > seconds > > > > > > > > > > > to display the opening screen. > > > > > > > > > > > > > > > > > > > > > > The recommed method is to process each LDAP user entry > > one > > > > at > > > > > > a time > > > > > > > > > as > > > > > > > > > > > they are returned. The module would stop when it reached > > > > the > > > > > > limit > > > > > > > > > of > > > > > > > > > > > users for that page which could be a configuration value. > > > > The > > > > > > module > > > > > > > > > > > appears to be using the NET::LDAP library. I had a look > > > > at the > > > > > > > > > > > documentation below and they recommend processing each > > entry > > > > > > as it > > > > > > > > > is > > > > > > > > > > > returned: > > > > > > > > > > > > > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > > > > > > > > > > > > > If we want 100 users to be displayed on the page we print > > > > the > > > > > > first > > > > > > > > > 100 > > > > > > > > > > > entries then quit. If we want users 100-200 we would > > ignore > > > > > > the first > > > > > > > > > > > hundred entries and print the second hundred, and so > > on. > > > > > > > > > > > > > > > > > > > > > > Hope the above idea has merit and its possible for you > > to > > > > implement > > > > > > > > > at > > > > > > > > > > > some stage. > > > > > > > > > > > > > > > > > > > > Actually, that is what the module already does. The main > > page > > > > does > > > > > > an > > > > > > > > > > LDAP search for matching users, and then checks the number > > > > of results > > > > > > > > > available. > > > > > > > > > > If this is higher than the maximum set on the Module Config > > > > page, > > > > > > it > > > > > > > > > just > > > > > > > > > > displays the search form without fetching the full user > > list. > > > > > > > > > > > > > > > > > > > > Of course, for this to be useful I assume that the LDAP > > server > > > > > > doesn't > > > > > > > > > > fetch users from it's database until actually asked to.. > > > > > > > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > > > > > > > > > > > > > > > If it does things in the sequential manner then I am not > > sure > > > > why > > > > > > it is > > > > > > > > > so slow for me. There is nothing wrong with the performance > > > > of the > > > > > > ldap > > > > > > > > > server. I can do an ldapsearch from a client machine and > > dump > > > > the > > > > > > whole > > > > > > > > > list of users into a text file in less than a second. Going > > > > into > > > > > > the > > > > > > > > > first ldap users and groups screen with the list of users > > takes > > > > > > > > > > > 10 > > > > > > > > > secs even with the amount of users to display set to 0. I > > am > > > > not > > > > > > sure > > > > > > > > > where the bottleneck in performance is? > > > > > > > > > > > > > > > > I took another look at the code for this module, and it seems > > that > > > > > > even > > > > > > > > though Webmin just calls the Net::LDAP module's search function, > > > > this > > > > > > > > takes a long time to respond on large LDAP databases even though > > > > no > > > > > > > > actual results are requested! > > > > > > > > > > > > > > > > However, I managed to find another way to reduce the search > > size, > > > > by > > > > > > > > specifying a maximum result size to the LDAP server. This will > > > > go into > > > > > > > > the next (1.330) Webmin release. > > > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > Hi Jamie, > > > > > > > > > > > > > > I noticed that you had added the fix above to the 1.328 version. > > > > I > > > > > > > downloaded it and tested it. It displays the initial list of > > > > > > > users/groups immediately if it exceeds the limit for the page. > > Thanks > > > > > > > for your work on that - it will improve things a lot in our setup. > > > > > > > > > > > > Hi Jamie, > > > > > > > > > > > > I have installed 1.330 and the initial list of users displays quickly > > > > as > > > > > > for the earlier test version but I noticed that when clicking on > > create > > > > > > a new ldap user or opening an existing one, the screen takes a > > fair > > > > > > while to display (15-20 secs). Not sure why that should be so > > slow? > > > > - > > > > > > in the first case it only needs to look up the next available uid. > > > > > > Bringing up an existing user might be a bit slower but the ldap > > search > > > > > > should be pretty quick. > > > > > > > > > > I'll have to look into this .. do you have a large number of groups > > too? > > > > > > > > > > - Jamie > > > > > > > > We have about 1500 users. We don't have a large number of groups but > > a > > > > few groups have lots of members ie. 1000+. > > > > > > Ok, I found another bug in the code that can cause a slowdown - it tries > > > to scan all users in LDAP to get a free UID, and to find uses shells. > > The > > > former is un-needed for editing existing users, and the latter can be > > disabled > > > on the Module Config page. > > > > > > Let me know if you'd like a beta version of the fixed module to try out.. > > > > > > - Jamie > > > > > > > Thanks, a beta version would be great. > > The 1.333 development version of Webmin from http://www.webmin.com/devel.html > includes this fix. Just make sure that on the Module Config page, you have > 'System users' unchecked for the 'Build list of shells from' setting. > > - Jamie I just downloaded and tested the 1.334 version. Editing an existing user is now pretty quick. It still takes quite a while to bring up the new user screen. I suppose the performance of that all comes down to the algorithm used to find the next available uid. Did a google and found the library below has a function to get the next free uid. Not sure how well that performs but it might be worth looking at the code. http://www.pingworks.de/upload/pics/ldaputils.html#OTHER_METHODS Murray |
|
From: Jamie C. <jca...@we...> - 2007-03-12 04:20:08
|
On 11/Mar/2007 17:25 Murray Trainer wrote .. > On Fri, 2007-03-09 at 09:43 -0800, Jamie Cameron wrote: > > On 8/Mar/2007 15:37 Murray Trainer wrote .. > > > On Thu, 2007-03-08 at 13:00 -0800, Jamie Cameron wrote: > > > > On 7/Mar/2007 23:16 Murray Trainer wrote .. > > > > > On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > > > > > > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > > > > > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > > > > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > > > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > > > > > > Hi Jamie > > > > > > > > > > > > > > > > > > > > We now have over 1000 users we manage with the LDAP Users > > > module. > > > > > > > > I > > > > > > > > > > have noticed lately that it is becoming very slow bringing > > > up > > > > > the > > > > > > > > > > initial screen. I can imagine things only getting worse > > > as the > > > > > > > > > > directory gets larger. I haven't checked the queries > My > > > guess > > > > > is that > > > > > > > > > > the module tries to search the LDAP directory for the > whole > > > list > > > > > of > > > > > > > > > > users, then after realising there are too many, it then > says > > > > > there > > > > > > > > are > > > > > > > > > > too many to display and fails. Even if I set the maximum > > > number > > > > > of > > > > > > > > > > users or groups to display to 0 or 1 it still takes a > fair > > > few > > > > > seconds > > > > > > > > > > to display the opening screen. > > > > > > > > > > > > > > > > > > > > The recommed method is to process each LDAP user entry > one > > > at > > > > > a time > > > > > > > > as > > > > > > > > > > they are returned. The module would stop when it reached > > > the > > > > > limit > > > > > > > > of > > > > > > > > > > users for that page which could be a configuration value. > > > The > > > > > module > > > > > > > > > > appears to be using the NET::LDAP library. I had a look > > > at the > > > > > > > > > > documentation below and they recommend processing each > entry > > > > > as it > > > > > > > > is > > > > > > > > > > returned: > > > > > > > > > > > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > > > > > > > > > > > If we want 100 users to be displayed on the page we print > > > the > > > > > first > > > > > > > > 100 > > > > > > > > > > entries then quit. If we want users 100-200 we would > ignore > > > > > the first > > > > > > > > > > hundred entries and print the second hundred, and so > on. > > > > > > > > > > > > > > > > > > > > Hope the above idea has merit and its possible for you > to > > > implement > > > > > > > > at > > > > > > > > > > some stage. > > > > > > > > > > > > > > > > > > Actually, that is what the module already does. The main > page > > > does > > > > > an > > > > > > > > > LDAP search for matching users, and then checks the number > > > of results > > > > > > > > available. > > > > > > > > > If this is higher than the maximum set on the Module Config > > > page, > > > > > it > > > > > > > > just > > > > > > > > > displays the search form without fetching the full user > list. > > > > > > > > > > > > > > > > > > Of course, for this to be useful I assume that the LDAP > server > > > > > doesn't > > > > > > > > > fetch users from it's database until actually asked to.. > > > > > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > > > > > > > > > > > > If it does things in the sequential manner then I am not > sure > > > why > > > > > it is > > > > > > > > so slow for me. There is nothing wrong with the performance > > > of the > > > > > ldap > > > > > > > > server. I can do an ldapsearch from a client machine and > dump > > > the > > > > > whole > > > > > > > > list of users into a text file in less than a second. Going > > > into > > > > > the > > > > > > > > first ldap users and groups screen with the list of users > takes > > > > > > > > > 10 > > > > > > > > secs even with the amount of users to display set to 0. I > am > > > not > > > > > sure > > > > > > > > where the bottleneck in performance is? > > > > > > > > > > > > > > I took another look at the code for this module, and it seems > that > > > > > even > > > > > > > though Webmin just calls the Net::LDAP module's search function, > > > this > > > > > > > takes a long time to respond on large LDAP databases even though > > > no > > > > > > > actual results are requested! > > > > > > > > > > > > > > However, I managed to find another way to reduce the search > size, > > > by > > > > > > > specifying a maximum result size to the LDAP server. This will > > > go into > > > > > > > the next (1.330) Webmin release. > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > Hi Jamie, > > > > > > > > > > > > I noticed that you had added the fix above to the 1.328 version. > > > I > > > > > > downloaded it and tested it. It displays the initial list of > > > > > > users/groups immediately if it exceeds the limit for the page. > Thanks > > > > > > for your work on that - it will improve things a lot in our setup. > > > > > > > > > > Hi Jamie, > > > > > > > > > > I have installed 1.330 and the initial list of users displays quickly > > > as > > > > > for the earlier test version but I noticed that when clicking on > create > > > > > a new ldap user or opening an existing one, the screen takes a > fair > > > > > while to display (15-20 secs). Not sure why that should be so > slow? > > > - > > > > > in the first case it only needs to look up the next available uid. > > > > > Bringing up an existing user might be a bit slower but the ldap > search > > > > > should be pretty quick. > > > > > > > > I'll have to look into this .. do you have a large number of groups > too? > > > > > > > > - Jamie > > > > > > We have about 1500 users. We don't have a large number of groups but > a > > > few groups have lots of members ie. 1000+. > > > > Ok, I found another bug in the code that can cause a slowdown - it tries > > to scan all users in LDAP to get a free UID, and to find uses shells. > The > > former is un-needed for editing existing users, and the latter can be > disabled > > on the Module Config page. > > > > Let me know if you'd like a beta version of the fixed module to try out.. > > > > - Jamie > > > > Thanks, a beta version would be great. The 1.333 development version of Webmin from http://www.webmin.com/devel.html includes this fix. Just make sure that on the Module Config page, you have 'System users' unchecked for the 'Build list of shells from' setting. - Jamie |
|
From: Murray T. <mtr...@ce...> - 2007-03-12 00:25:30
|
On Fri, 2007-03-09 at 09:43 -0800, Jamie Cameron wrote: > On 8/Mar/2007 15:37 Murray Trainer wrote .. > > On Thu, 2007-03-08 at 13:00 -0800, Jamie Cameron wrote: > > > On 7/Mar/2007 23:16 Murray Trainer wrote .. > > > > On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > > > > > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > > > > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > > > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > > > > > Hi Jamie > > > > > > > > > > > > > > > > > > We now have over 1000 users we manage with the LDAP Users > > module. > > > > > > > I > > > > > > > > > have noticed lately that it is becoming very slow bringing > > up > > > > the > > > > > > > > > initial screen. I can imagine things only getting worse > > as the > > > > > > > > > directory gets larger. I haven't checked the queries My > > guess > > > > is that > > > > > > > > > the module tries to search the LDAP directory for the whole > > list > > > > of > > > > > > > > > users, then after realising there are too many, it then says > > > > there > > > > > > > are > > > > > > > > > too many to display and fails. Even if I set the maximum > > number > > > > of > > > > > > > > > users or groups to display to 0 or 1 it still takes a fair > > few > > > > seconds > > > > > > > > > to display the opening screen. > > > > > > > > > > > > > > > > > > The recommed method is to process each LDAP user entry one > > at > > > > a time > > > > > > > as > > > > > > > > > they are returned. The module would stop when it reached > > the > > > > limit > > > > > > > of > > > > > > > > > users for that page which could be a configuration value. > > The > > > > module > > > > > > > > > appears to be using the NET::LDAP library. I had a look > > at the > > > > > > > > > documentation below and they recommend processing each entry > > > > as it > > > > > > > is > > > > > > > > > returned: > > > > > > > > > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > > > > > > > > > If we want 100 users to be displayed on the page we print > > the > > > > first > > > > > > > 100 > > > > > > > > > entries then quit. If we want users 100-200 we would ignore > > > > the first > > > > > > > > > hundred entries and print the second hundred, and so on. > > > > > > > > > > > > > > > > > > Hope the above idea has merit and its possible for you to > > implement > > > > > > > at > > > > > > > > > some stage. > > > > > > > > > > > > > > > > Actually, that is what the module already does. The main page > > does > > > > an > > > > > > > > LDAP search for matching users, and then checks the number > > of results > > > > > > > available. > > > > > > > > If this is higher than the maximum set on the Module Config > > page, > > > > it > > > > > > > just > > > > > > > > displays the search form without fetching the full user list. > > > > > > > > > > > > > > > > Of course, for this to be useful I assume that the LDAP server > > > > doesn't > > > > > > > > fetch users from it's database until actually asked to.. > > > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > > > > > > > > > If it does things in the sequential manner then I am not sure > > why > > > > it is > > > > > > > so slow for me. There is nothing wrong with the performance > > of the > > > > ldap > > > > > > > server. I can do an ldapsearch from a client machine and dump > > the > > > > whole > > > > > > > list of users into a text file in less than a second. Going > > into > > > > the > > > > > > > first ldap users and groups screen with the list of users takes > > > > > > > 10 > > > > > > > secs even with the amount of users to display set to 0. I am > > not > > > > sure > > > > > > > where the bottleneck in performance is? > > > > > > > > > > > > I took another look at the code for this module, and it seems that > > > > even > > > > > > though Webmin just calls the Net::LDAP module's search function, > > this > > > > > > takes a long time to respond on large LDAP databases even though > > no > > > > > > actual results are requested! > > > > > > > > > > > > However, I managed to find another way to reduce the search size, > > by > > > > > > specifying a maximum result size to the LDAP server. This will > > go into > > > > > > the next (1.330) Webmin release. > > > > > > > > > > > > - Jamie > > > > > > > > > > Hi Jamie, > > > > > > > > > > I noticed that you had added the fix above to the 1.328 version. > > I > > > > > downloaded it and tested it. It displays the initial list of > > > > > users/groups immediately if it exceeds the limit for the page. Thanks > > > > > for your work on that - it will improve things a lot in our setup. > > > > > > > > Hi Jamie, > > > > > > > > I have installed 1.330 and the initial list of users displays quickly > > as > > > > for the earlier test version but I noticed that when clicking on create > > > > a new ldap user or opening an existing one, the screen takes a fair > > > > while to display (15-20 secs). Not sure why that should be so slow? > > - > > > > in the first case it only needs to look up the next available uid. > > > > Bringing up an existing user might be a bit slower but the ldap search > > > > should be pretty quick. > > > > > > I'll have to look into this .. do you have a large number of groups too? > > > > > > - Jamie > > > > We have about 1500 users. We don't have a large number of groups but a > > few groups have lots of members ie. 1000+. > > Ok, I found another bug in the code that can cause a slowdown - it tries > to scan all users in LDAP to get a free UID, and to find uses shells. The > former is un-needed for editing existing users, and the latter can be disabled > on the Module Config page. > > Let me know if you'd like a beta version of the fixed module to try out.. > > - Jamie > Thanks, a beta version would be great. Regards Murray |
|
From: Grant P. <gp...@th...> - 2007-03-11 23:18:20
|
Hi all, Anyone else have USermin and Apache monitors that show red even though = to processes are running? Module configs are correct AFAIKS. -Grant |
|
From: Jamie C. <jca...@we...> - 2007-03-09 17:44:03
|
On 8/Mar/2007 15:37 Murray Trainer wrote .. > On Thu, 2007-03-08 at 13:00 -0800, Jamie Cameron wrote: > > On 7/Mar/2007 23:16 Murray Trainer wrote .. > > > On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > > > > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > > > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > > > > Hi Jamie > > > > > > > > > > > > > > > > We now have over 1000 users we manage with the LDAP Users > module. > > > > > > I > > > > > > > > have noticed lately that it is becoming very slow bringing > up > > > the > > > > > > > > initial screen. I can imagine things only getting worse > as the > > > > > > > > directory gets larger. I haven't checked the queries My > guess > > > is that > > > > > > > > the module tries to search the LDAP directory for the whole > list > > > of > > > > > > > > users, then after realising there are too many, it then says > > > there > > > > > > are > > > > > > > > too many to display and fails. Even if I set the maximum > number > > > of > > > > > > > > users or groups to display to 0 or 1 it still takes a fair > few > > > seconds > > > > > > > > to display the opening screen. > > > > > > > > > > > > > > > > The recommed method is to process each LDAP user entry one > at > > > a time > > > > > > as > > > > > > > > they are returned. The module would stop when it reached > the > > > limit > > > > > > of > > > > > > > > users for that page which could be a configuration value. > The > > > module > > > > > > > > appears to be using the NET::LDAP library. I had a look > at the > > > > > > > > documentation below and they recommend processing each entry > > > as it > > > > > > is > > > > > > > > returned: > > > > > > > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > > > > > > > If we want 100 users to be displayed on the page we print > the > > > first > > > > > > 100 > > > > > > > > entries then quit. If we want users 100-200 we would ignore > > > the first > > > > > > > > hundred entries and print the second hundred, and so on. > > > > > > > > > > > > > > > > Hope the above idea has merit and its possible for you to > implement > > > > > > at > > > > > > > > some stage. > > > > > > > > > > > > > > Actually, that is what the module already does. The main page > does > > > an > > > > > > > LDAP search for matching users, and then checks the number > of results > > > > > > available. > > > > > > > If this is higher than the maximum set on the Module Config > page, > > > it > > > > > > just > > > > > > > displays the search form without fetching the full user list. > > > > > > > > > > > > > > Of course, for this to be useful I assume that the LDAP server > > > doesn't > > > > > > > fetch users from it's database until actually asked to.. > > > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > > > > > > If it does things in the sequential manner then I am not sure > why > > > it is > > > > > > so slow for me. There is nothing wrong with the performance > of the > > > ldap > > > > > > server. I can do an ldapsearch from a client machine and dump > the > > > whole > > > > > > list of users into a text file in less than a second. Going > into > > > the > > > > > > first ldap users and groups screen with the list of users takes > > > > > 10 > > > > > > secs even with the amount of users to display set to 0. I am > not > > > sure > > > > > > where the bottleneck in performance is? > > > > > > > > > > I took another look at the code for this module, and it seems that > > > even > > > > > though Webmin just calls the Net::LDAP module's search function, > this > > > > > takes a long time to respond on large LDAP databases even though > no > > > > > actual results are requested! > > > > > > > > > > However, I managed to find another way to reduce the search size, > by > > > > > specifying a maximum result size to the LDAP server. This will > go into > > > > > the next (1.330) Webmin release. > > > > > > > > > > - Jamie > > > > > > > > Hi Jamie, > > > > > > > > I noticed that you had added the fix above to the 1.328 version. > I > > > > downloaded it and tested it. It displays the initial list of > > > > users/groups immediately if it exceeds the limit for the page. Thanks > > > > for your work on that - it will improve things a lot in our setup. > > > > > > Hi Jamie, > > > > > > I have installed 1.330 and the initial list of users displays quickly > as > > > for the earlier test version but I noticed that when clicking on create > > > a new ldap user or opening an existing one, the screen takes a fair > > > while to display (15-20 secs). Not sure why that should be so slow? > - > > > in the first case it only needs to look up the next available uid. > > > Bringing up an existing user might be a bit slower but the ldap search > > > should be pretty quick. > > > > I'll have to look into this .. do you have a large number of groups too? > > > > - Jamie > > We have about 1500 users. We don't have a large number of groups but a > few groups have lots of members ie. 1000+. Ok, I found another bug in the code that can cause a slowdown - it tries to scan all users in LDAP to get a free UID, and to find uses shells. The former is un-needed for editing existing users, and the latter can be disabled on the Module Config page. Let me know if you'd like a beta version of the fixed module to try out.. - Jamie |
|
From: <ax...@ax...> - 2007-03-09 14:41:57
|
Hi all webminners I have a small task to do any maybe someone can provde some advise. I have 4 name servers hosting over 1000 domains. All run webmin and I have users managing their domains via webmin on the master server. I now have built a 5th server and want to migrate all webmin users to this server. Each user is only allowed to access the server from a certain IP and each user only has access to their own domains which they manage. 1. Has anyone experienced migrating users to another webmin server and all settings have been retained? 2. I have to change the master record for all domains to the new server, is there a quick way of doing this for over 1000 domains via webmin? I know there is an option in webmin bind management "convert to slave", but to do this for over 1000 domains is crazy. Any advise is appreciated. Thanks |
|
From: Murray T. <mtr...@ce...> - 2007-03-08 23:37:42
|
On Thu, 2007-03-08 at 13:00 -0800, Jamie Cameron wrote: > On 7/Mar/2007 23:16 Murray Trainer wrote .. > > On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > > > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > > > Hi Jamie > > > > > > > > > > > > > > We now have over 1000 users we manage with the LDAP Users module. > > > > > I > > > > > > > have noticed lately that it is becoming very slow bringing up > > the > > > > > > > initial screen. I can imagine things only getting worse as the > > > > > > > directory gets larger. I haven't checked the queries My guess > > is that > > > > > > > the module tries to search the LDAP directory for the whole list > > of > > > > > > > users, then after realising there are too many, it then says > > there > > > > > are > > > > > > > too many to display and fails. Even if I set the maximum number > > of > > > > > > > users or groups to display to 0 or 1 it still takes a fair few > > seconds > > > > > > > to display the opening screen. > > > > > > > > > > > > > > The recommed method is to process each LDAP user entry one at > > a time > > > > > as > > > > > > > they are returned. The module would stop when it reached the > > limit > > > > > of > > > > > > > users for that page which could be a configuration value. The > > module > > > > > > > appears to be using the NET::LDAP library. I had a look at the > > > > > > > documentation below and they recommend processing each entry > > as it > > > > > is > > > > > > > returned: > > > > > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > > > > > If we want 100 users to be displayed on the page we print the > > first > > > > > 100 > > > > > > > entries then quit. If we want users 100-200 we would ignore > > the first > > > > > > > hundred entries and print the second hundred, and so on. > > > > > > > > > > > > > > Hope the above idea has merit and its possible for you to implement > > > > > at > > > > > > > some stage. > > > > > > > > > > > > Actually, that is what the module already does. The main page does > > an > > > > > > LDAP search for matching users, and then checks the number of results > > > > > available. > > > > > > If this is higher than the maximum set on the Module Config page, > > it > > > > > just > > > > > > displays the search form without fetching the full user list. > > > > > > > > > > > > Of course, for this to be useful I assume that the LDAP server > > doesn't > > > > > > fetch users from it's database until actually asked to.. > > > > > > > > > > > > - Jamie > > > > > > > > > > > > > > > > If it does things in the sequential manner then I am not sure why > > it is > > > > > so slow for me. There is nothing wrong with the performance of the > > ldap > > > > > server. I can do an ldapsearch from a client machine and dump the > > whole > > > > > list of users into a text file in less than a second. Going into > > the > > > > > first ldap users and groups screen with the list of users takes > > > 10 > > > > > secs even with the amount of users to display set to 0. I am not > > sure > > > > > where the bottleneck in performance is? > > > > > > > > I took another look at the code for this module, and it seems that > > even > > > > though Webmin just calls the Net::LDAP module's search function, this > > > > takes a long time to respond on large LDAP databases even though no > > > > actual results are requested! > > > > > > > > However, I managed to find another way to reduce the search size, by > > > > specifying a maximum result size to the LDAP server. This will go into > > > > the next (1.330) Webmin release. > > > > > > > > - Jamie > > > > > > Hi Jamie, > > > > > > I noticed that you had added the fix above to the 1.328 version. I > > > downloaded it and tested it. It displays the initial list of > > > users/groups immediately if it exceeds the limit for the page. Thanks > > > for your work on that - it will improve things a lot in our setup. > > > > Hi Jamie, > > > > I have installed 1.330 and the initial list of users displays quickly as > > for the earlier test version but I noticed that when clicking on create > > a new ldap user or opening an existing one, the screen takes a fair > > while to display (15-20 secs). Not sure why that should be so slow? - > > in the first case it only needs to look up the next available uid. > > Bringing up an existing user might be a bit slower but the ldap search > > should be pretty quick. > > I'll have to look into this .. do you have a large number of groups too? > > - Jamie We have about 1500 users. We don't have a large number of groups but a few groups have lots of members ie. 1000+. Murray |
|
From: Jamie C. <jca...@we...> - 2007-03-08 22:27:13
|
On 8/Mar/2007 05:06 Stepan Yakovenko wrote .. <blockquote type="cite"> Hello, I've got a trouble, it is in subject.<br /><br />Here is a log of what I did:<br /><br /><pre><strong>> ls</strong><br />Andre, Maurice<br />Argerich, Marta<br />Azarkhin, Rodion<br />Bach, Johann Sebastian<br />Glass, Philip<br />Grieg, Edvard<br /><br />Vedel Artemiy<br />Verdi, Giuseppe<br />Vivaldi, Antonio<br />Wagner, Richard<br /><strong>> cd "Glass, Philip"</strong><br />"Glass,: No such file or directory<br /><strong>> cd Glass,\ Philip</strong><br />Glass,\: Invalid argument<br /><br /><strong>> cd Glass, Philip</strong><br />Glass,: No such file or directory<br /><strong>> cd "Glass, Philip"</strong><br />"Glass,: No such file or directory<br /><strong>> ls Gl*</strong><br />image<br />info<br />sound<br /><strong>> echo Gl*<br /></strong><br />Glass, Philip<br /><strong>> cd `echo Gl*`</strong><br />`echo: No such file or directory</pre><br />How can I change to a directory that contains space? I am runn ing lastest version of webmin (1.33).<br /> </blockquote><p>Thanks for pointing this out .. there is a bug in Webmin that prevents this form working. I'll fix it in the next release..</p><p> - Jamie<br /><br /> </p> |
|
From: Jamie C. <jca...@we...> - 2007-03-08 21:00:30
|
On 7/Mar/2007 23:16 Murray Trainer wrote .. > On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > > Hi Jamie > > > > > > > > > > > > We now have over 1000 users we manage with the LDAP Users module. > > > > I > > > > > > have noticed lately that it is becoming very slow bringing up > the > > > > > > initial screen. I can imagine things only getting worse as the > > > > > > directory gets larger. I haven't checked the queries My guess > is that > > > > > > the module tries to search the LDAP directory for the whole list > of > > > > > > users, then after realising there are too many, it then says > there > > > > are > > > > > > too many to display and fails. Even if I set the maximum number > of > > > > > > users or groups to display to 0 or 1 it still takes a fair few > seconds > > > > > > to display the opening screen. > > > > > > > > > > > > The recommed method is to process each LDAP user entry one at > a time > > > > as > > > > > > they are returned. The module would stop when it reached the > limit > > > > of > > > > > > users for that page which could be a configuration value. The > module > > > > > > appears to be using the NET::LDAP library. I had a look at the > > > > > > documentation below and they recommend processing each entry > as it > > > > is > > > > > > returned: > > > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > > > If we want 100 users to be displayed on the page we print the > first > > > > 100 > > > > > > entries then quit. If we want users 100-200 we would ignore > the first > > > > > > hundred entries and print the second hundred, and so on. > > > > > > > > > > > > Hope the above idea has merit and its possible for you to implement > > > > at > > > > > > some stage. > > > > > > > > > > Actually, that is what the module already does. The main page does > an > > > > > LDAP search for matching users, and then checks the number of results > > > > available. > > > > > If this is higher than the maximum set on the Module Config page, > it > > > > just > > > > > displays the search form without fetching the full user list. > > > > > > > > > > Of course, for this to be useful I assume that the LDAP server > doesn't > > > > > fetch users from it's database until actually asked to.. > > > > > > > > > > - Jamie > > > > > > > > > > > > > If it does things in the sequential manner then I am not sure why > it is > > > > so slow for me. There is nothing wrong with the performance of the > ldap > > > > server. I can do an ldapsearch from a client machine and dump the > whole > > > > list of users into a text file in less than a second. Going into > the > > > > first ldap users and groups screen with the list of users takes > > 10 > > > > secs even with the amount of users to display set to 0. I am not > sure > > > > where the bottleneck in performance is? > > > > > > I took another look at the code for this module, and it seems that > even > > > though Webmin just calls the Net::LDAP module's search function, this > > > takes a long time to respond on large LDAP databases even though no > > > actual results are requested! > > > > > > However, I managed to find another way to reduce the search size, by > > > specifying a maximum result size to the LDAP server. This will go into > > > the next (1.330) Webmin release. > > > > > > - Jamie > > > > Hi Jamie, > > > > I noticed that you had added the fix above to the 1.328 version. I > > downloaded it and tested it. It displays the initial list of > > users/groups immediately if it exceeds the limit for the page. Thanks > > for your work on that - it will improve things a lot in our setup. > > Hi Jamie, > > I have installed 1.330 and the initial list of users displays quickly as > for the earlier test version but I noticed that when clicking on create > a new ldap user or opening an existing one, the screen takes a fair > while to display (15-20 secs). Not sure why that should be so slow? - > in the first case it only needs to look up the next available uid. > Bringing up an existing user might be a bit slower but the ldap search > should be pretty quick. I'll have to look into this .. do you have a large number of groups too? - Jamie |
|
From: Stepan Y. <sti...@gm...> - 2007-03-08 13:07:07
|
Hello, I've got a trouble, it is in subject. Here is a log of what I did: *> ls* Andre, Maurice Argerich, Marta Azarkhin, Rodion Bach, Johann Sebastian Glass, Philip Grieg, Edvard Vedel Artemiy Verdi, Giuseppe Vivaldi, Antonio Wagner, Richard *> cd "Glass, Philip"* "Glass,: No such file or directory *> cd Glass,\ Philip* Glass,\: Invalid argument *> cd Glass, Philip* Glass,: No such file or directory *> cd "Glass, Philip"* "Glass,: No such file or directory *> ls Gl** image info sound *> echo Gl** Glass, Philip *> cd `echo Gl*`* `echo: No such file or directory How can I change to a directory that contains space? I am running lastest version of webmin (1.33). Thank you. |
|
From: Obantec S. <su...@ob...> - 2007-03-08 08:40:47
|
----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: "Webmin users list" <web...@li...> Sent: Tuesday, March 06, 2007 5:41 PM Subject: Re: [webmin-l] SSL cert warning on webmin running under ssl > On 6/Mar/2007 01:41 Obantec Support wrote .. >> Hi >> >> i have switched to SSL on webmin 3.10 (yes will U/G soon) >> is there away to stop the SSL cert warning each time i connect. i used >> webmin to create to ssl cert file. > > Only if you purchase a real cert from a CA like Thawte or Verisign.. > > - Jamie > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > Thanks Jamie i might get a wild card cert as i could put usermin on SSL and couple of other web interfaces. Mark |
|
From: Murray T. <mtr...@ce...> - 2007-03-08 07:17:03
|
On Mon, 2007-02-26 at 15:19 +0900, Murray Trainer wrote: > On Sun, 2007-01-21 at 22:27 -0800, Jamie Cameron wrote: > > On 21/Jan/2007 16:11 Murray Trainer wrote .. > > > On Fri, 2007-01-19 at 00:23 -0800, Jamie Cameron wrote: > > > > On 18/Jan/2007 22:46 Murray Trainer wrote .. > > > > > Hi Jamie > > > > > > > > > > We now have over 1000 users we manage with the LDAP Users module. > > > I > > > > > have noticed lately that it is becoming very slow bringing up the > > > > > initial screen. I can imagine things only getting worse as the > > > > > directory gets larger. I haven't checked the queries My guess is that > > > > > the module tries to search the LDAP directory for the whole list of > > > > > users, then after realising there are too many, it then says there > > > are > > > > > too many to display and fails. Even if I set the maximum number of > > > > > users or groups to display to 0 or 1 it still takes a fair few seconds > > > > > to display the opening screen. > > > > > > > > > > The recommed method is to process each LDAP user entry one at a time > > > as > > > > > they are returned. The module would stop when it reached the limit > > > of > > > > > users for that page which could be a configuration value. The module > > > > > appears to be using the NET::LDAP library. I had a look at the > > > > > documentation below and they recommend processing each entry as it > > > is > > > > > returned: > > > > > > > > > > http://search.cpan.org/~gbarr/perl-ldap-0.33/lib/Net/LDAP/FAQ.pod#USING_THE_CALLBACK_SUBROUTINE_APPROACH > > > > > > > > > > If we want 100 users to be displayed on the page we print the first > > > 100 > > > > > entries then quit. If we want users 100-200 we would ignore the first > > > > > hundred entries and print the second hundred, and so on. > > > > > > > > > > Hope the above idea has merit and its possible for you to implement > > > at > > > > > some stage. > > > > > > > > Actually, that is what the module already does. The main page does an > > > > LDAP search for matching users, and then checks the number of results > > > available. > > > > If this is higher than the maximum set on the Module Config page, it > > > just > > > > displays the search form without fetching the full user list. > > > > > > > > Of course, for this to be useful I assume that the LDAP server doesn't > > > > fetch users from it's database until actually asked to.. > > > > > > > > - Jamie > > > > > > > > > > If it does things in the sequential manner then I am not sure why it is > > > so slow for me. There is nothing wrong with the performance of the ldap > > > server. I can do an ldapsearch from a client machine and dump the whole > > > list of users into a text file in less than a second. Going into the > > > first ldap users and groups screen with the list of users takes > 10 > > > secs even with the amount of users to display set to 0. I am not sure > > > where the bottleneck in performance is? > > > > I took another look at the code for this module, and it seems that even > > though Webmin just calls the Net::LDAP module's search function, this > > takes a long time to respond on large LDAP databases even though no > > actual results are requested! > > > > However, I managed to find another way to reduce the search size, by > > specifying a maximum result size to the LDAP server. This will go into > > the next (1.330) Webmin release. > > > > - Jamie > > Hi Jamie, > > I noticed that you had added the fix above to the 1.328 version. I > downloaded it and tested it. It displays the initial list of > users/groups immediately if it exceeds the limit for the page. Thanks > for your work on that - it will improve things a lot in our setup. Hi Jamie, I have installed 1.330 and the initial list of users displays quickly as for the earlier test version but I noticed that when clicking on create a new ldap user or opening an existing one, the screen takes a fair while to display (15-20 secs). Not sure why that should be so slow? - in the first case it only needs to look up the next available uid. Bringing up an existing user might be a bit slower but the ldap search should be pretty quick. Murray |
|
From: Jamie C. <jca...@we...> - 2007-03-08 00:00:20
|
On 6/Mar/2007 09:07 Jamie Cameron wrote .. > On 6/Mar/2007 03:00 David Anderson wrote .. > > Is this project still being worked on? There seems to have been no > > activity on the SourceForge site. > > Unfortunately not, as OpenCountry is going out of business :-( Sorry, I was incorrect: Open Country is changing its business model to a licensor of source code, and they are reviewing the request to authorize the incorporation the Bacula code into Webmin. Such a decision won't be made for a few weeks however.. - Jamie |
|
From: Ganefo S. <su...@ga...> - 2007-03-07 01:28:01
|
>>>> On 5/Mar/2007 01:06 Ganefo Support wrote .. >>>> >>>>> Please help, >>>>> >>>>> When I click this link: >>>>> The ProFTPd package can be automatically installed by Webmin. Click >>>>> here >>>>> to have it downloaded and installed using YUM. >>>>> >>>>> then I got this message, but the ProFTP not installed. I am using >>>>> Webmin >>>>> 1.330. Any idea to fix this problem? >>>>> >>>>> --------------------------------------------------------------------------------------------- >>>>> Installing package(s) with command yum -y install proftpd .. >>>>> >>>>> Loading "installonlyn" plugin >>>>> Setting up Install Process >>>>> Setting up repositories >>>>> Reading repository metadata in from local files >>>>> Parsing package install arguments >>>>> Nothing to do >>>>> .. install complete. >>>>> >>>> >>>> The problem here is that your distro doesn't include a package for >>>> ProFTPd, so >>>> Webmin can't install it automatically. You'll need to find an RPM for >>>> it (perhaps >>>> on the proftpd website) and install that instead.. >>>> >>>> - Jamie >>>> >>> Actually this is the way yum responds when the package is already >>> installed. >>> >> According to the link description, webmin will do it for me: downloaded >> then install the ProFTP, right? > You are correect, but yum is telling you that the ProFTP is already > installed on your computer, so it doesn't install it again. Check your > services and see if its listed. >> On the "System-Bootup and Shutdown" there is no ProFTP. I am using FC5 Linux. So, I install ProFTPd manually. Now, its works. Thanks. |
|
From: Kris D. <kd...@vi...> - 2007-03-06 18:37:38
|
da...@so... wrote: > Hi, > There are two options that I know of, but neither are desireable. > > 1. YOu can buy a certificate for each box you have webmin running. > Expensive and unnecessary. > > 2. You can turn the flag off or choose to install the blank certificate > in your browser. The security implacations in that are overwhelming. > Additionally, if you install the blank certificate Firefox won't let you > access. You could also just create self-signed certs for each server - this is pretty easy. If you feel like making the effort, you can also create your own local CA (Certificate Authority), and create certs for each machine. Import the master cert into your browser as a trusted authority, and then any cert you sign with that master should be trusted as well. I've done this several times. > Most of us live with it as a feel good security by-product. I prefer to eliminate the error messages by fixing what it's complaining about. <g> -kgd |
|
From: <da...@so...> - 2007-03-06 17:43:30
|
Hi, There are two options that I know of, but neither are desireable. 1. YOu can buy a certificate for each box you have webmin running. Expensive and unnecessary. 2. You can turn the flag off or choose to install the blank certificate in your browser. The security implacations in that are overwhelming. Additionally, if you install the blank certificate Firefox won't let you access. Most of us live with it as a feel good security by-product. Dan From: "Obantec Support" <su...@ob...> To: <web...@li...> Date sent: Tue, 6 Mar 2007 09:41:21 -0000 Subject: [webmin-l] SSL cert warning on webmin running under ssl Send reply to: Webmin users list <web...@li...> <mailto:web...@li...?subject=unsubscribe> <mailto:web...@li...?subject=subscribe> [ Double-click this line for list subscription options ] Hi i have switched to SSL on webmin 3.10 (yes will U/G soon) is there away to stop the SSL cert warning each time i connect. i used webmin to create to ssl cert file. Mark -- Obantec Support www.obantec.net 0845 458 3121 WebHosting and Domains Nominet UK Member & IPStag Holder CentralNic Accredited Reseller ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV - Forwarded by the Webmin mailing list at webadmin- li...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list ****************************************************************************** *** Domains by SolvNet http://solvnetdomains.com Be a domain reseller and make cash http://domainmiddleman.com Domain name registration and hosting solutions. http://solvnethosting.com |
|
From: Jamie C. <jca...@we...> - 2007-03-06 17:42:15
|
On 6/Mar/2007 01:41 Obantec Support wrote .. > Hi > > i have switched to SSL on webmin 3.10 (yes will U/G soon) > is there away to stop the SSL cert warning each time i connect. i used > webmin to create to ssl cert file. Only if you purchase a real cert from a CA like Thawte or Verisign.. - Jamie |
|
From: David A. <dm...@pe...> - 2007-03-06 17:21:25
|
Jamie, Tuesday, March 6, 2007, 5:07:59 PM, you wrote: JC> On 6/Mar/2007 03:00 David Anderson wrote .. >> Is this project still being worked on? There seems to have been no >> activity on the SourceForge site. JC> Unfortunately not, as OpenCountry is going out of business :-( That is really very sad. I hope it doesn't affect you too much. >> Alternatively, is there any chance of the Bacula code being ported >> to Webmin? JC> I am investigating this actually .. it would certainly be nice. I certainly would. That is the only reason I moved from standard Webmin. A great product - thank you! JC> - Jamie -- Best regards, David mailto:dm...@pe... |