if you attempt to log in as a normal user, the authentication fails. rt
[error]: "FAILED LOGIN for x from x.x.x
HOWEVER, logging in as ‘root’ User_Local.pm is clearly being read, as
the the log echoes:
[info]: Using External Authentication
the authentication results in an error output to the web browser
(firefox) as below:
error: Can’t locate object method “new” via package “Net::LDAP”
(perhaps you forgot to load “Net::LDAP”?) at
/usr/share/request-tracker3/lib/RT/User_Local.pm line 65.
61: $RT::Logger->info(“Using External Authentication\n”);
62: use Net::LDAP;
64: my $mesg;
65: my $ldap = Net::LDAP->new($RT::LdapServer, version=>3) or
$RT::Logger->critical("GetExternalUserWithLDAP: " . “Cannot connect to
LDAP’\n”), return 0;
67: # Iseem to have problems is I try and bind with a NULL username
68: # So this now checks to see if we are really going to bind with a
69: # username.
code stack: /usr/share/request-tracker3/lib/RT/User_Local.pm:65
These are the bits you absolutely must edit.
To find out how, please read
Set($CorrespondAddress , ‘firstname.lastname@example.org’);
Set($CommentAddress , ‘email@example.com’);
Set($Timezone , ‘US/Pacific’); # obviously choose what suits you
Set($LogToFile , 1);
Set($UseFriendlyToLine , 1);
Set($MailCommand , ‘sendmail’);
Set($DatabaseType, ‘mysql’); # e.g. Pg or mysql
These are the settings we used above when creating the RT database,
you MUST set these to what you chose in the section above.
Set($DatabaseUser , ‘rtuser’);
Set($DatabasePassword , ‘x’);
Set($DatabaseName , ‘rtdb’);
Set($WebPath , “/rt”);
Set($WebBaseURL , “http://host.x.x.com”);
why would it be following one code path some of the time (at least in
one instance) and another, apparently, every other time?
Is there something glaringly obvious I’ve missed (or not-so-glaringly
what should I look for?
thanks for any time you might give this