Forum LAMS for Tech-Heads - General Forum: Re: Import from lamscommunity


 
Search: 

4: Re: Import from lamscommunity
In response to 1 06/25/09 05:05 PM
[ Reply | Forward ]
Are you using the correct username and password for yours lamscommunity account?

Posted by Spyros Papadakis

5: Re: Re: Import from lamscommunity
In response to 4 06/25/09 06:53 PM
[ Reply | Forward ]
Yes, I am using the correct username and password. I know this to be the case, because is I don't use the correct username and password, I get the red error message that my password is incorrect.

So when I enter the login info correctly, i don't see that message but I am redirected to login again.

I am familiar with the dotlrn code lamscommunity is based on, but not the specific code you are using for lamscentral and integration for the import from lamscommunity feature.

Posted by Dave Bauer

6: Re: Re: Re: Import from lamscommunity
In response to 5 06/26/09 12:19 AM
[ Reply | Forward ]
Hi Dave,

So the way the integration with the LAMS Community works is rather simple yet secured.

Once you register your LAMS server within the LAMS Community, your server gets a key (sent by the LAMS Community). This key then is used to encrypt *all* data exchange for login between the LAMS server and the LAMS Community.

Once the LAMS server is integrated, then users get a chance to login directly using their LAMS Community email and password. These two get encrypted using the server keys from both servers (if I recall correctly the encryption is blowfish) and the exchange determines whether you get logged in into the LAMS Community automatically or now. The good thing is that after you entered you email and passwd for LAMS Community *once* on your LAMS server, then you don't need to enter this any more (unless you turn the automatic sign on in "My Profile").

So once your email and passwd get checked by the LAMS Community, then you get automatically logged in into it. And given that you are a .LRN guru, perhaps you can tell me why this is not working for you :-)

If the credentials all match then I do:

auth::issue_login -user_id $user_id

and after I do a normal redirect:

ad_returnredirect "/lams/welcome"


It's seems that it works for us but not for you though. Could it be a browser setting? Have you tried with a different browser?

Thanks,

Ernie

Posted by Ernie Ghiglione

7: Re: Re: Re: Re: Import from lamscommunity
In response to 6 06/26/09 06:58 AM
[ Reply | Forward ]
I don't have any weird settings in my browsers. I tested on FF win/linux/mac and IE7.

Same behavior.

Lams does not work at all in Safari so I couldn't test there.

I checked and i have TWO cookies, one for "lamscommunity.org" and "www.lamscommunity.org"

I see that there is a /x/ added to the URL so something in that URL handler seems to be causing the behavior.

Is the code that handles that available somewhere for me to check out?

Thanks!
Dave

Posted by Dave Bauer

8: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 7 06/26/09 10:09 AM
[ Reply | Forward ]
Can you test it here:

https://translations.lamsinternational.com/lams

u: test3
p: test3

It seems to be working OK for me there.

BTW,

> Lams does not work at all in Safari so I couldn't test there.

With Safari 4, LAMS 2.3 works really nice now. If you find specific issues, please let us know, but I did some testing and it was working quite nicely.

About the code, I'll send it to you by email shortly.

Thanks,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 8 06/26/09 10:20 AM
[ Reply | Forward ]
Ok I can see there is different behavior.

On translations i get a Special Import login screen.

I see the regular login screen from my lams 2.3 server.

I did register, since it won't even get that far if I have not.

Screenshots attached.

Posted by Dave Bauer

Attachments:
10: Re: Re: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 9 06/26/09 10:23 AM
[ Reply | Forward ]
OOps i can only make one attachment. Here is what my server looks like.

Posted by Dave Bauer

Attachments:
11: Re: Re: Re: Import from lamscommunity
In response to 5 06/26/09 10:51 AM
[ Reply | Forward ]
Dave,

Is your lamsdev server compiled from source? if so, are you using the lams2_3 branch?

Thanks,

Ernie

Posted by Ernie Ghiglione

12: Re: Re: Re: Re: Import from lamscommunity
In response to 11 06/26/09 11:04 AM
[ Reply | Forward ]
No. I took our lams 2.1 which was created from the installer.
Then I ran the 2.2 and 2.3 updater.

Posted by Dave Bauer

13: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 12 06/29/09 11:33 PM
[ Reply | Forward ]
Hey Dave,

Just a shot in the dark here... did you register the server before or after the 2.3 upgrade?

Luke

Posted by Luke Foxton

14: Re: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 13 06/30/09 04:14 AM
[ Reply | Forward ]
I registered after the upgrade.

Posted by Dave Bauer

15: Re: Re: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 14 07/10/09 07:55 AM
[ Reply | Forward ]
Ok, with the 2.3.1 patch, I seem to have fixed my install and import from lamscommunity works! Thanks.

Posted by Dave Bauer

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum