On Tue, Oct 13, 2009 at 11:38 AM, Dave Bauer <d...@solutiongrove.com> wrote:
> On Tue, Oct 13, 2009 at 11:30 AM, Martin Langhoff
> <martin.langh...@gmail.com> wrote:
>> On Tue, Oct 13, 2009 at 5:22 PM, Dave Bauer <d...@solutiongrove.com> wrote:
>>> I am trying to test out the Moodle/Ejabberd course/group configuration
>>> following 
>>> http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups
>>>
>>> I turned on the presence service on moodle, restarted everything,
>>> created some courses.
>>
>> Good!
>>
>>> ejabberdctl srg-list-groups
>>>
>>> returns online "Online" and I can confirm I can still see everyone in
>>> the neighborhood even though they are seperated into different
>>> courses.
>>
>> - Did you create courses and assign users as teachers or students in them?
>>
>
> Yes
>
>> - After ~10 minutes ejabberdctl srg-list-groups still lists only Online?
>>   - Recheck that you got the setting on moodle admin correct
>
> Yes
>
>>   - look at /var/log/moodle/cron.log -- it is fairly verbose, but it
>> will talk of creating / destroying the SRGs in ejabberd
>>
> Thanks, I'll check that out.
>


I tracked this down. In moodle/web/auth/olpcxs/auth.php where
schoolserver is set as the hostname. I changed it to use
php_uname('n') and it is working now. I'll submit a patch if you think
this is workable. It coincides with the registration patches to allow
other server names.

Dave

> Dave
>>
>> m
>> --
>>  martin.langh...@gmail.com
>>  mar...@laptop.org -- School Server Architect
>>  - ask interesting questions
>>  - don't get distracted with shiny stuff  - working code first
>>  - http://wiki.laptop.org/go/User:Martinlanghoff
>>
>
>
>
> --
> Dave Bauer
> d...@solutiongrove.com
> http://www.solutiongrove.com
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel

Reply via email to