Re: [rt-users] Is a time zone user preference available?

2011-04-21 Thread Ruslan Zakirov
Hello,

Look into logs for additional info about blank page.

You have several options:

* switch over fcgi
* figure out why modperl handler doesn't work
* find/write patch for RT that uses Env::C in Date.pm

On Fri, Apr 22, 2011 at 4:27 AM, Eli Guzman  wrote:
> Original Message
> From: rt-users-boun...@lists.bestpractical.com
> [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Eli
> Guzman Sent: Wednesday, April 20, 2011 9:10 PM To: Ruslan Zakirov
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] Is a time zone user preference available?
>
>> Original Message
>> From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On
>> Behalf Of Ruslan Zakirov Sent: Wednesday, April 20, 2011 7:43 PM To:
>> Eli Guzman
>> Cc: rt-users@lists.bestpractical.com
>> Subject: Re: [rt-users] Is a time zone user preference available?
>>
>>> Hello,
>>>
>>> Do you use mod_perl? Try "SetHandler modperl" instead of "SetHandler
>>> perl-script" in apache's config. Don't forget to stop/start the
>>> server.
>>>
>>> On Thu, Apr 21, 2011 at 12:14 AM, Eli Guzman
>>>  wrote:
 Original Message
 From: rt-users-boun...@lists.bestpractical.com
 [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin
 Falcone Sent: Wednesday, April 20, 2011 2:01 PM To:
 rt-users@lists.bestpractical.com Subject: Re: [rt-users] Is a time
 zone user preference available?

> On Wed, Apr 20, 2011 at 01:25:41PM -0600, Eli Guzman wrote:
 There's no need for elaborate schemes. Timezone, along with
 language, is on the user About Me page.

 Thomas
>>>
>>> Hey Thomas,
>>>
>>> Thanks a bunch, somehow I missed that ;).
>>>
>>> Eli
>>
>> Not sure how common this issue is, but I have changed the 'About
>> Me' timezone preferences, however the change isn't reflected on
>> the interface. See images below:
>>
>> http://min.us/mDnN4uxnfqIBg#1
>
> You've neglected to say:
>
> What you set it to in About Me.
> What time you expect to see.
>
> I see something roughly 2 hours behind the current time, so assume
> it is showing in Mountain time
>
> -kevin
>
>> I had the $Timezone variable in RT_SiteConfig.pm set to the
>> following: Set($Timezone , 'US/Mountain'); but I commented this
>> out (restarted httpd services)to see if there was any change to
>> the interface, but nothing so far. Time is being synched via
>> NTPD/system clock is not currently set to UTC/and system TZ is set
>> to Denver TZ (-0700 GMT). Could I be missing something obvious
>> here?
>>
>> Thanks for any insights!
>>
>> Regards,
>> Eli

 Hey Kevin,

 Yes you are correct, it is showing that it is currently set Mountain
 TZ (which was what the RT_SiteConfig was set to), and I went ahead
 and changed the preference under the about me section to
 'Europe/London +0100', but for some reason the change has not taken
 effect.

 Just not sure as to why, could this perhaps be related to the
 database itself? Currently MySQL should be getting TZ data from the
 OS itself, but I believe I can hard-set it in the my.ini file, not
 sure if this is the preferred method for RT/or to be honest if it
 should matter if the DB should be set to a specific TZ.

 Regards,
 Eli
>>
>> Hey Ruslan,
>>
>> I can give that a try and let you know if it fixes the issue; thanks
>> for the input.
>>
>> Regards,
>> Eli
>
> Hey Ruslan,
>
> I have mod_perl installed on the system:
>
> [root@xxx ~]# yum list mod_perl
> Loaded plugins: rhnplugin, security
> Installed Packages
> mod_perl.x86_64                             2.0.4-6.el5
> installed
>
> However I was not using it directly with RT3, here is my
> /etc/httpd/conf.d/rt3.conf:
>
> Alias /ticket "/opt/rt3/share/html"
>
> PerlRequire /opt/rt3/bin/webmux.pl
>
> 
>  AllowOverride All
>  Options ExecCGI FollowSymLinks
>
>  RewriteEngine On
>  RedirectMatch permanent (.*)/$ $1/index.html
>  AddDefaultCharset UTF-8
>  SetHandler perl-script
>  #SetHandler modperl <-- Interface did not load -- just a blank screen
>  PerlHandler RT::Mason
>
> At first I tried reloading apache with the 'SetHandler modperl' line but
> this caused RT3 not to load (just a blank screen) so as you can see I
> commented out the line, and reloaded httpd services, the RT app was
> returned to normal at that point.
>
> So I am guessing that the RPM version I have installed of mod_perl is
> not compatible with RT3, so this leaves me with being able to use
> perl-script handler.
>
> I did change the system time to just use UTC:
>
> [root@xxx ~]# date
> Fri Apr 22 00:10:12 UTC 2011
>
> I reloaded MySQL services and this forced the database to use UTC
> instead of MDT:
>
> mysql> select distinct @@system_time_zone from user;
> ++
> | @@system_time_zone |
> +-

Re: [rt-users] Is a time zone user preference available?

2011-04-21 Thread Eli Guzman
Original Message
From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Eli
Guzman Sent: Wednesday, April 20, 2011 9:10 PM To: Ruslan Zakirov
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Is a time zone user preference available?

> Original Message
> From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On
> Behalf Of Ruslan Zakirov Sent: Wednesday, April 20, 2011 7:43 PM To:
> Eli Guzman 
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] Is a time zone user preference available?
> 
>> Hello,
>> 
>> Do you use mod_perl? Try "SetHandler modperl" instead of "SetHandler
>> perl-script" in apache's config. Don't forget to stop/start the
>> server. 
>> 
>> On Thu, Apr 21, 2011 at 12:14 AM, Eli Guzman
>>  wrote:
>>> Original Message
>>> From: rt-users-boun...@lists.bestpractical.com
>>> [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin
>>> Falcone Sent: Wednesday, April 20, 2011 2:01 PM To:
>>> rt-users@lists.bestpractical.com Subject: Re: [rt-users] Is a time
>>> zone user preference available?
>>> 
 On Wed, Apr 20, 2011 at 01:25:41PM -0600, Eli Guzman wrote:
>>> There's no need for elaborate schemes. Timezone, along with
>>> language, is on the user About Me page.
>>> 
>>> Thomas
>> 
>> Hey Thomas,
>> 
>> Thanks a bunch, somehow I missed that ;).
>> 
>> Eli
> 
> Not sure how common this issue is, but I have changed the 'About
> Me' timezone preferences, however the change isn't reflected on
> the interface. See images below: 
> 
> http://min.us/mDnN4uxnfqIBg#1
 
 You've neglected to say:
 
 What you set it to in About Me.
 What time you expect to see.
 
 I see something roughly 2 hours behind the current time, so assume
 it is showing in Mountain time
 
 -kevin
 
> I had the $Timezone variable in RT_SiteConfig.pm set to the
> following: Set($Timezone , 'US/Mountain'); but I commented this
> out (restarted httpd services)to see if there was any change to
> the interface, but nothing so far. Time is being synched via
> NTPD/system clock is not currently set to UTC/and system TZ is set
> to Denver TZ (-0700 GMT). Could I be missing something obvious
> here? 
> 
> Thanks for any insights!
> 
> Regards,
> Eli
>>> 
>>> Hey Kevin,
>>> 
>>> Yes you are correct, it is showing that it is currently set Mountain
>>> TZ (which was what the RT_SiteConfig was set to), and I went ahead
>>> and changed the preference under the about me section to
>>> 'Europe/London +0100', but for some reason the change has not taken
>>> effect. 
>>> 
>>> Just not sure as to why, could this perhaps be related to the
>>> database itself? Currently MySQL should be getting TZ data from the
>>> OS itself, but I believe I can hard-set it in the my.ini file, not
>>> sure if this is the preferred method for RT/or to be honest if it
>>> should matter if the DB should be set to a specific TZ.
>>> 
>>> Regards,
>>> Eli
> 
> Hey Ruslan,
> 
> I can give that a try and let you know if it fixes the issue; thanks
> for the input. 
> 
> Regards,
> Eli

Hey Ruslan,

I have mod_perl installed on the system:

[root@xxx ~]# yum list mod_perl
Loaded plugins: rhnplugin, security
Installed Packages
mod_perl.x86_64 2.0.4-6.el5
installed

However I was not using it directly with RT3, here is my
/etc/httpd/conf.d/rt3.conf:

Alias /ticket "/opt/rt3/share/html"

PerlRequire /opt/rt3/bin/webmux.pl


  AllowOverride All
  Options ExecCGI FollowSymLinks

  RewriteEngine On
  RedirectMatch permanent (.*)/$ $1/index.html
  AddDefaultCharset UTF-8
  SetHandler perl-script
  #SetHandler modperl <-- Interface did not load -- just a blank screen
  PerlHandler RT::Mason

At first I tried reloading apache with the 'SetHandler modperl' line but
this caused RT3 not to load (just a blank screen) so as you can see I
commented out the line, and reloaded httpd services, the RT app was
returned to normal at that point.

So I am guessing that the RPM version I have installed of mod_perl is
not compatible with RT3, so this leaves me with being able to use
perl-script handler. 

I did change the system time to just use UTC:

[root@xxx ~]# date
Fri Apr 22 00:10:12 UTC 2011

I reloaded MySQL services and this forced the database to use UTC
instead of MDT:

mysql> select distinct @@system_time_zone from user;
++
| @@system_time_zone |
++
| UTC|
++
1 row in set (0.00 sec)

Now the database shows the time as UTC, and so do tickets on the RT
interface as well. However, I am still unable to change to different
timezones for any user. 

Could this be an inconsistency of using "SetHandler perl-script" rather
than 'mod_perl' in my RT3 specific Apache configuration? And if this is
the case, since I am unab

Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

2011-04-21 Thread Mike Johnson
Turn your RT debug logging on and check that log to see what it's doing.

I believe the debug log shows you the actual LDAP call it's doing... then
you can verify what is failing based on that.

Good luck!
Mike.

On Thu, Apr 21, 2011 at 10:55 AM, john s.  wrote:

>
>
> @Raphael
>
>
>  so are you using the good login on RT screen ?
>
> Waht do you mean with an "good login"?
>
>
> @Mike
>
> Hello Mike
>
> I have readed the 2 Articles and modified my config in such way ...
>
> but the same error occurs ...
>
>
> but i have found sth...  on my AD, i 'll try to copy the infos which should
> be necessary ...
>
> xxx.xxx.xxx.xxx:2206 NTDS None TCP 4 32 NonDSE Can't find Objekt  0.0 0 0.0
> xxx.xxx.xxx.xxx:2200 NTDS None TCP 4 32 NonDSE Can't find Objekt 0.0 0 0.0
>
> thats one of it ...
>
> xxx.xxx.xxx.xxx:2200 NTDS None TCP 1 0 NonDSE Sucess  0.0 1 0.0
> xxx.xxx.xxx.xxx.2206 NTDS None TCP 1 0 NonDSE Sucess 0.0 1 0.0
>
>
> This is the same log but i comes a litte bit later i wonder   why success
> 
>
> And now it comes really strange:
>
> Thats the search log
>
> Client Instanz  Objektname Filtername
> Reply/s Response  Time (ms) CPU%
> Internal  NTDS   [](displayName=RT-USER)
> 0  0  0  0
> Internal  NTDS   []   (displayName=RT-USER)
>  0
> 0 00
>
>
> I don't understand it looks like , that he can't  resolve the objectname.
>
> best regards john.
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31450244.html
>  Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>


-- 
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON   P7B 5E1
Phone: (807) 766-7331
Email: mike.john...@nosm.ca


Re: [rt-users] Why does SeeCustomField and ModifyCustomField show up in Queue group rights?

2011-04-21 Thread Kenneth Crocker
Todd,

I would also like to know, for sure, which one overrides the other. I would
assume that if I gave the "See/Modify" rights to a certain group, it would
ALWAYS be able to "see/Modify" the CF, regardless of Queue. However, If I
gave the "See/Modify" right to a group for a specific Queue, then for THAT
Queue, those rights would apply to THAT group.

That's my best guess.

Kenn
LBNL

On Wed, Apr 20, 2011 at 5:17 PM, Todd Chapman  wrote:

> I noticed that SeeCustomField and ModifyCustomField show up when
> editing group rights for a specific queue, and also when editing
> global RTFM class group rights.
>
> My understanding is that the ability to see a custom field is a
> combination of having SeeCustomField on the custom field itself, and
> also being able to see the object that the custom field is assigned
> to. Similar case for ModifyCustomField.
>
> Is my understanding correct, and if so doesn't it make it pointless to
> have these rights for individual queues or globally for RTFM classes?
>
> Thanks.
>
> -Todd
>


Re: [rt-users] Oddity after security patches

2011-04-21 Thread Kevin Falcone
On Thu, Apr 21, 2011 at 11:49:24AM -0400, Jeff Blaine wrote:
> Our RT-Extension-SpawnLinkedTicketInQueue 0.04 broke
> after the security patching our 3.8.7 instance with the
> 3.8.6 patch as directed by the README.
> 
> We were getting 403 (Permission denied) when clicking
> "Create new child ticket in OtherQueue"

RT blocks direct access to /Elements/ as part of this update

> It *appears* the fix is setting the extensions
> various files to 755 instead of the discovered 444.
> Perhaps this is how they should have been all along,
> but RT was lenient before the security patches, where
> it's not now?

This was not the fix

> We also (today, as part of the fix attempt) upgraded
> to RT-Extension-SpawnLinkedTicketInQueue 0.05, though
> I really don't think that helped solve this particular
> issue.  It really seemed to be the perms.

This was the fix, Ruslan fixed the extension and uploaded a fixed
version.

http://lists.bestpractical.com/pipermail/rt-users/2011-April/070033.html

-kevin


pgpMenz0U0ZD9.pgp
Description: PGP signature


[rt-users] Oddity after security patches

2011-04-21 Thread Jeff Blaine

Heads-up

Our RT-Extension-SpawnLinkedTicketInQueue 0.04 broke
after the security patching our 3.8.7 instance with the
3.8.6 patch as directed by the README.

We were getting 403 (Permission denied) when clicking
"Create new child ticket in OtherQueue"

It *appears* the fix is setting the extensions
various files to 755 instead of the discovered 444.
Perhaps this is how they should have been all along,
but RT was lenient before the security patches, where
it's not now?

We also (today, as part of the fix attempt) upgraded
to RT-Extension-SpawnLinkedTicketInQueue 0.05, though
I really don't think that helped solve this particular
issue.  It really seemed to be the perms.

I can't explain it better than that.

We made no other changes to our system to have caused
this breakage.


Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

2011-04-21 Thread john s.


@Raphael 


 so are you using the good login on RT screen ?

Waht do you mean with an "good login"?


@Mike

Hello Mike 

I have readed the 2 Articles and modified my config in such way ...

but the same error occurs ...


but i have found sth...  on my AD, i 'll try to copy the infos which should
be necessary ...

xxx.xxx.xxx.xxx:2206 NTDS None TCP 4 32 NonDSE Can't find Objekt  0.0 0 0.0 
xxx.xxx.xxx.xxx:2200 NTDS None TCP 4 32 NonDSE Can't find Objekt 0.0 0 0.0 

thats one of it ... 

xxx.xxx.xxx.xxx:2200 NTDS None TCP 1 0 NonDSE Sucess  0.0 1 0.0 
xxx.xxx.xxx.xxx.2206 NTDS None TCP 1 0 NonDSE Sucess 0.0 1 0.0 


This is the same log but i comes a litte bit later i wonder   why success 


And now it comes really strange:

Thats the search log 

Client Instanz  Objektname Filtername  
Reply/s Response  Time (ms) CPU% 
Internal  NTDS   [](displayName=RT-USER)   
0  0  0  0 
Internal  NTDS   []   (displayName=RT-USER)0

0 00 


I don't understand it looks like , that he can't  resolve the objectname.

best regards john.













-- 
View this message in context: 
http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31450244.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] $NotifyActor for selected queue

2011-04-21 Thread Kevin Falcone
On Thu, Apr 21, 2011 at 01:44:51PM +0200, Radek Svoboda wrote:
> is possible to set $NotifyActor ONLY for selected queue ?

This isn't a core RT feature (there aren't really Queue preferences)

-kevin


pgppB6nlhQ5TA.pgp
Description: PGP signature


Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

2011-04-21 Thread Mike Johnson
One thing that stands out in your config is your d_filter.  I read on the RT
wiki somewhere that d_filter for an AD you needed to put what I have below:

'd_filter'  =>  '(userAccountControl:1.2.840.113556.1.4.803:=2)',
Read these 2 microsoft support KB to learn more on why

http://support.microsoft.com/kb/305144

http://support.microsoft.com/kb/269181

Also, you have tls, ssl_version, group and group_attr commented out. Someone
else can correct me, but I believe you need to define those in your
settings.

Best I can do with my limited knowledge.

Good luck!
Mike.

On Thu, Apr 21, 2011 at 5:31 AM, john s.  wrote:

>
>
> Is it clear what i want? No? okay i try to describe a litte bit more
> exaclty
> as far as possible from myself
>
>
> okay my ldapseach command which runs perfectly is:
>
> sudo ldapsearch -h xxx.xxx.local  -D "xxx\User" -w "password" -b "'dc=xxx,
> dc=local" -s sub "sAMAccountName=USER"
>
>
>
> So here are my RT Config Parameter again:
>
> Set($ExternalSettings,{'My_LDAP' =>{   ## GENERIC SECTION
>  'type' => 'ldap',
>'server' =>  '192.168.123.45',
>  'user' => 'USER',
>  'pass' =>  'password',
>  'base' =>
> 'ou=companyou,ou=User,dc=xxx,dc=xxx,dc=local',
>   'filter'  =>  '(ObjectClass=*)',
>  'd_filter' =>
> '(userAccountControl=514)'
> #  'tls'=>  0,
># 'ssl_version'  =>  3,
> 'net_ldap_args' => [version =>  3   ],
>  # 'group'  =>  'Benutzer',
>  # 'group_attr' =>  'GROUP_ATTR',
> 'attr_match_list'   => ['Name',
> #'EmailAddress',
>],
> 'attr_map'  =>  {  'Name' =>
> 'sAMAccountName',
>'RealName' => 'cn',
>'EmailAddress' =>
> 'mail',
>'Organization' =>
> 'physicalDeliveryOfficeName',
>'RealName' => 'cn',
>'ExternalAuthId' =>
> 'sAMAccountName',
>'Gecos' =>
> 'sAMAccountName',
>'WorkPhone' =>
> 'telephoneNumber',
>'Address1' =>
> 'streetAddress',
>'City' => 'l',
>'State' => 'st',
>'Zip' =>
> 'postalCode',
>'Country' => 'co'
>
>
> }
>}
>
>
> I'll try to find out, which parameter doesn't match with the ldap one  ...
> cause if i try to authorize on rt with an ad user my AD gives the following
> message out:
>
> xxx.xxx.xxx.xxx:2799 NTDS NoneTCP4 32   NonDSE  Can't find
> object  0.0 0
>
>
> best regards john s.
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31448102.html
>  Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>


-- 
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON   P7B 5E1
Phone: (807) 766-7331
Email: mike.john...@nosm.ca


Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

2011-04-21 Thread Raphaël MOUNEYRES
reading your previous messages :

your RT log shows :...:: ( My_LDAP ) RT-USER User not found 
>that mean your LDAP server is sending a response that the RT-USER is not 
existing in his database


then you mention successfully : sudo ldapsearch -h xxx.xxx.local  -D 
"xxx\User" -w "password" -b "'dc=xxx, dc=local" -s sub "sAMAccountName=
USER" 
>that mean USER is existing in the database

so are you using the good login on RT screen ?





"john s."  
Envoyé par : rt-users-boun...@lists.bestpractical.com
21/04/2011 13:43

A
rt-users@lists.bestpractical.com
cc

Objet
Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for







Hello Raphael 

No nothing has changed at all... still the same error 


sth.  goes really wrong ... i have to track the issue in order to 
determine
the issue  but i don't know how ..

any idea or a clue ? 

Her is the tcpdumpo log:

13:27:25.872995 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [.], ack 1,
win 5840, length 0
13:27:25.875403 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [P.], seq
1:33, ack 1, win 5840, length 32
13:27:25.875739 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [.], ack 
33,
win 64240, length 0
13:27:25.877367 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [P.], seq
1:23, ack 33, win 64240, length 22
13:27:25.877460 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [.], ack 
23,
win 5840, length 0
13:27:25.889275 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [P.], seq
33:282, ack 23, win 5840, length 249
13:27:25.889595 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [.], ack 
282,
win 64240, length 0
13:27:25.890369 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [P.], seq
23:165, ack 282, win 64240, length 142
13:27:25.895897 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [F.], seq
282, ack 165, win 6432, length 0
13:27:25.897013 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [.], ack 
283,
win 64239, length 0
13:27:25.897328 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [R.], seq
165, ack 283, win 64239, length 0



may it could help 


best regards john s. 









-- 
View this message in context: 
http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31448783.html

Sent from the Request Tracker - User mailing list archive at Nabble.com.



#
" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
pas destinés, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés."


   **

" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#



[rt-users] $NotifyActor for selected queue

2011-04-21 Thread Radek Svoboda

Hi All,
is possible to set $NotifyActor ONLY for selected queue ?

Thanks for reply
Radek


Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

2011-04-21 Thread john s.

Hello Raphael 

No nothing has changed at all... still the same error 


sth.  goes really wrong ... i have to track the issue in order to determine
the issue  but i don't know how ..

any idea or a clue ? 

Her is the tcpdumpo log:

13:27:25.872995 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [.], ack 1,
win 5840, length 0
13:27:25.875403 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [P.], seq
1:33, ack 1, win 5840, length 32
13:27:25.875739 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [.], ack 33,
win 64240, length 0
13:27:25.877367 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [P.], seq
1:23, ack 33, win 64240, length 22
13:27:25.877460 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [.], ack 23,
win 5840, length 0
13:27:25.889275 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [P.], seq
33:282, ack 23, win 5840, length 249
13:27:25.889595 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [.], ack 282,
win 64240, length 0
13:27:25.890369 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [P.], seq
23:165, ack 282, win 64240, length 142
13:27:25.895897 IP ubunturt3.52185 > xxx.xxx.local.ldap: Flags [F.], seq
282, ack 165, win 6432, length 0
13:27:25.897013 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [.], ack 283,
win 64239, length 0
13:27:25.897328 IP xxx.xxx.local.ldap > ubunturt3.52185: Flags [R.], seq
165, ack 283, win 64239, length 0



may it could help 


best regards john s. 









-- 
View this message in context: 
http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31448783.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

2011-04-21 Thread Raphaël MOUNEYRES
hello,

i would say that as you have commented ou the EmailAdress in the attribute 
match list, you need to remove the , (comma) after the Name attribute
I think i remember having some error similar ; the last parameter must NOT 
have the comma, at the end of the line
so your config would look like :

'attr_match_list'   => ['Name'
 #'EmailAddress',
],

Raphaël



Raphaël MOUNEYRES
Ingénieur Moyens Tests
Avenue Paul Gellos 64990 Mouguerre
Phone: +33 (0)5 59 58 41 51
Email: raphael.mouney...@sagemcom.com




"john s."  
Envoyé par : rt-users-boun...@lists.bestpractical.com
21/04/2011 11:31

A
rt-users@lists.bestpractical.com
cc

Objet
Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for








Is it clear what i want? No? okay i try to describe a litte bit more 
exaclty
as far as possible from myself


okay my ldapseach command which runs perfectly is:

sudo ldapsearch -h xxx.xxx.local  -D "xxx\User" -w "password" -b "'dc=xxx,
dc=local" -s sub "sAMAccountName=USER"



So here are my RT Config Parameter again:

Set($ExternalSettings,{'My_LDAP' =>{   ## GENERIC SECTION
  'type' => 'ldap',
'server' =>  '192.168.123.45',
  'user' => 'USER',
  'pass' =>  'password',
  'base' => 
'ou=companyou,ou=User,dc=xxx,dc=xxx,dc=local',
   'filter'  =>  '(ObjectClass=*)',
  'd_filter' => 
'(userAccountControl=514)'
 #  'tls'=>  0,
# 'ssl_version'  =>  3,
 'net_ldap_args' => [version =>  3 ],
  # 'group'  =>  'Benutzer',
  # 'group_attr' =>  'GROUP_ATTR',
 'attr_match_list'   => ['Name',
 #'EmailAddress',
],
 'attr_map'  =>  {  'Name' =>
'sAMAccountName',
'RealName' => 
'cn',
'EmailAddress' =>
'mail',
'Organization' =>
'physicalDeliveryOfficeName',
'RealName' => 
'cn',
'ExternalAuthId' 
=>
'sAMAccountName',
'Gecos' =>
'sAMAccountName',
'WorkPhone' =>
'telephoneNumber',
'Address1' =>
'streetAddress',
'City' => 'l',
'State' => 'st',
'Zip' =>
'postalCode',
'Country' => 'co'

  
}
}


I'll try to find out, which parameter doesn't match with the ldap one  ...
cause if i try to authorize on rt with an ad user my AD gives the 
following
message out:

xxx.xxx.xxx.xxx:2799 NTDS NoneTCP4 32   NonDSE  Can't find
object  0.0 0 


best regards john s. 










-- 
View this message in context: 
http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31448102.html

Sent from the Request Tracker - User mailing list archive at Nabble.com.



#
" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
pas destinés, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés."


   **

" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#

<><>

Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

2011-04-21 Thread john s.


Is it clear what i want? No? okay i try to describe a litte bit more exaclty
as far as possible from myself


okay my ldapseach command which runs perfectly is:

sudo ldapsearch -h xxx.xxx.local  -D "xxx\User" -w "password" -b "'dc=xxx,
dc=local" -s sub "sAMAccountName=USER"



So here are my RT Config Parameter again:

Set($ExternalSettings,{'My_LDAP' =>{   ## GENERIC SECTION
  'type' => 'ldap',
'server' =>  '192.168.123.45',
  'user' => 'USER',
  'pass' =>  'password',
  'base' => 
'ou=companyou,ou=User,dc=xxx,dc=xxx,dc=local',
   'filter'  =>  '(ObjectClass=*)',
  'd_filter' => 
'(userAccountControl=514)'
 #  'tls'=>  0,
# 'ssl_version'  =>  3,
 'net_ldap_args' => [version =>  3   ],
  # 'group'  =>  'Benutzer',
  # 'group_attr' =>  'GROUP_ATTR',
 'attr_match_list'   => ['Name',
 #'EmailAddress',
],
 'attr_map'  =>  {  'Name' =>
'sAMAccountName',
'RealName' => 'cn',
'EmailAddress' =>
'mail',
'Organization' =>
'physicalDeliveryOfficeName',
'RealName' => 'cn',
'ExternalAuthId' =>
'sAMAccountName',
'Gecos' =>
'sAMAccountName',
'WorkPhone' =>
'telephoneNumber',
'Address1' =>
'streetAddress',
'City' => 'l',
'State' => 'st',
'Zip' =>
'postalCode',
'Country' => 'co'


 
}
}


I'll try to find out, which parameter doesn't match with the ldap one  ...
cause if i try to authorize on rt with an ad user my AD gives the following
message out:

xxx.xxx.xxx.xxx:2799 NTDS NoneTCP4 32   NonDSE  Can't find
object  0.0 0 


best regards john s. 










-- 
View this message in context: 
http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31448102.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] rt-mailgate and command by mail

2011-04-21 Thread Albert Shih
 Le 19/04/2011 à 10:03:43+0200, Albert Shih a écrit
> Hi all 
> 
> 
> I've exact same probleme as 
> 
>   
> http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg08421.html
> 
> Do you've any news idea ?
> 

I don't fine a good solution, but find a «bad one» : 

Change this in TakeAction.pm : 

697c697
< my $ErrorsTo = RT->Config->Get('OwnerEmail');
---
> my $ErrorsTo = 
> RT::Interface::Email::ParseErrorsToAddressFromHead($args{'Message'}->head );

so the error-email is send to the admin of RT not to requestor (generally
the requestor don't understand anything about those error). 

Regards.

JAS

-- 
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 21 avr 2011 11:10:20 CEST