[LON-CAPA-admin] Multiple Domain Coordinator Accounts - Potential Issues?

Lucas, Richard clucas at purdue.edu
Fri Mar 6 15:59:02 EST 2015


I was able to use the expire script on a user we had just gave the domain coordinator privilege to. It still says they are a domain coordinator in the GUI, but when they login they don't actually have that role. Is there a way to delete the account all together?

Thanks,
Richard

-----Original Message-----
From: lon-capa-admin-bounces at mail.lon-capa.org [mailto:lon-capa-admin-bounces at mail.lon-capa.org] On Behalf Of Lucas, Richard
Sent: Thursday, March 05, 2015 6:29 PM
To: list about administration and system updating
Subject: Re: [LON-CAPA-admin] Multiple Domain Coordinator Accounts - Potential Issues?

Thanks, the upgrade to 2.11.0 is on the list for us to do. We'll be upgrading our non-prod instance next week where I am testing this. I grabbed the newer version and now am getting this:

perl loncom/build/expire_DC_role.pl dc_purdue2:purdue purdue        
Language: English (en). Change? [ar|de|en|es|fa|fr|he|ja|pt|ru|tr|zh]? 
**** ERROR **** dc_purdue2:purdue is not a LON-CAPA user for which this is the homeserver.

It appears to not think the user exists even though they appear in they show up when searching for users in the GUI. It looks like it's searching for their directory and they don't have one.

Richard

-----Original Message-----
From: lon-capa-admin-bounces at mail.lon-capa.org [mailto:lon-capa-admin-bounces at mail.lon-capa.org] On Behalf Of Stuart Raeburn
Sent: Thursday, March 05, 2015 5:58 PM
To: lon-capa-admin at mail.lon-capa.org
Subject: Re: [LON-CAPA-admin] Multiple Domain Coordinator Accounts - Potential Issues?

Hi,

> Undefined subroutine &main::mt called at   
> loncom/build/expire_DC_role.pl line 114.

There was a bug in the version of this script (rev. 1.2) included with LON-CAPA 2.10.1, which is fixed in 2.11.0 (released June 2014) which included rev. 1.5 of expire_DC_role.pl.

As loncapa.purdue.edu is running 2.10.1, you should get version 1.3 of expire_DC_role.pl from the LON-CAPA CVS repository, and use that.

wget -O expire_DC_role.pl
http://source.loncapa.org/cgi-bin/cvsweb.cgi/~checkout~/loncom/build/expire_DC_role.pl?rev=1.3;content-type=text/plain'


Stuart Raeburn
LON-CAPA Academic Consortium


Quoting "Lucas, Richard" <clucas at purdue.edu>:

> We have used the add_domain_coordinator_privilege.pl to give the   
> domain coordinator privilege and seems to work great. However, when   
> attempting to remove the domain coordinator privilege from an   
> account with the expire_DC_role.pl script I'm getting an error:
>
> perl loncom/build/expire_DC_role.pl dc_purdue2:purdue purdue
> Language: English (en). Change? [ar|de|en|es|fa|fr|he|ja|pt|ru|tr|zh]?
> Undefined subroutine &main::mt called at   
> loncom/build/expire_DC_role.pl line 114.
>
> Any suggestions here?
>
>
> Thanks,
> Richard
>
> -----Original Message-----
> From: lon-capa-admin-bounces at mail.lon-capa.org   
> [mailto:lon-capa-admin-bounces at mail.lon-capa.org] On Behalf Of   
> Lucas, Mark
> Sent: Wednesday, March 04, 2015 3:49 PM
> To: LON-CAPA Admin
> Subject: Re: [LON-CAPA-admin] Multiple Domain Coordinator Accounts - 
> Potential Issues?
>
> There is nothing special about a domain coordinator account outside   
> that it has the domain coordinator role.  We have two regular   
> accounts at ohiou that have DC privileges.
>
> That said, you certainly need to think carefully about accounts that 
> are created with DC privileges - What accounts and how many. I don't 
> think there are any known issues beyond simply keeping two accounts 
> secure when creating DC privileged accounts.
>
> Stuart or Gerd should probably chime in with a more definitive answer.
>
> Mark
>
>
>
> On Mar 4, 2015, at 3:38 PM, Young, Joyce E <young257 at purdue.edu> wrote:
>
>> We are currently using Lon-Capa on a small scale, and "sharing" one 
>> Domain Coordinator account between 2 people. With plans to scale
>> up  the system, we really need more than one account with these   
>> privileges. We use the account for setting up course information   
>> because the Domain Coordinator can see all of the courses, and we   
>> have more than one person completing this setup.
>> Are there any issues with creating multiple Domain Coordinator   
>> accounts? I see the script to create these accounts in the   
>> Technical documentation. The creation itself seems pretty   
>> straightforward - I'm wondering if there are any known issues with   
>> having more than one such account?
>>                                                                      
>>              Thanks,
>>
>> Joyce
>>
>> Joyce Young
>> Programmer/Analyst
>> ITAS - Student Systems Competency Center Purdue University
>> 3495 Kent Avenue, Suite 100
>> West Lafayette, IN 47906
>> Phone: (765) 427-6340
>> Fax: (765) 464-2233
>> Campus Mail: ROSS
>> young257 at purdue.edu
>>
>> _______________________________________________
>> LON-CAPA-admin mailing list
>> LON-CAPA-admin at mail.lon-capa.org
>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
> --
> Mark Lucas 								email: lucasm at ohiou.edu
> 252D Clippinger Lab						phone: (740)597-2984
> Department of Physics and Astronomy		fax: (740)593-0433
> Ohio University
> Athens, OH 45701

_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin


More information about the LON-CAPA-admin mailing list