Re: [edx-code] external_auth, CAS and UserProfile

2016-12-15 Thread Stuart O'Day
Not sure what 'This is still happening...' means.  

This discussion from early 2015 was related to (at least on my part) a 
mis-configuration of my CAS Server DNS Name in my devstack environment, 
which broke the connectivity between my edX application and the CAS server. 

Since the Dogwood release (including the Eucalyptus release) there have 
been other issues with CAS. See the discussion and my post here: 
https://groups.google.com/forum/#!topic/openedx-ops/XU0zcGH4S2o


On Thursday, December 15, 2016 at 1:32:50 PM UTC-5, Eduardo Cuomo wrote:
>
> This is still happening...
>
> El miércoles, 29 de abril de 2015, 17:44:32 (UTC-3), Stuart O'Day escribió:
>>
>> Hi,
>>
>>I ran into the same error while configuring devstack, running 
>> named-release/birch in vagrant,  IOError: [Errno socket error] [Errno 
>> 111] Connection refused, and it turned out to be a connectivity issue 
>> during the back-channel validation of the Ticket from my Open edX Server 
>> (running in the vagrant VM) to the CAS Server.  (See step 6 in this 
>> diagram 
>> <http://www.developertutorials.com/wp-content/uploads/2004/01/52-1.gif>). 
>>  My Open edX Server was incorrectly resolving the DNS Name in the CAS 
>> Server URL. Once that was fixed, everything started working.  
>>
>> Not sure if this situation is related to yours, but I thought I would 
>> post anyways.
>>
>> Stuart
>>
>>
>>
>> On Wednesday, February 25, 2015 at 1:28:39 AM UTC-5, Eugene Medvedev 
>> wrote:
>>>
>>> On Wednesday, 25 February 2015 08:51:05 UTC+3, Nilesh Londhe wrote:
>>>
>>> My CAS server seems to work with a different CAS client I setup. Do you 
>>>> have success with birch as CAS client? Which git tag are you running CAS 
>>>> with?
>>>>
>>>  
>>> We don't use named releases, we track the upstream release branch in a 
>>> fork that contains local customizations and try to keep it up to date. 
>>> Right now I have the dev server which is current up to release-2015-02-19 
>>> and two production servers *(long story)* which are two months out of 
>>> date or three *(whichever it was when TNL-726 
>>> <https://openedx.atlassian.net/browse/TNL-726> happened, I forget)* and 
>>> I had a version forever stuck somewhere in spring of 2014 before, and they 
>>> all worked fine with the same CAS server 
>>> <https://github.com/jbittel/django-mama-cas>, although the mapper code 
>>> had to be different between them because of changes to CourseEnrollment 
>>> objects. 
>>>
>>> The version of edX you're running is very unlikely to make a difference 
>>> for CAS login itself, since edX relies on a particular version of 
>>> django-cas library, patched to work with django 1.4, which hasn't changed 
>>> for quite a while: 
>>> https://github.com/edx/edx-platform/commit/189284ace6c8525dc739eff2f8a99216c735d83c
>>>  
>>> and basically doesn't do anything about CAS itself other than feed the 
>>> library configuration parameters.
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/77f2fb30-c2b2-4a65-a73f-e4c55adf9a78%40googlegroups.com.


[edx-code] Re: Unable to create certificates

2016-12-09 Thread Stuart O'Day
Try using the format:

course-v1:Microsoft+CS-01+2016

On Friday, December 9, 2016 at 4:31:18 AM UTC-5, Levani Melikishvili wrote:
>
> Thanks for the reply.
>
> Now I have a trouble adding new course mode.
>
> I have created a new course but getting the following error 
> on /admin/course_modes/coursemode/ page:
>
> Cannot find course with id Microsoft/CS-01/2016 in the modulestore
>
> Course with the following params Microsoft/CS-01/2016 exists but I'm still 
> getting this error...
>
> On Friday, December 9, 2016 at 4:01:58 AM UTC+4, Ernesto Sanchez wrote:
>>
>> You can do it from  http://your-server/admin/course_modes/coursemode/
>>
>> El jueves, 8 de diciembre de 2016, 10:29:46 (UTC-6), Levani Melikishvili 
>> escribió:
>>>
>>> Hi,
>>>
>>> I have followed the documentation 
>>> 
>>>  
>>> to enable certificates on my open edx installation. The "certificates" menu 
>>> item has appeared in studio but when I go there I only see this message:
>>>
>>> "This course does not use a mode that offers certificates."
>>>
>>> Is there any other configuration settings I should change to enable 
>>> certificates?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/35f29c38-6723-4a89-9a96-0157eb8b6164%40googlegroups.com.


[edx-code] Re: Disable Studio Sign Up

2016-08-15 Thread Stuart O'Day
This is how I did it:

*sudo apt-get install apache2-utils*

Then to create the file,

*sudo htpasswd -c /edx/app/nginx/.htpasswd  *

Then,

*sudo htpasswd /edx/app/nginx/.htpasswd *


Then follow @Juanito update of the cms file to Restrict


Then,

*sudo service nginx reload*




On Monday, March 14, 2016 at 7:35:11 PM UTC-4, Daniel McQuillen wrote:
>
> Apologies if the answer to this question is obvious. Is there a 
> configuration that turns off the "Sign Up" button and methods in studio?
>
> This has been asked before in the forum, without an answer (
> https://groups.google.com/d/msg/edx-code/Q_KMNd3rDpU/bwxP5EPkmMgJ).
>
> A check of cms.env.json doesn't seem to show a env variable that would 
> turn off sign ups. Is it a matter of manually pulling out the UI and server 
> API methods for sign up process? There is the 
> ENABLE_COMBINED_LOGIN_REGISTRATION variable, but I'm not sure of the 
> meaning behind "COMBINED."
>
> Thanks.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/390819d1-1305-4b25-abde-e5558009596f%40googlegroups.com.