[rt-users] Re: RT LDAP

Jim Meyer purp at acm.org
Sat Nov 11 23:23:39 EST 2006


Hello!

On 11/7/06, Vaidya,Mukul <mvaidya at nec.edu> wrote:
> We at New England College are trying to setup RT as our helpdesk ticketing
> system and need to get RT up and running pretty soon.
>
> I have followed the LDAP installation instructions found at
> http://wiki.bestpractical.com/?LDAP
>
> Log 1 (Below) : When I login as a user who has a user with the same userid
> and password in RT and Windows Server 2003 active directory
> It seems to find the entry but fails the LDAP authentication. The error
> message is in bold .
>
> Log 2 (Below): When I login as a user with user id in Windows Server 2003
> active directory only and no account in RT ,
> again authentication fails.The error message is in bold

I'm copying this to the RT Users mailing list, where I suspect someone
with Active Directory experience can lend a hand. Unfortunately, I
know nearly nothing about it.

Cheers!

--j
>
>
> Log:1
> ======
> [Tue Nov  7 22:53:08 2006] [debug]: RT::User::CanonicalizeUserInfo  called
> by RT::User /opt/rt3/local/lib/RT/User_Local.pm 613
>  with: Name: mvaidya
> (/opt/rt3/local/lib/RT/User_Local.pm:378)
> [Tue Nov  7 22:53:08 2006] [debug]:
> RT::User::LookupExternalUserInfo called with baseDN
> "ou=AllNecUsers,dc=nec,dc=edu" and fil
> ter "sAMAccountName=mvaidya" by RT::User
> /opt/rt3/local/lib/RT/User_Local.pm 393
> (/opt/rt3/local/lib/RT/User_Local.pm:508)
> [Tue Nov  7 22:53:08 2006] [info]:
> RT::User::LookupExternalUserInfo :
> ou=AllNecUsers,dc=nec,dc=edu sAMAccountName=mvaidya =>
> Address1: , City: , Country: , EmailAddress: mvaidya at nec.edu,
> ExternalAuthId: mvaidya, ExternalContactInfoId: CN=Vaidya\,Mukul
> ,OU=IT Staff,OU=AllNECUsers,DC=nec,DC=edu, Gecos: mvaidya,
> Name: mvaidya, Organization: , RealName: Vaidya,Mukul, State: , Wor
> kPhone: , Zip:  (/opt/rt3/local/lib/RT/User_Local.pm:563)
> [Tue Nov  7 22:53:08 2006] [debug]:
> RT::User::CanonicalizeEmailAddress : called with
> "mvaidya at nec.edu" by RT::User /opt/rt3/lo
> cal/lib/RT/User_Local.pm 402
> (/opt/rt3/local/lib/RT/User_Local.pm:326)
> [Tue Nov  7 22:53:08 2006] [debug]:
> RT::User::LookupExternalUserInfo called with baseDN
> "ou=AllNecUsers,dc=nec,dc=edu" and fil
> ter "mail=mvaidya at nec.edu" by RT::User
> /opt/rt3/local/lib/RT/User_Local.pm 332
> (/opt/rt3/local/lib/RT/User_Local.pm:508)
> [Tue Nov  7 22:53:08 2006] [info]:
> RT::User::LookupExternalUserInfo :
> ou=AllNecUsers,dc=nec,dc=edu mail=mvaidya at nec.edu =>  Ad
> dress1: , City: , Country: , EmailAddress: mvaidya at nec.edu, ExternalAuthId:
> mvaidya, ExternalContactInfoId: CN=Vaidya\,Mukul,O
> U=IT Staff,OU=AllNECUsers,DC=nec,DC=edu, Gecos: mvaidya,
> Name: mvaidya, Organization: , RealName: Vaidya,Mukul, State: , WorkP
> hone: , Zip:  (/opt/rt3/local/lib/RT/User_Local.pm:563)
> [Tue Nov  7 22:53:08 2006] [debug]: FOUND OK
> (/opt/rt3/local/lib/RT/User_Local.pm:335)
> [Tue Nov  7 22:53:08 2006] [info]:
> RT::User::CanonicalizeEmailAddress mvaidya at nec.edu =>
> mvaidya at nec.edu (/opt/rt3/local/lib/
> RT/User_Local.pm:345)
> [Tue Nov  7 22:53:08 2006] [info]: RT::User::CanonicalizeUserInfo returning
> Address1: , City: , Country: , EmailAddress: mvaid
> ya at nec.edu, ExternalAuthId: mvaidya, ExternalContactInfoId:
> CN=Vaidya\,Mukul,OU=IT Staff,OU=AllNECUsers,DC=nec,DC=edu,
> Gecos:
> mvaidya, Name: mvaidya, Organization: , RealName: Vaidya,Mukul, State: ,
> WorkPhone: , Zip:  (/opt/rt3/local/lib/RT/User_Local.
> pm:411)
> [Tue Nov  7 22:53:08 2006] [debug]: UPDATED user mvaidya from LDAP
> (/opt/rt3/local/lib/RT/User_Local.pm:622)
> [Tue Nov  7 22:53:08 2006] [debug]: RT::User::CanonicalizeUserInfo  called
> by RT::User /opt/rt3/local/lib/RT/User_Local.pm 613
>  with: Name: mvaidya
> (/opt/rt3/local/lib/RT/User_Local.pm:378)
> [Tue Nov  7 22:53:08 2006] [debug]:
> RT::User::LookupExternalUserInfo called with baseDN
> "ou=AllNecUsers,dc=nec,dc=edu" and fil
> ter "sAMAccountName=mvaidya" by RT::User
> /opt/rt3/local/lib/RT/User_Local.pm 393
> (/opt/rt3/local/lib/RT/User_Local.pm:508)
> [Tue Nov  7 22:53:08 2006] [info]:
> RT::User::LookupExternalUserInfo :
> ou=AllNecUsers,dc=nec,dc=edu sAMAccountName=mvaidya =>
> Address1: , City: , Country: , EmailAddress: mvaidya at nec.edu,
> ExternalAuthId: mvaidya, ExternalContactInfoId: CN=Vaidya\,Mukul
> ,OU=IT Staff,OU=AllNECUsers,DC=nec,DC=edu, Gecos: mvaidya,
> Name: mvaidya, Organization: , RealName: Vaidya,Mukul, State: , Wor
> kPhone: , Zip:  (/opt/rt3/local/lib/RT/User_Local.pm:563)
> [Tue Nov  7 22:53:08 2006] [debug]:
> RT::User::CanonicalizeEmailAddress : called with
> "mvaidya at nec.edu" by RT::User /opt/rt3/lo
> cal/lib/RT/User_Local.pm 402
> (/opt/rt3/local/lib/RT/User_Local.pm:326)
> [Tue Nov  7 22:53:08 2006] [debug]:
> RT::User::LookupExternalUserInfo called with baseDN
> "ou=AllNecUsers,dc=nec,dc=edu" and fil
> ter "mail=mvaidya at nec.edu" by RT::User
> /opt/rt3/local/lib/RT/User_Local.pm 332
> (/opt/rt3/local/lib/RT/User_Local.pm:508)
> [Tue Nov  7 22:53:08 2006] [info]:
> RT::User::LookupExternalUserInfo :
> ou=AllNecUsers,dc=nec,dc=edu mail=mvaidya at nec.edu =>  Ad
> dress1: , City: , Country: , EmailAddress: mvaidya at nec.edu, ExternalAuthId:
> mvaidya, ExternalContactInfoId: CN=Vaidya\,Mukul,O
> U=IT Staff,OU=AllNECUsers,DC=nec,DC=edu, Gecos: mvaidya,
> Name: mvaidya, Organization: , RealName: Vaidya,Mukul, State: , WorkP
> hone: , Zip:  (/opt/rt3/local/lib/RT/User_Local.pm:563)
> [Tue Nov  7 22:53:08 2006] [debug]: FOUND OK
> (/opt/rt3/local/lib/RT/User_Local.pm:335)
> [Tue Nov  7 22:53:08 2006] [info]:
> RT::User::CanonicalizeEmailAddress mvaidya at nec.edu =>
> mvaidya at nec.edu (/opt/rt3/local/lib/
> RT/User_Local.pm:345)
> [Tue Nov  7 22:53:08 2006] [info]: RT::User::CanonicalizeUserInfo returning
> Address1: , City: , Country: , EmailAddress: mvaid
> ya at nec.edu, ExternalAuthId: mvaidya, ExternalContactInfoId:
> CN=Vaidya\,Mukul,OU=IT Staff,OU=AllNECUsers,DC=nec,DC=edu,
> Gecos:
> mvaidya, Name: mvaidya, Organization: , RealName: Vaidya,Mukul, State: ,
> WorkPhone: , Zip:  (/opt/rt3/local/lib/RT/User_Local.
> pm:411)
> [Tue Nov  7 22:53:08 2006] [debug]: UPDATED user mvaidya from LDAP
> (/opt/rt3/local/lib/RT/User_Local.pm:622)
> [Tue Nov  7 22:53:08 2006] [debug]: Trying LDAP authentication
> (/opt/rt3/local/lib/RT/User_Local.pm:153)
> [Tue Nov  7 22:53:08 2006] [info]: RT::User::IsLDAPPassword AUTH FAILED:
> mvaidya (/opt/rt3/local/lib/RT/User_Local.pm:182)
> [Tue Nov  7 22:53:08 2006] [debug]: RT::User::IsPassword auth method
> IsLDAPPassword FAILED (/opt/rt3/local/lib/RT/User_Local.p
> m:291)
> [Tue Nov  7 22:53:08 2006] [info]: RT::User::IsInternalPassword AUTH OKAY:
> mvaidya (/opt/rt3/local/lib/RT/User_Local.pm:239)
> [Tue Nov  7 22:53:08 2006] [debug]: RT::User::IsPassword auth method
> IsInternalPassword SUCCEEDED (/opt/rt3/local/lib/RT/User_
> Local.pm:291)
> [Tue Nov  7 22:53:08 2006] [info]: Successful login for mvaidya from
> 172.16.8.66 (/opt/rt3/local/html/Callbacks/LDAP/autohandl
> er/Auth:44)
>
>
>
>
> Log:2
> ======
>
> [Tue Nov  7 22:55:27 2006] [warning]: prepare_cached(
>                 SELECT a_session FROM sessions WHERE id = ?) statement
> handle DBI::st=HASH(0xbfc12b4) still Active at /usr/lib
> /perl5/site_perl/5.8.8/Apache/Session/Store/DBI.pm line 80
> (/usr/lib/perl5/5.8.8/Carp.pm:271)
> [Tue Nov  7 22:55:38 2006] [warning]: Transaction->Create couldn't, as you
> didn't specify an object type and id (/opt/rt3/lib/
> RT/Record.pm:1467)
> [Tue Nov  7 22:55:38 2006] [debug]: Trying LDAP authentication
> (/opt/rt3/local/lib/RT/User_Local.pm:153)
> [Tue Nov  7 22:55:38 2006] [info]: RT::User::IsLDAPPassword AUTH FAILED:
> reports (/opt/rt3/local/lib/RT/User_Local.pm:182)
> [Tue Nov  7 22:55:38 2006] [debug]: RT::User::IsPassword auth method
> IsLDAPPassword FAILED (/opt/rt3/local/lib/RT/User_Local.p
> m:291)
> [Tue Nov  7 22:55:38 2006] [info]: RT::User::IsInternalPassword AUTH FAILED
> (no passwd): reports (/opt/rt3/local/lib/RT/User_L
> ocal.pm:232)
> [Tue Nov  7 22:55:38 2006] [debug]: RT::User::IsPassword auth method
> IsInternalPassword FAILED (/opt/rt3/local/lib/RT/User_Loc
> al.pm:291)
> [Tue Nov  7 22:55:38 2006] [error]: FAILED LOGIN for reports from
> 172.16.8.66 (/opt/rt3/share/html/autohandler:238)
>
>
> Any help in resolving this issue is much appreciated.
>
>
> Thank you,
> Mukul Vaidya
>
> IT Department
> New England College.
>
>
>


-- 
Jim Meyer, Geek at Large                                    purp at acm.org



More information about the rt-users mailing list