The problem here is that the users that are logging in for the first time
cannot associate themselves with an organization, as the list that requests
them to choose one is not populated with anything. So to answer your
question: no, the users are not associated with an organization upon logging
in. The users are also never created, because they cannot assign themselves
an organization.

DEBUG 03-16 08:25:15.396 Sessionmanagement.java 80042181 340
org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-1] -
updateUserOrg User: null || dec0c86c3e4419b00c5d6ab9e339e92e
DEBUG 03-16 08:25:15.399 Sessionmanagement.java 80042184 367
org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-1] - Found
session to update: dec0c86c3e4419b00c5d6ab9e339e92e organisation_id: null
DEBUG 03-16 08:25:15.988 ScopeApplicationAdapter.java 80042773 1744
org.openmeetings.app.remote.red5.ScopeApplicationAdapter [NioProcessor-1] -
#*#*#*#*#*#*# setUsername userId: null username: null firstname: null
lastname: null
DEBUG 03-16 08:25:15.988 ScopeApplicationAdapter.java 80042773 1749
org.openmeetings.app.remote.red5.ScopeApplicationAdapter [NioProcessor-1] -
[setUsername] id: 37
DEBUG 03-16 08:25:15.988 ScopeApplicationAdapter.java 80042773 1756
org.openmeetings.app.remote.red5.ScopeApplicationAdapter [NioProcessor-1] -
UDPATE SESSION dec0c86c3e4419b00c5d6ab9e339e92e, null
DEBUG 03-16 08:25:15.988 Sessionmanagement.java 80042773 394
org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-1] -
updateUser User: null || dec0c86c3e4419b00c5d6ab9e339e92e
DEBUG 03-16 08:25:15.990 Sessionmanagement.java 80042775 421
org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-1] - Found
session to update: dec0c86c3e4419b00c5d6ab9e339e92e userId: null
DEBUG 03-16 08:25:15.992 Usermanagement.java 80042777 1332
org.openmeetings.app.data.user.Usermanagement [NioProcessor-1] -
Usermanagement.getUserById
ERROR 03-16 08:25:15.999 UsersDaoImpl.java 80042784 69
org.openmeetings.app.data.user.dao.UsersDaoImpl [NioProcessor-1] - [getUser]
Error: No USER_ID given
ERROR 03-16 08:25:16.029 Navimanagement.java 80042814 75
org.openmeetings.app.data.basic.Navimanagement [NioProcessor-1] -
getMainMenu 0

(I omitted the lines from the log where it was 'Getting Labels')

It's my understanding that when the LDAP authentication is enabled, and
users log in for the first time using their LDAP credentials, the
Openmeetings software is supposed to automatically create a user account and
pull the correct organization ID from the default_domain_id configuration
setting. I have verified that the default_domain_id setting is set to a
value (in my case: 1, as it's the only organization) and that the database
has a value assigned to the organization ID.

mysql> SELECT * FROM organisation;
+-----------------+------------+------+-----------+---------------------+------------+---------+
| organisation_id | insertedby | name | updatedby | starttime           |
updatetime | deleted |
+-----------------+------------+------+-----------+---------------------+------------+---------+
|               1 |          1 | NACA |      NULL | 2010-03-15 10:19:40 |
NULL       | false   |
|               2 |          2 | NACA |         2 | 2010-03-15 12:57:27 |
NULL       | true    |
|               3 |          2 |      |         2 | 2010-03-15 13:01:21 |
NULL       | true    |
+-----------------+------------+------+-----------+---------------------+------------+---------+
3 rows in set (0.00 sec)

As you can see, I also had tried to create another organization and assign
that one as the default_domain_id as well, which didn't work. However, when
I list all the rows from name, I get this:

mysql> SELECT COUNT(*) AS `Rows`,`name`
    -> FROM `organisation`
    -> GROUP BY `name`
    -> ORDER BY `name`;
+------+------+
| Rows | name |
+------+------+
|    1 |      |
|    2 | NACA |
+------+------+
2 rows in set (0.00 sec)

As you can see, the first row has no value. Might this be an issue?

On Tue, Mar 16, 2010 at 11:52 AM, smoeker <o.beche...@medint.de> wrote:

> hola,
>
> can you check, if these users are assigned to a org in database?
>
>
> see ya
>
> Smoeker
>
> On Mar 15, 11:35 pm, Danny Trinh <danny.d.tr...@gmail.com> wrote:
> > Yes, I got the same thing. See this threadhttps://
> mail.google.com/mail/?shva=1#inbox/1271c954e849c723. I still can't
> > make it work. :-(
> >
> > Danny Trinh
> > Linux Admin
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to openmeetings-u...@googlegroups.com.
> To unsubscribe from this group, send email to
> openmeetings-user+unsubscr...@googlegroups.com<openmeetings-user%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to openmeetings-u...@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to