<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Hi Stuart,</div>
<div><br>
</div>
<div>            I checked the capa server again. Please see below -</div>
<div>            </div>
<div>            libauthen-captcha-perl version - 1.024-1 on 16.04 </div>
<div>            </div>
<div>            /home/httpd/perl/debug/memcached_dump.pl |grep 'login.captcha'</div>
<div>          'mathstatdal.login.captcha' => 'original',</div>
<div>          </div>
<div>           But I noticed another issue. As domain co-ordinator on the 14.04 dev vm, listdomconfig.pl </div>
<div>           lists info that is several pages long. But on 16.04, the same thing is barely one page long. </div>
<div>           I see coursecatagories, cousedefaults etc on 14.04. But on 16.04, all I see is two sections (one is </div>
<div>           duplicate of the other) that says defaults, login = $VAR1 and scantron. Could this be corrupted </div>
<div>           domain configuration? Could there be a way to regenerate this config. Thanks a lot. </div>
<div>            </div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Tahoma, Geneva, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div name="divtagdefaultwrapper" style="margin:0px"><font face="Arial, Helvetica, sans-serif">Regards
</font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; margin:0px">
<br>
</div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left; margin:0px">
<font face="Arial,Helvetica,sans-serif"><b>Balagopal Pillai</b></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left; margin:0px">
<span style="font-family:Arial,Helvetica,sans-serif"><b>Room 004, Chase Building</b></span></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; margin:0px">
<div style="text-align:left"><span style="font-family:Arial,Helvetica,sans-serif"><b>Department of Mathematics and Statistics    </b></span></div>
<font face="Arial,Helvetica,sans-serif"><b><a tabindex="0" href="http://www.dal.ca" id="LPNoLP"></a>
<div style="text-align:left">Dalhousie University</div>
</b></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left; margin:0px">
<font face="Arial,Helvetica,sans-serif"><b>Halifax, NS </b></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left; margin:0px">
<font face="Arial,Helvetica,sans-serif"><b>(902) 494-3204</b></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left; margin:0px">
</div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left; margin:0px">
</div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; margin:0px">
<br>
</div>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> lon-capa-admin-bounces@mail.lon-capa.org <lon-capa-admin-bounces@mail.lon-capa.org> on behalf of Stuart Raeburn <raeburn@msu.edu><br>
<b>Sent:</b> Wednesday, August 23, 2017 9:14 AM<br>
<b>To:</b> lon-capa-admin@mail.lon-capa.org<br>
<b>Subject:</b> Re: [LON-CAPA-admin] Loncapa Captcha</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Balagopal,<br>
<br>
By default, no Captcha is included in the "Contact Helpdesk" web form  <br>
(unauthenticated access) linked to from the log-in page.<br>
<br>
A domain coordinator would use: Main Menu > Set domain configuration >  <br>
Display ("Log-in page options" checked), then check the "original  <br>
(CAPTCHA)" radio button in the "Contact helpdesk" CAPTCHA validation  <br>
row and push "Save Changes" to set the public-facing helpdesk to use  <br>
Authen::Captcha.<br>
<br>
I tested this on VMs running Ubuntu 16.04 LTS (both 32 and 64 bit) and  <br>
found that Captcha was working correctly, with files written to the  <br>
captchadb and captchaspool directories when I displayed the helpdesk  <br>
web form.  When the form was submitted, the Captcha was validated as  <br>
expected.<br>
<br>
A plain text display of your domain's configuration is available via:<br>
/cgi-bin/listdomconfig.pl.  A domain coordinator can display that URL,  <br>
when logged in, with the DC role selected.  Look for the captcha item  <br>
within the "login = $VAR1 = { }" data structure.  You can also check  <br>
what has been cached in memcache by running:<br>
<br>
/home/httpd/perl/debug/memcached_dump.pl |grep'login.captcha'<br>
<br>
from the command line.<br>
<br>
On Ubuntu 16.04 LTS:<br>
<br>
sudo dpkg-query -s libauthen-captcha-perl<br>
<br>
reports:<br>
<br>
Version: 1.024-1<br>
Depends: perl, libgd-perl | libgd-gd2-noxpm-perl | libgd-gd2-perl,  <br>
libstring-random-perl<br>
<br>
You might check that the libgd-perl and libstring-random-perl packages  <br>
are present.<br>
<br>
The version of libauthen-captcha-perl on Ubuntu 14.04 LTS is 1.023-6.<br>
<br>
<br>
Stuart Raeburn<br>
LON-CAPA Academic Consortium<br>
<br>
Quoting Balagopal Pillai <Balagopal.Pillai@Dal.Ca>:<br>
<br>
> Hi,<br>
><br>
>          I upgraded Loncapa version to 2.11.2 and Ubuntu to 16.04  <br>
> today. Everything works fine<br>
>          except the captcha on help desk link. I tested it by  <br>
> upgrading the dev vm to  2.11.2 and leaving<br>
>          ubuntu there to 14.04. Captcha worked fine there. I checked  <br>
> the permissions for captchadb<br>
>          and captchaspool directories and they are both owned by  <br>
> apache user. The captcha perl packages<br>
>          are present on both vms. The only difference is OS version.  <br>
> I was wondering if there is something<br>
>          I am overlooking here. Thanks a lot.<br>
><br>
><br>
><br>
> Regards<br>
><br>
> Balagopal Pillai<br>
> Room 004, Chase Building<br>
> Department of Mathematics and Statistics<br>
>><br>
> Dalhousie University<br>
> Halifax, NS<br>
> (902) 494-3204<br>
<br>
_______________________________________________<br>
LON-CAPA-admin mailing list<br>
LON-CAPA-admin@mail.lon-capa.org<br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin">http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin</a><br>
</div>
</span></font></div>
</div>
</body>
</html>