[rt-users] Regarding RT External Authentication.

bharath reddy vangoor.bharath at gmail.com
Tue Nov 10 17:07:49 EST 2015


Dear All,

I'm facing issue while RT External AUthentication with LDAP, following is
the error from log files :

[7338] [Tue Nov 10 21:57:41 2015] [debug]: Attempting to use external auth
service: My_LDAP
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:424)
[7338] [Tue Nov 10 21:57:41 2015] [debug]: Calling UserExists with
$username (myuser) and $service (My_LDAP)
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:465)
[7338] [Tue Nov 10 21:57:41 2015] [debug]: UserExists params:
username: bvangoor , service: My_LDAP
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:439)
[7338] [Tue Nov 10 21:57:41 2015] [debug]: LDAP Search ===  Base:
OU=SBCS,DC=cs,DC=stonybrook,DC=edu == Filter:
(&(&(objectClass=user)(|(memberOf=CN=System Staff Users,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Student Assistant
Users,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Assistant
Professors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Full
Professors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Associate
Professors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Instructors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)))(sAMAccountName=bvangoor)) ==
Attrs: cn,mail,sAMAccountName
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:469)
[7338] [Tue Nov 10 21:57:41 2015] [debug]:
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by
RT::Authen::ExternalAuth
/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm 885
with: Disabled: , EmailAddress: , Gecos: myuser, Name: myuser, Privileged:
1
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:792)
[7338] [Tue Nov 10 21:57:41 2015] [debug]: Attempting to get user info
using this external service: My_LDAP
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:800)
[7338] [Tue Nov 10 21:57:41 2015] [debug]: Attempting to use this
canonicalization key: Name
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:809)
[7338] [Tue Nov 10 21:57:42 2015] [debug]: LDAP Search ===  Base:
OU=SBCS,DC=cs,DC=stonybrook,DC=edu == Filter:
(&(&(objectClass=user)(|(memberOf=CN=System Staff Users,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Student Assistant
Users,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Assistant
Professors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Full
Professors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Associate
Professors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)(memberOf=CN=Instructors,OU=Security
Groups,OU=SBCS,DC=cs,DC=stonybrook,DC=edu)))(sAMAccountName=bvangoor)) ==
Attrs: cn,mail,sAMAccountName
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:357)
[7338] [Tue Nov 10 21:57:42 2015] [info]:
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: ,
EmailAddress: myuser at cs.stonybrook.edu <bvangoor at cs.stonybrook.edu>,
Gecos: myuser, Name: myuser, Privileged: 1,
RealName: myuser
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:868)
*[7338] [Tue Nov 10 21:57:42 2015] [error]: Couldn't create user myuser:
Email address in use
(/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:491)*
[7338] [Tue Nov 10 21:57:42 2015] [debug]: Autohandler called ExternalAuth.
Response: (0, No User)
(/rt/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:11)

When I check my Database (mysql) I find the following details :

mysql> select * from Users where EmailAddress like "%bvangoor%"\G
*************************** 1. row ***************************
                   id: 46061
                * Name: myuser at cs.stonybrook.edu
<bvangoor at cs.stonybrook.edu>*
             Password: *NO-PASSWORD*
             Comments: NULL
            Signature: NULL
         EmailAddress: myuser at cs.stonybrook.edu <bvangoor at cs.stonybrook.edu>

Can anyone help me what the issue is.

RT Authentication works fine If I delete the user entry from
Database(mysql).


Thanks,
Bharath.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20151110/577b1f81/attachment.htm>


More information about the rt-users mailing list