[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006976#comment-14006976
 ] 

Juan Carrera commented on OPENMEETINGS-1007:
--------------------------------------------

Well, I can understand that, but it could be like with ldap, if no password 
syncing, user still can login from localdb if guesses the random password (or 
if ldap validation if the user knows the password).
As we use both ldap and moodle, as soon as moodle creates the account, the ldap 
query return two records with same username and throws an error when ldap user 
tries to login at login page. 

> Users with externalUserId and externaluserType <> null can't login
> ------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-1007
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1007
>             Project: Openmeetings
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: OpenMeetings 3.01 on Debian jessie 64
> MySQL 5.5.37
>            Reporter: Juan Carrera
>            Priority: Minor
>
> If you try to login with a user that has something different from null in 
> externalUserId or externalUserType fields you can't get into application 
> using login page.
> We use ldap to authenticate our users. But we use moodle too. If both 
> accounts get created, we get a duplicate error and ca't login. If we fill 
> externaUser fileds to use same account no matter which way you get into OM 
> (to avoid duplicates and to get access to your recordings) then the user is 
> blocked at login page (can't get session).
> openmeetings log:
> DEBUG 05-23 08:12:40.990 o.a.o.l.LdapAuthBase:151 
> [http-nio-0.0.0.0-5080-exec-8] - loginToLdapServer
> DEBUG 05-23 08:12:40.994 o.a.o.d.u.UserManager:1024 
> [http-nio-0.0.0.0-5080-exec-8] - Usermanagement.getUserByLogin : carreraj
> DEBUG 05-23 08:12:41.001 o.a.o.l.LdapAuthBase:174 
> [http-nio-0.0.0.0-5080-exec-8] - getData
> DEBUG 05-23 08:12:41.003 o.a.o.l.LdapLoginManagement:532 
> [http-nio-0.0.0.0-5080-exec-8] - User already exists -> Update of current 
> passwd
> DEBUG 05-23 08:12:41.003 o.a.o.d.d.s.SessiondataDao:158 
> [http-nio-0.0.0.0-5080-exec-8] - updateUser User: 12 || 
> 3cf753da83af2b9fffa2ae29e89434bf
> DEBUG 05-23 08:12:41.005 o.a.o.d.d.s.SessiondataDao:174 
> [http-nio-0.0.0.0-5080-exec-8] - Found session to update: 
> 3cf753da83af2b9fffa2ae29e89434bf userId: 12
> DEBUG 05-23 08:12:41.047 o.a.o.u.c.ManageCryptStyle:32 
> [http-nio-0.0.0.0-5080-exec-8] - getInstanceOfCrypt:: 
> configKeyCryptClassName: org.apache.openmeetings.util.crypt.MD5Implementation
> DEBUG 05-23 08:12:41.047 o.a.o.l.LdapLoginManagement:725 
> [http-nio-0.0.0.0-5080-exec-8] - LdapLoginmanagement.createUserFromLdapData
> DEBUG 05-23 08:12:41.095 o.a.w.u.c.CookieUtils:266 
> [http-nio-0.0.0.0-5080-exec-8] - Unable to find Cookie with name=LoggedIn and 
> request URI=signin?0-1.IBehaviorListener.1-signin
> DEBUG 05-23 08:12:41.095 o.a.wicket.Page:871 [http-nio-0.0.0.0-5080-exec-8] - 
> ending request for page [Page class = 
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 0, render count = 1], 
> request org.apache.wicket.protocol.http.servlet.ServletWebRequest@204059d2
> DEBUG 05-23 08:12:41.095 o.a.wicket.Page:871 [http-nio-0.0.0.0-5080-exec-8] - 
> ending request for page [Page class = 
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 0, render count = 1], 
> request org.apache.wicket.protocol.http.servlet.ServletWebRequest@204059d2
> DEBUG 05-23 08:12:41.098 o.a.w.p.PageAccessSynchronizer:195 
> [http-nio-0.0.0.0-5080-exec-8] - 'http-nio-0.0.0.0-5080-exec-8' released lock 
> to page with id '0'
> DEBUG 05-23 08:12:41.098 o.a.w.p.AsynchronousDataStore$PageSavingRunnable:354 
> [Wicket-PageSavingThread] - Saving asynchronously: Entry 
> [sessionId=3D450522973F6D10129BBFDFC7868BEF, pageId=0]...
> DEBUG 05-23 08:12:41.098 o.a.w.p.DiskDataStore:186 [Wicket-PageSavingThread] 
> - Storing data for page with id '0' in session with id 
> '3D450522973F6D10129BBFDFC7868BEF'
> DEBUG 05-23 08:12:41.098 o.a.w.p.PageAccessSynchronizer:346 
> [http-nio-0.0.0.0-5080-exec-8] - 'http-nio-0.0.0.0-5080-exec-8' notifying 
> blocked threads
> DEBUG 05-23 08:12:41.108 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.109 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.109 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.109 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.164 o.a.w.p.PageAccessSynchronizer:100 
> [http-nio-0.0.0.0-5080-exec-7] - 'http-nio-0.0.0.0-5080-exec-7' attempting to 
> acquire lock to page with id '1'
> DEBUG 05-23 08:12:41.164 o.a.w.p.PageAccessSynchronizer:125 
> [http-nio-0.0.0.0-5080-exec-7] - http-nio-0.0.0.0-5080-exec-7 acquired lock 
> to page 1
> DEBUG 05-23 08:12:41.167 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.167 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.167 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.167 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.168 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 05-23 08:12:41.168 o.a.w.p.h.s.ServletWebRequest:189 
> [http-nio-0.0.0.0-5080-exec-7] - Calculating context relative path from: 
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to