Hi all.
I want validate in my rt-3.8.2 system whit that script:
#!/usr/bin/perl
use Error qw(:try);
use RT::Client::REST;
use RT::Client::REST::Queue;
use RT::Client::REST::Ticket;
use RT::Client::REST::HTTPClient;
use RT::Authen::ExternalAuth;
my $rt = RT::Client::REST->new(
server => ‘DOMAIN FOR SALE’,
timeout => 30,
);
$user = ‘myuser’;
$pass = ‘mypass’;
try {
$rt->login(username => $user, password => $pass);
} catch Exception::Class::Base with {
die "problem logging in: ", shift->message;
};
The script return:
problem logging in: Authorization Required at ./p1.pl line 21.
My RT system use LDAP validation.
In others RT systems with local authentication, I have login successfully.
Best Regards.
I want validate in my rt-3.8.2 system whit that script:
#!/usr/bin/perl
use Error qw(:try);
use RT::Client::REST;
use RT::Client::REST::Queue;
use RT::Client::REST::Ticket;
use RT::Client::REST::HTTPClient;
use RT::Authen::ExternalAuth;
my $rt = RT::Client::REST->new(
server => ‘DOMAIN FOR SALE’,
timeout => 30,
);
$user = ‘myuser’;
$pass = ‘mypass’;
try {
$rt->login(username => $user, password => $pass);
} catch Exception::Class::Base with {
die "problem logging in: ", shift->message;
};
The script return:
problem logging in: Authorization Required at ./p1.pl line 21.
My RT system use LDAP validation.
What kind of LDAP validation?
-kevin
El 18/03/2011 14:57, Kevin Falcone escribi�:> On Thu, Mar 17, 2011 at 08:44:02PM +0100, sercuto wrote:
I want validate in my rt-3.8.2 system whit that script:
#!/usr/bin/perl
use Error qw(:try);
use RT::Client::REST;
use RT::Client::REST::Queue;
use RT::Client::REST::Ticket;
use RT::Client::REST::HTTPClient;
use RT::Authen::ExternalAuth;
my $rt = RT::Client::REST->new(
server => ‘DOMAIN FOR SALE’,
timeout => 30,
);
$user = ‘myuser’;
$pass = ‘mypass’;
try {
$rt->login(username => $user, password => $pass);
} catch Exception::Class::Base with {
die "problem logging in: ", shift->message;
};
The script return:
problem logging in: Authorization Required at ./p1.pl line 21.
My RT system use LDAP validation.
What kind of LDAP validation?
-kevin
Hi Kevin
My Ldap is OpenLDAP
Thanks.
I want validate in my rt-3.8.2 system whit that script:
#!/usr/bin/perl
use Error qw(:try);
use RT::Client::REST;
use RT::Client::REST::Queue;
use RT::Client::REST::Ticket;
use RT::Client::REST::HTTPClient;
use RT::Authen::ExternalAuth;
my $rt = RT::Client::REST->new(
server => ‘DOMAIN FOR SALE’,
timeout => 30,
);
$user = ‘myuser’;
$pass = ‘mypass’;
try {
$rt->login(username => $user, password => $pass);
} catch Exception::Class::Base with {
die "problem logging in: ", shift->message;
};
The script return:
problem logging in: Authorization Required at ./p1.pl line 21.
My RT system use LDAP validation.
What kind of LDAP validation?
My Ldap is OpenLDAP
Yes, but how are you authenticating to it
RT-Authen-ExternalAuth
apache auth
etc etc
-kevin
I am looking to do the same thing, or at least solve the same issue.
I am using RT-Authen-ExternalAuth for my RT validation. We are using
AD as our LDAP server.
Thanks,
BOn Fri, Mar 18, 2011 at 11:07 AM, Kevin Falcone falcone@bestpractical.com wrote:
On Fri, Mar 18, 2011 at 04:02:56PM +0100, sercuto wrote:
El 18/03/2011 14:57, Kevin Falcone escribió:
On Thu, Mar 17, 2011 at 08:44:02PM +0100, sercuto wrote:
I want validate in my rt-3.8.2 system whit that script:
#!/usr/bin/perl
use Error qw(:try);
use RT::Client::REST;
use RT::Client::REST::Queue;
use RT::Client::REST::Ticket;
use RT::Client::REST::HTTPClient;
use RT::Authen::ExternalAuth;
my $rt = RT::Client::REST->new(
server => ‘DOMAIN FOR SALE’,
timeout => 30,
);
$user = ‘myuser’;
$pass = ‘mypass’;
try {
$rt->login(username => $user, password => $pass);
} catch Exception::Class::Base with {
die "problem logging in: ", shift->message;
};
The script return:
problem logging in: Authorization Required at ./p1.pl line 21.
My RT system use LDAP validation.
What kind of LDAP validation?
My Ldap is OpenLDAP
Yes, but how are you authenticating to it
RT-Authen-ExternalAuth
apache auth
etc etc
-kevin