Re: [Trac] Change user name

2015-03-09 Thread RjOllos
On Friday, March 6, 2015 at 4:44:09 PM UTC-8, hasienda wrote:
>
> -BEGIN PGP SIGNED MESSAGE- 
> Hash: SHA1 
>
> On 06.03.2015 21:41, Ryan Ollos wrote: 
> > On Fri, Mar 6, 2015 at 2:55 AM, Mattias Vannergård 
> >   >> wrote: 
> > 
> > Hi! 
> > 
> > According to, amongst other, this 
> > thread 
> https://groups.google.com/forum/#!searchin/trac-users/change$20user/trac-users/lpA2qSWgOPM/Ok7EesP7ATIJ
>  
> > 
> > it seems like a non-simplistic task to change the user id in a trac 
> db. 
> > 
> > I have written a small C#-program that does this, if anyone is 
> > interested. 
> > 
> > Or if anyone knows a current plugin, you may feel free to share. 
> > 
> > BR 
> > /Mattias 
> > 
> > 
> > It could be nice if AccountManagerPlugin supported this, but it seems 
> > unlikely that it would be widely used, and as the other thread noted, 
> > it's not entirely trivial to implement (which you likely found when 
> > writing your C# program). 
>
> Sure, this is not trivial, and maybe I don't get it by now, but what 
> about current functionality in AccountManagerPlugin [1] trunk? Isn't it 
> just what you're asking for? 
>
> Steffen Hoffmann 
>
>
> [1] http://trac-hacks.org/ticket/10945 
>

I'm still running 0.4.4 so I didn't realize, or forgot, the feature has 
been implemented. If many users are going to be running the trunk though, 
we might as well just cut a release and make an official baseline for 
everyone.

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Change user name

2015-03-06 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06.03.2015 21:41, Ryan Ollos wrote:
> On Fri, Mar 6, 2015 at 2:55 AM, Mattias Vannergård
> mailto:mattias.vannerg...@gmail.com>> wrote:
> 
> Hi!
> 
> According to, amongst other, this
> thread 
> https://groups.google.com/forum/#!searchin/trac-users/change$20user/trac-users/lpA2qSWgOPM/Ok7EesP7ATIJ
> 
> it seems like a non-simplistic task to change the user id in a trac db.
> 
> I have written a small C#-program that does this, if anyone is
> interested.
> 
> Or if anyone knows a current plugin, you may feel free to share.
> 
> BR
> /Mattias
> 
> 
> It could be nice if AccountManagerPlugin supported this, but it seems
> unlikely that it would be widely used, and as the other thread noted,
> it's not entirely trivial to implement (which you likely found when
> writing your C# program).

Sure, this is not trivial, and maybe I don't get it by now, but what
about current functionality in AccountManagerPlugin [1] trunk? Isn't it
just what you're asking for?

Steffen Hoffmann


[1] http://trac-hacks.org/ticket/10945
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlT6SasACgkQ31DJeiZFuHdWdQCfQ7BW6mWwm2lALEm5JAC7WSXP
0EIAn2rbmU5dtLdqvxYk7kpvwHzRIdnF
=UVqc
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Change user name

2015-03-06 Thread Ryan Ollos
On Fri, Mar 6, 2015 at 2:55 AM, Mattias Vannergård <
mattias.vannerg...@gmail.com> wrote:

> Hi!
>
> According to, amongst other, this thread
> https://groups.google.com/forum/#!searchin/trac-users/change$20user/trac-users/lpA2qSWgOPM/Ok7EesP7ATIJ
>
> it seems like a non-simplistic task to change the user id in a trac db.
>
> I have written a small C#-program that does this, if anyone is interested.
>
> Or if anyone knows a current plugin, you may feel free to share.
>
> BR
> /Mattias
>

It could be nice if AccountManagerPlugin supported this, but it seems
unlikely that it would be widely used, and as the other thread noted, it's
not entirely trivial to implement (which you likely found when writing your
C# program).

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Change user name

2015-03-06 Thread Mattias Vannergård
Hi!

According to, amongst other, this 
thread 
https://groups.google.com/forum/#!searchin/trac-users/change$20user/trac-users/lpA2qSWgOPM/Ok7EesP7ATIJ

it seems like a non-simplistic task to change the user id in a trac db.

I have written a small C#-program that does this, if anyone is interested.

Or if anyone knows a current plugin, you may feel free to share.

BR
/Mattias

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Change user name of old user

2009-09-04 Thread sacke

Hi all,

We've just migrated Trac from a linux box to a Windows Server. Trac
now authenticates users against Active Directory. As a result, users
with usernames in trac that differs from their AD-username just "lost"
all their assigned tickets.

We're running Trac 0.11.5 with sqlite against svn.

What's the best way to handle this? Is it an option to update sqlite
directly with UPDATE statements? Ex:
UPDATE [someUserTable]
SET [someUserNameColumn] = '[AD-username]'
WHERE [someUserNameColumn] = '[oldTracUserName]'

Thanks in advance!

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