<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Nick,<br>
<br>
there's something weird in here as we have a similar setting: 2 ldap
servers in the file. The interesting thing is that our logs don't stop
there. <br>
<br>
Basically:<br>
<br>
<tt>Set($ExternalAuthPriority, [<br>
'My_LDAP',<br>
'My_LDAP2'<br>
]<br>
);<br>
<br>
Set($ExternalInfoPriority, [<br>
'My_LDAP',<br>
'My_LDAP2'<br>
]<br>
);</tt><br>
<br>
<tt>Set($ExternalSettings, { <br>
'My_LDAP' => {<br>
<br>
},<br>
'My_LDAP2' => {<br>
<br>
},<br>
},<br>
);</tt><br>
<br>
So, to check your problem I've altered the name of the server to
something wrong.<br>
<br>
What I see in the logs is a critical error on the connection to
My_LDAP, but a quick fallback to My_LDAP2:<br>
<br>
[Thu Nov 4 09:58:46 2010] [critical]:
RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to
ldap1aaa.mydomain
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)<br>
[Thu Nov 4 09:58:46 2010] [debug]: Attempting to use external auth
service: My_LDAP2
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
<br>
What makes me think that the problem is actually different, is that
"FAILED LOGIN" that I see in your log. So I would check<br>
<br>
1) what happens if you leave just the second server<br>
2) what's your configuration as far as the following is concerned:<font
color="black" size="2" face="Verdana,Arial,Helvetica"><font
color="black" size="2" face="Verdana,Arial,Helvetica"><br>
</font></font><font color="black" size="2"><font color="black" size="2"><tt>Set($WebExternalAuth
, 1); <br>
Set($WebFallbackToInternalAuth , 1); <br>
Set($WebExternalAuto , 1); </tt> </font></font><tt><br>
<br>
</tt>3) what's your log level, I would set it to 'debug' if it's not: <tt><br>
Set($LogToFile, 'debug');</tt> <br>
<br>
When you've checked the previous, please report back.<br>
<br>
All the best,<br>
Giuseppe<br>
<br>
<pre class="moz-signature" cols="72">--
____________________________________
Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE
Email: <a class="moz-txt-link-abbreviated" href="mailto:gsollazz@sgul.ac.uk">gsollazz@sgul.ac.uk</a>
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583
</pre>
</body>
</html>