<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><font size="-1"><font face="Calibri">Ouch,
          I apologize I missed that. I was initially using .23 release
          but then later installed the latest dev .23_01 in hopes all my
          problems would vanish. Well just reinstalled .23 just now and
          the logs I'm seeing might be a little more interesting to us
          all. Oh and it really helps when I add the following as you
          suggested, I didn't leave that out intentionally....<br>
          <br>
          Set( $ExternalInfoPriority, ["My_LDAP"] );<br>
          <br>
          External Auth is working like a charm now.... so THANK YOU
          KEVIN!!!!!<br>
          <br>
          [3298] [Tue Oct  7 15:40:07 2014] [debug]: Attempting to use
          external auth service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:371)<br>
          [3298] [Tue Oct  7 15:40:07 2014] [debug]: Calling UserExists
          with $username (wclarke) and $service (My_LDAP)
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:412)<br>
          [3298] [Tue Oct  7 15:40:07 2014] [debug]: UserExists params:<br>
          username: wclarke , service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)<br>
          [3298] [Tue Oct  7 15:40:07 2014] [debug]: LDAP Search === 
          Base: dc=simons-rock,dc=edu == Filter:
          (&(objectClass=*)(uid=wclarke)) == Attrs: mail,uid
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]:
          RT::Authen::ExternalAuth::CanonicalizeUserInfo called by
          RT::Authen::ExternalAuth
          /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
          860 with: Disabled: , EmailAddress: , Gecos: wclarke, Name:
          wclarke, Privileged: 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:757)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Attempting to get
          user info using this external service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:765)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Attempting to use
          this canonicalization key: Name
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:779)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === 
          Base: dc=simons-rock,dc=edu == Filter:
          (&(objectClass=*)(uid=wclarke)) == Attrs: mail,uid
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:355)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [info]:
          RT::Authen::ExternalAuth::CanonicalizeUserInfo returning
          Disabled: , EmailAddress: <a class="moz-txt-link-abbreviated" href="mailto:wclarke@simons-rock.edu">wclarke@simons-rock.edu</a>, Gecos:
          wclarke, Name: wclarke, Privileged: , RealName: 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:843)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [info]: Autocreated external
          user wclarke ( 22 )
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:439)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Loading new user (
          wclarke ) into current session
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:445)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Password validation
          required for service - Executing...
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:462)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Trying external
          auth service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:151)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === 
          Base: dc=simons-rock,dc=edu == Filter:
          (&(uid=wclarke)(objectClass=*)) == Attrs: dn
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:184)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Found LDAP DN:
          uid=wclarke,ou=People,dc=simons-rock,dc=edu
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:218)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [info]:
          RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK (
          My_LDAP ): wclarke
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:299)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP password
          validation result: 1
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:641)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Password Validation
          Check Result:  1
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:466)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Authentication
          successful. Now updating user information and attempting
          login.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:486)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: UserExists params:<br>
          username: wclarke , service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === 
          Base: dc=simons-rock,dc=edu == Filter:
          (&(objectClass=*)(uid=wclarke)) == Attrs: mail,uid
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: UserExists params:<br>
          username: wclarke , service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === 
          Base: dc=simons-rock,dc=edu == Filter:
          (&(objectClass=*)(uid=wclarke)) == Attrs: mail,uid
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [warning]: Use of
          uninitialized value $d_filter in string eq at
          /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
          line 523.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:523)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: No d_filter
          specified for this LDAP service ( My_LDAP ), so considering
          all users enabled
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:527)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]:
          RT::Authen::ExternalAuth::CanonicalizeUserInfo called by
          RT::Authen::ExternalAuth
          /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
          860 with: Name: wclarke
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:757)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Attempting to get
          user info using this external service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:765)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Attempting to use
          this canonicalization key: Name
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:779)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === 
          Base: dc=simons-rock,dc=edu == Filter:
          (&(objectClass=*)(uid=wclarke)) == Attrs: mail,uid
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:355)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [info]:
          RT::Authen::ExternalAuth::CanonicalizeUserInfo returning
          EmailAddress: <a class="moz-txt-link-abbreviated" href="mailto:wclarke@simons-rock.edu">wclarke@simons-rock.edu</a>, Name: wclarke,
          RealName: 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:843)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: UPDATED user (
          wclarke ) from External Service
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:614)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [info]: Successful login for
          wclarke from 10.30.2.210
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:526)<br>
          [3298] [Tue Oct  7 15:40:08 2014] [debug]: Autohandler called
          ExternalAuth. Response: (1, Successful login)
          (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:16)<br>
          <br>
          <br>
        </font></font>
      <pre class="moz-signature" cols="72">William Clarke
ITS System Administrator
Bard College at Simon's Rock
84 Alford Road
Great Barrington, MA  01230
(413) 528-7428 (voice)
(413) 528-7405 (fax)
<a class="moz-txt-link-abbreviated" href="mailto:wclarke@simons-rock.edu">wclarke@simons-rock.edu</a></pre>
      On 10/7/2014 10:46 AM, Kevin Falcone wrote:<br>
    </div>
    <blockquote
cite="mid:12746_1412693198_5433FCCD_12746_1587_1_20141007144602.GD2788@jibsheet.com"
      type="cite">
      <pre wrap="">On Mon, Oct 06, 2014 at 02:34:40PM -0400, William Clarke wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">RT 4.2.7 and RT-Authen-ExternalAuth-0.23
</pre>
      </blockquote>
      <pre wrap="">
0.23 or 0.23_01 the dev release?

Your log points to line 491

</pre>
      <blockquote type="cite">
        <pre wrap="">[29370] [Mon Oct  6 18:20:02 2014] [error]: Couldn't create user wclarke: Could
not set user info (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/
ExternalAuth.pm:491)
</pre>
      </blockquote>
      <pre wrap="">
But line 491 of 0.23 is blank

<a class="moz-txt-link-freetext" href="https://github.com/bestpractical/rt-authen-externalauth/blob/5a3a85c36f2e0abc43a0b0483b6e01e4d390ec54/lib/RT/Authen/ExternalAuth.pm#L491">https://github.com/bestpractical/rt-authen-externalauth/blob/5a3a85c36f2e0abc43a0b0483b6e01e4d390ec54/lib/RT/Authen/ExternalAuth.pm#L491</a>

Line 491 of 0.23_01 has an error message there

<a class="moz-txt-link-freetext" href="https://github.com/bestpractical/rt-authen-externalauth/blob/master/lib/RT/Authen/ExternalAuth.pm#L491">https://github.com/bestpractical/rt-authen-externalauth/blob/master/lib/RT/Authen/ExternalAuth.pm#L491</a>

So, let's nail down what you're actually running, since you may just
have tripped a bug in 0.23_01 if that's what you have installed.


BTW - is there a reason you've only configured Auth and not Info?
That's probably making it very hard for RT to create the user, since
it can't go fetch any info.

-kevin
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>