Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-19 Thread t . lemeur

Le 19/05/2010 12:25, Sebastian Wagner a écrit :

Hi Thibault,

yes so that means to make it backward compatible users have to run this script.
But for new installations your patch is okay.
   


Yes, it's okay for new installation.
It's also safe to upgrade an existing OM without running any script, the 
only drawback is that if Ldap is configured, users will always use their 
password from the internal Database (their LDAP password will not be 
synchronized anymore to the internal DB).



We will add this to the Release Notes of the upcoming package. So that
users that upgrade their code/installation should run the script

That should do the trick, or what do you think?
   


Yes, that's ok there is no real script though... only a rough 
algorithm ;-)


Thibault

--
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-19 Thread Sebastian Wagner
Hi Thibault,

yes so that means to make it backward compatible users have to run this script.
But for new installations your patch is okay.

We will add this to the Release Notes of the upcoming package. So that
users that upgrade their code/installation should run the script

That should do the trick, or what do you think?

Thanks,
Sebastian

2010/5/19  :
> Le 19/05/2010 11:21, t.lem...@gmail.com a écrit :
>>
>> Hi Sebastian,
>>
>> Le 19/05/2010 09:35, Sebastian Wagner a écrit :
>>>
>>> hm,
>>>
>>> I read your problem about not beeing able to set the UserDN in the
>>> field ExternalUser_Id because the field is a numeric type.
>>>
>>> And about the *ExternalUserType* but I do not see any comment about a
>>> new field required or referenced "auth-type" in the user-object.
>
> Sorry, I meant ExternalUserType, not a new "auth-type" field... I mixed this
> with another project I'm working on.
>
>
>
>>>
>>> Where did you write that down?
>>
>>
>> In ticket 1208:
>>
>> http://code.google.com/p/openmeetings/issues/detail?can=2&q=1208&colspec=ID%20Modified%20Type%20Status%20Stars%20Component%20Priority%20Milestone%20Owner%20Summary&id=1208
>>
>>
>> Comment 4 (t.lemeur Apr 15, 2010)
>>
>> [QUOTE]Applying this patch means that the Users table in OM DB must be
>> updated so
>> that Usersthat were previously added with LDAP import have their
>> ExternalUserType
>> field updated to "LDAP"
>> [/QUOTE]
>>
>> Note that if you forget to fix this, your users will still be able to
>> login, but as
>> if they were locally defined (no more Synch with LDAP data).
>>
>>
>> Then Comment 5 (t.lemeur May 11, 2010)
>>
>> About my comment #4,
>> the simplest way to update an om system after this fix is applied is to
>> use the
>> following algorithm:
>>
>> IF (LDAP-Authentication enabled)
>> THEN
>>  FOREACH non-admin-users
>>  DO
>>   Update the user entry by setting the EXTERNAL_USER_TYPE_LDAP DB field to
>> "LDAP"
>>  DONE
>> END IF
>>
>> I'm not sure where in the code is the "update DB" method used during
>> updgrade.
>>
>> Thibault
>>
>>
>
>



-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wag...@gmail.com

-- 
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-19 Thread t . lemeur

Le 19/05/2010 11:21, t.lem...@gmail.com a écrit :

Hi Sebastian,

Le 19/05/2010 09:35, Sebastian Wagner a écrit :

hm,

I read your problem about not beeing able to set the UserDN in the
field ExternalUser_Id because the field is a numeric type.

And about the *ExternalUserType* but I do not see any comment about a
new field required or referenced "auth-type" in the user-object.


Sorry, I meant ExternalUserType, not a new "auth-type" field... I mixed 
this with another project I'm working on.






Where did you write that down?



In ticket 1208:
http://code.google.com/p/openmeetings/issues/detail?can=2&q=1208&colspec=ID%20Modified%20Type%20Status%20Stars%20Component%20Priority%20Milestone%20Owner%20Summary&id=1208 




Comment 4 (t.lemeur Apr 15, 2010)

[QUOTE]Applying this patch means that the Users table in OM DB must be 
updated so
that Usersthat were previously added with LDAP import have their 
ExternalUserType

field updated to "LDAP"
[/QUOTE]

Note that if you forget to fix this, your users will still be able to 
login, but as

if they were locally defined (no more Synch with LDAP data).


Then Comment 5 (t.lemeur May 11, 2010)

About my comment #4,
the simplest way to update an om system after this fix is applied is 
to use the

following algorithm:

IF (LDAP-Authentication enabled)
THEN
 FOREACH non-admin-users
 DO
   Update the user entry by setting the EXTERNAL_USER_TYPE_LDAP DB 
field to "LDAP"

 DONE
END IF

I'm not sure where in the code is the "update DB" method used during 
updgrade.


Thibault




--
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-19 Thread t . lemeur

Hi Sebastian,

Le 19/05/2010 09:35, Sebastian Wagner a écrit :

hm,

I read your problem about not beeing able to set the UserDN in the
field ExternalUser_Id because the field is a numeric type.

And about the *ExternalUserType* but I do not see any comment about a
new field required or referenced "auth-type" in the user-object.

Where did you write that down?
   



In ticket 1208:
http://code.google.com/p/openmeetings/issues/detail?can=2&q=1208&colspec=ID%20Modified%20Type%20Status%20Stars%20Component%20Priority%20Milestone%20Owner%20Summary&id=1208


Comment 4 (t.lemeur Apr 15, 2010)

[QUOTE]Applying this patch means that the Users table in OM DB must be updated 
so
that Usersthat were previously added with LDAP import have their 
ExternalUserType
field updated to "LDAP"
[/QUOTE]

Note that if you forget to fix this, your users will still be able to login, 
but as
if they were locally defined (no more Synch with LDAP data).


Then Comment 5 (t.lemeur May 11, 2010)

About my comment #4,
the simplest way to update an om system after this fix is applied is to use the
following algorithm:

IF (LDAP-Authentication enabled)
THEN
 FOREACH non-admin-users
 DO
   Update the user entry by setting the EXTERNAL_USER_TYPE_LDAP DB field to 
"LDAP"
 DONE
END IF

I'm not sure where in the code is the "update DB" method used during updgrade.

Thibault


--
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-19 Thread Sebastian Wagner
hm,

I read your problem about not beeing able to set the UserDN in the
field ExternalUser_Id because the field is a numeric type.

And about the *ExternalUserType* but I do not see any comment about a
new field required or referenced "auth-type" in the user-object.

Where did you write that down?


Sebastian

2010/5/19  :
> Le 18/05/2010 19:28, Sebastian Wagner a écrit :
>>
>> Okay its commited:
>> http://code.google.com/p/openmeetings/source/detail?r=3246
>>
>
> Many thanks Sebastian.
>
> Have you seen my comment on the ~1208 ticket about upgrading the user DB in
> order to set AUTH-TYPE?
>
> Is there a specific files where we can find the upgrade DB code used when
> upgrading OM ?
>
> Regards,
> Thibault
>
>
>> 2010/5/18 Sebastian Wagner:
>>
>>>
>>> I have some problems with the GoogleCode SVN:
>>> http://code.google.com/p/support/issues/detail?id=3927#c46
>>>
>>> Hopefully I can commit that till tonight.
>>>
>>>
>>> Sebastian
>>>
>>> On May 11, 3:50 pm, Nilson Morais  wrote:
>>>

 That would be very useful for me too. :)

 --
 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
 athttp://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.
>>>
>>>
>>>
>>
>>
>>
>
>



-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wag...@gmail.com

-- 
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-18 Thread t . lemeur

Le 18/05/2010 19:28, Sebastian Wagner a écrit :

Okay its commited:
http://code.google.com/p/openmeetings/source/detail?r=3246
   


Many thanks Sebastian.

Have you seen my comment on the ~1208 ticket about upgrading the user DB 
in order to set AUTH-TYPE?


Is there a specific files where we can find the upgrade DB code used 
when upgrading OM ?


Regards,
Thibault



2010/5/18 Sebastian Wagner:
   

I have some problems with the GoogleCode SVN:
http://code.google.com/p/support/issues/detail?id=3927#c46

Hopefully I can commit that till tonight.


Sebastian

On May 11, 3:50 pm, Nilson Morais  wrote:
 

That would be very useful for me too. :)

--
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 
athttp://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.


 



   


--
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-18 Thread Nilson Morais
Thanks guys!

On Tue, May 18, 2010 at 2:28 PM, Sebastian Wagner wrote:

> Okay its commited:
> http://code.google.com/p/openmeetings/source/detail?r=3246
>
> 2010/5/18 Sebastian Wagner :
> > I have some problems with the GoogleCode SVN:
> > http://code.google.com/p/support/issues/detail?id=3927#c46
> >
> > Hopefully I can commit that till tonight.
> >
> >
> > Sebastian
> >
> > On May 11, 3:50 pm, Nilson Morais  wrote:
> >> That would be very useful for me too. :)
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups "OpenMeetings User" group.
> >> To post to this group, send email to openmeetings-user@googlegroups.com
> .
> >> To unsubscribe from this group, send email to
> openmeetings-user+unsubscr...@googlegroups.com
> .
> >> For more options, visit this group athttp://
> 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.
> >
> >
>
>
>
> --
> Sebastian Wagner
> http://www.webbase-design.de
> http://openmeetings.googlecode.com
> http://www.laszlo-forum.de
> seba.wag...@gmail.com
>
> --
> 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.
>
>

-- 
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-18 Thread Sebastian Wagner
Okay its commited:
http://code.google.com/p/openmeetings/source/detail?r=3246

2010/5/18 Sebastian Wagner :
> I have some problems with the GoogleCode SVN:
> http://code.google.com/p/support/issues/detail?id=3927#c46
>
> Hopefully I can commit that till tonight.
>
>
> Sebastian
>
> On May 11, 3:50 pm, Nilson Morais  wrote:
>> That would be very useful for me too. :)
>>
>> --
>> 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 
>> athttp://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.
>
>



-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wag...@gmail.com

-- 
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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-18 Thread Sebastian Wagner
I have some problems with the GoogleCode SVN:
http://code.google.com/p/support/issues/detail?id=3927#c46

Hopefully I can commit that till tonight.


Sebastian

On May 11, 3:50 pm, Nilson Morais  wrote:
> That would be very useful for me too. :)
>
> --
> 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 
> athttp://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.



Re: Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-11 Thread Nilson Morais
That would be very useful for me too. :)

-- 
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.



Ticket 1208: openldap patch and sync-ldap-password-to-om option

2010-05-11 Thread t . lemeur

Hi Sebastian, smoeker,

I just wanted to know if you had time to review and maybe apply the 
patch I proposed in ticket #1208 ?
Moreover, I'd like to know if there is a specific part in the code which 
is responsible for Databse update on upgrade ? Indeed, a small patch is 
required when updating an LDAP-enabled installation of OM.


Regards,
Thibault

--
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.