Re: [rt-users] Intergration with LDAP (need togo back to standard auth...?!?)

2008-04-08 Thread Nelson Pereira
How do I go back to standard auth
This is not working and im getting tight on time

I tried removing the 
Set($ExternalSettings,
But I'm getting all sorts of errors ...




Nelson Pereira 
Senior Network Administrator 

Protus IP Solutions Inc. 
[EMAIL PROTECTED] 
phone: 613.733. ext.528 
MyFax: 613.822.5083 
www.myfax.com 

Refer your friends and colleagues to MyFax! 
Click here for more information.www.MyFax.com   

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nelson
Pereira
Sent: Tuesday, April 08, 2008 3:20 PM
To: [EMAIL PROTECTED]; Chaim Rieger
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Intergration with LDAP

So what are you saying?

 # The filter to use to match RT-Users
 'filter'=  '(cn=*)',
 # The filter that will only match disabled users
 'd_filter'  =  '(objectClass=*)',






-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Peachey
Sent: Tuesday, April 08, 2008 3:18 PM
To: Chaim Rieger
Cc: Nelson Pereira; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Intergration with LDAP

Chaim Rieger wrote:
 Nelson Pereira wrote:
 What Im wondering, is what are theses 2 bellow lines and do I need
them?
 # The filter to use to match RT-Users
 'filter'=  '*',
 # The filter that will only match disabled users
 'd_filter'  =  '*',
   
 
 shouldnt filter be cn=*


While I think I wrote the code so that it would be tolerant of the lack 
of them, LDAP filters should ALWAYS be enclosed in parentheses:
  (cn=*)

And, I'm not sure why, but it seems the preferred method of having an 
LDAP catch-all filter is to use objectClass:
(objectClass=*)
--
Kind Regards,

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Intergration with LDAP (need togo back to standard auth...?!?)

2008-04-08 Thread Nelson Pereira
Yes I did make the changes to RT_SiteConfig.pm and not RT_Config.pm
Yet, when deleting the RT_SiteConfig.pm, I still get loads of errors
saying it's trying to use an external authentication mechanisme like
this error when I try to login with root...(I can no longuer login to RT
because of this)...

System error

error:  Can't use an undefined value as an ARRAY reference at
/opt/rt3/local/lib/RT/User_Vendor.pm line 56.
 
context:  ...   
52:  $RT::Logger-debug( (caller(0))[3], 
53:  Trying External authentication); 
54:   
55:  # Get the prioritised list of external authentication services 
56:  my @auth_services = @$RT::ExternalAuthPriority; 
57:   
58:  # For each of those services.. 
59:  foreach my $service (@auth_services) { 
60:   
...   
 
code stack:  /opt/rt3/local/lib/RT/User_Vendor.pm:56
/opt/rt3/local/lib/RT/User_Vendor.pm:359
/opt/rt3/lib/RT/CurrentUser.pm:309
/opt/rt3/share/html/autohandler:247
 
raw error



Nelson Pereira 
Senior Network Administrator 

Protus IP Solutions Inc. 
[EMAIL PROTECTED] 
phone: 613.733. ext.528 
MyFax: 613.822.5083 
www.myfax.com 

Refer your friends and colleagues to MyFax! 
Click here for more information.www.MyFax.com   

-Original Message-
From: Chaim Rieger [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 08, 2008 3:32 PM
To: Nelson Pereira
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Intergration with LDAP (need togo back to
standard auth...?!?)

Nelson Pereira wrote:
 How do I go back to standard auth
 This is not working and im getting tight on time

   
when you made your changes i hope you didnt make them in the default 
file but in the second one,
blow away the secondary config file, and you should be all good.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Intergration with LDAP (need togo back to standard auth...?!?)

2008-04-08 Thread Chaim Rieger
Nelson Pereira wrote:
 How do I go back to standard auth
 This is not working and im getting tight on time

   
when you made your changes i hope you didnt make them in the default 
file but in the second one,
blow away the secondary config file, and you should be all good.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com