[LON-CAPA-users] New User Account Creation and Self-Enrollment in a Course

Stuart Raeburn raeburn at msu.edu
Thu May 19 10:23:09 EDT 2016


Amos,

>
> In addition to setting the value of Default Authentication Type to
> "Kerberos 5", what value do I enter for Default Authentication Argument?
> Is it asking for name of our Kerberos Authenticated Domain (i.e., the
> string "USASK.CA" that we had used before)?
>

Yes, if you set the Default Authentication type to Kerberos 5, you'll  
need to enter your Kerberos realm: USASK.CA in the "Default  
authentication argument" textbox in the domain config for "Default  
authentication/language/timezone/portal/types".

Stuart Raeburn
LON-CAPA Academic Consortium


> Thanks for the quick reply, Stuart.
>
>> It is preferred if users can authenticate using an institutional
>> username and password, and then populate user information (including
>> student/employee ID) automatically.
>>
> After reading your explanations, I agree that institutional login should be
> the default and better way to go for existing Univ of Sask students who
> already has an institutional account.
>
> A question about setting the default authentication to Institutional Login:
> DC's main menu
> » Set domain configuration
> » Default authentication/language/timezone/portal/types
>
> In addition to setting the value of Default Authentication Type to
> "Kerberos 5", what value do I enter for Default Authentication Argument?
> Is it asking for name of our Kerberos Authenticated Domain (i.e., the
> string "USASK.CA" that we had used before)?
>
>
> Amos Lee
> Math and Stats
> Univ of Sask
>
>
>
> On 17/05/2016 10:15 PM, Stuart Raeburn wrote:
>> Amos,
>>
>> The subscribers to either the lon-capa-admin list, or the lon-capa-dev
>> list, are likely a better fit for your question, but since you posted
>> to the lon-capa-users list, I'll reply here.
>>
>> I have just committed a change to the LON-CAPA source code repository
>> (CVS)  with the change needed to support a user-supplied
>> "Student/Employee ID" in the case where a user self-creates a LON-CAPA
>> account using an e-mail address as username.
>>
>> See:
>> http://mail.lon-capa.org/pipermail/lon-capa-cvs/Week-of-Mon-20160516/027046.html
>>
>> I will include that change in the 2.11.2 release which I'll be making
>> available ahead of this year's LON-CAPA conference (which happens next
>> week).
>>
>> After that change, as domain coordinator you'll be able to select
>> "Student/Employee ID" as a required field in Main Menu > Set domain
>> configuration > Display ("Users self creating accounts checked") for
>> "Data provided by All users" in the "Self-creation with e-mail as
>> username" panel.
>>
>> I would caution that if you allow users to provide their own
>> Student/Employee IDs when creating an account in LON-CAPA they may
>> enter an incorrect ID.
>>
>> It is preferred if users can authenticate using an institutional
>> username and password, and then populate user information (including
>> student/employee ID) automatically. LON-CAPA supports that once you
>> have customized /home/httpd/lib/perl/localenroll.pm to establish a
>> conduit to institutional directory information (e.g., LDAP).
>>
>> Of course it may be that in the case of a placement test, students
>> have not yet received institutional usernames (although they may have
>> been assigned student IDs).
>>
>> I would also note that the domain configuration for users
>> self-creating accounts already includes the ability for a user to
>> provide his/her own "Student Employee ID" when self-creating an
>> account if the user authenticates using an institutional username and
>> password (i.e., either institutional log-in or Single Sign On), and no
>> directory information source is available.
>>
>> It's one of the six checkboxes available in the "Institutional user
>> type (login/SSO self-creation/Information user can enter" panel in the
>> "Users self-creating accounts" domain configuration.
>>
>> If, however, you are not using institutional authentication, but
>> allowing users to create their own accounts by providing an e-mail
>> address as username then in LON-CAPA 2.11.0 and 2.11.1 the choice of
>> (optional) fields which you could request from a user is as follows:
>>
>> - First Name
>> - Last Name
>> - School/college/university
>> - School's web address
>> - School's city, state/province, country
>> - E-mail address at institution (if different)
>>
>> in addition to the required fields:
>>
>> - E-mail address to be used as username
>> - Password.
>>
>>
>> Stuart Raeburn
>> LON-CAPA Academic Consortium
>>
>>
>> Quoting Amos Lee <lee at math.usask.ca>:
>>
>>> Hi,
>>>
>>> When one clicks on "New User?" at Lon Capa's login screen, the subsequent
>>> screen that appears will prompt the user to enter the following
>>> personal data:
>>>
>>> E-mail address*:
>>> Password*:
>>> Confirm password*:
>>> First Name:
>>> Last Name:
>>>
>>> Is there a "no-coding-required" way to add a "Student/Employee ID" entry in
>>> the mix as part of their data entry?
>>>
>>> If coding is the only way to modify it, which perl module is responsible
>>> for that?  Can you offer us some coding tips and code fragments on how to
>>> accomplish this?
>>>
>>> We would like to explore having students of one particular class here
>>> auto-create Lon Capa accounts themselves. The students would then
>>> self-enroll in a Lon Capa course which would house a copy of our Math
>>> Placement Test (with time slots and all that).  Having the student's
>>> university ID as part of his/her personal data would be vital.
>>>
>>>
>>> Thanks,
>>>
>>> Amos Lee
>>> Math and Stats
>>> Univ of Sask
>>> _______________________________________________
>>> LON-CAPA-users mailing list
>>> LON-CAPA-users at mail.lon-capa.org
>>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users



More information about the LON-CAPA-users mailing list