[rt-users] Problems on RT-Authen-ExternalAuth

Eliezer E Chávez eliezer.chavez at gmail.com
Mon Mar 9 20:27:37 EDT 2009


Mike:

This is the debug log...

[Tue Mar 10 00:24:18 2009] [debug]: You've enabled GraphViz, but we
couldn't load the module: Can't locate GraphViz.pm in @INC (@INC
contains: /opt/rt/bin/../local/lib
/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt/bin/../lib
/opt/perl/lib/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/5.10.0
/opt/perl/lib/site_perl/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/site_perl/5.10.0 . /opt/apache/httpd) at
/opt/rt/bin/../lib/RT/Config.pm line 311, <DATA> line 323.
(/opt/rt/bin/../lib/RT/Config.pm:312)
[Tue Mar 10 00:24:18 2009] [debug]: RT's GnuPG libraries couldn't
successfully read your configured GnuPG home directory
(/opt/rt/var/data/gpg). PGP support has been disabled
(/opt/rt/bin/../lib/RT/Config.pm:339)
[Tue Mar 10 00:24:19 2009] [debug]: Reloading RT::User to work around
a bug in RT-3.8.0 and RT-3.8.1
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)
[Tue Mar 10 00:24:19 2009] [debug]: Attempting to use external auth
service: My_LDAP
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)
[Tue Mar 10 00:24:19 2009] [debug]: SSO Failed and no user to test
with. Nexting (/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)
[Tue Mar 10 00:24:19 2009] [debug]: Autohandler called ExternalAuth.
Response: (0, No User)
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
[Tue Mar 10 00:24:23 2009] [debug]: You've enabled GraphViz, but we
couldn't load the module: Can't locate GraphViz.pm in @INC (@INC
contains: /opt/rt/bin/../local/lib
/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt/bin/../lib
/opt/perl/lib/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/5.10.0
/opt/perl/lib/site_perl/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/site_perl/5.10.0 . /opt/apache/httpd) at
/opt/rt/bin/../lib/RT/Config.pm line 311, <DATA> line 323.
(/opt/rt/bin/../lib/RT/Config.pm:312)
[Tue Mar 10 00:24:23 2009] [debug]: RT's GnuPG libraries couldn't
successfully read your configured GnuPG home directory
(/opt/rt/var/data/gpg). PGP support has been disabled
(/opt/rt/bin/../lib/RT/Config.pm:339)
[Tue Mar 10 00:24:23 2009] [debug]: You've enabled GraphViz, but we
couldn't load the module: Can't locate GraphViz.pm in @INC (@INC
contains: /opt/rt/bin/../local/lib
/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt/bin/../lib
/opt/perl/lib/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/5.10.0
/opt/perl/lib/site_perl/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/site_perl/5.10.0 . /opt/apache/httpd) at
/opt/rt/bin/../lib/RT/Config.pm line 311, <DATA> line 323.
(/opt/rt/bin/../lib/RT/Config.pm:312)
[Tue Mar 10 00:24:23 2009] [debug]: RT's GnuPG libraries couldn't
successfully read your configured GnuPG home directory
(/opt/rt/var/data/gpg). PGP support has been disabled
(/opt/rt/bin/../lib/RT/Config.pm:339)
[Tue Mar 10 00:24:23 2009] [debug]: You've enabled GraphViz, but we
couldn't load the module: Can't locate GraphViz.pm in @INC (@INC
contains: /opt/rt/bin/../local/lib
/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt/bin/../lib
/opt/perl/lib/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/5.10.0
/opt/perl/lib/site_perl/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/site_perl/5.10.0 . /opt/apache/httpd) at
/opt/rt/bin/../lib/RT/Config.pm line 311, <DATA> line 323.
(/opt/rt/bin/../lib/RT/Config.pm:312)
[Tue Mar 10 00:24:23 2009] [debug]: RT's GnuPG libraries couldn't
successfully read your configured GnuPG home directory
(/opt/rt/var/data/gpg). PGP support has been disabled
(/opt/rt/bin/../lib/RT/Config.pm:339)
[Tue Mar 10 00:24:37 2009] [debug]: You've enabled GraphViz, but we
couldn't load the module: Can't locate GraphViz.pm in @INC (@INC
contains: /opt/rt/bin/../local/lib
/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt/bin/../lib
/opt/perl/lib/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/5.10.0
/opt/perl/lib/site_perl/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/site_perl/5.10.0 . /opt/apache/httpd) at
/opt/rt/bin/../lib/RT/Config.pm line 311, <DATA> line 323.
(/opt/rt/bin/../lib/RT/Config.pm:312)
[Tue Mar 10 00:24:37 2009] [debug]: RT's GnuPG libraries couldn't
successfully read your configured GnuPG home directory
(/opt/rt/var/data/gpg). PGP support has been disabled
(/opt/rt/bin/../lib/RT/Config.pm:339)
[Tue Mar 10 00:24:37 2009] [debug]: Reloading RT::User to work around
a bug in RT-3.8.0 and RT-3.8.1
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)
[Tue Mar 10 00:24:38 2009] [debug]: Attempting to use external auth
service: My_LDAP
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)
[Tue Mar 10 00:24:38 2009] [debug]: Calling UserExists with $username
(ynogue) and $service (My_LDAP)
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)
[Tue Mar 10 00:24:38 2009] [debug]: UserExists params:
username: ynogue , service: My_LDAP
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)
[Tue Mar 10 00:24:38 2009] [debug]: LDAP Search ===  Base:
dc=cantv,dc=com,dc=ve == Filter:
(&(objectClass=person)(sAMAccountName=ynogue)) == Attrs:
mail,sAMAccountName
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:304)
[Tue Mar 10 00:24:38 2009] [debug]: Password validation required for
service - Executing...
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:155)
[Tue Mar 10 00:24:38 2009] [debug]: Trying external auth service:
My_LDAP (/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:16)
[Tue Mar 10 00:24:38 2009] [debug]: LDAP Search ===  Base:
dc=cantv,dc=com,dc=ve == Filter:
(&(sAMAccountName=ynogue)(objectClass=person)) == Attrs: dn
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:43)
[Tue Mar 10 00:24:38 2009] [debug]: Found LDAP DN: CN=Noguera
Yuruadi,OU=Usuarios,OU=Avanzados,OU=Movilnet
Users,OU=DATA,DC=cantv,DC=com,DC=ve
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:75)
[Tue Mar 10 00:24:38 2009] [info]:
RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ):
ynogue (/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:139)
[Tue Mar 10 00:24:38 2009] [debug]: LDAP password validation result: 1
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:334)
[Tue Mar 10 00:24:38 2009] [debug]: Password Validation Check Result:
1 (/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:159)
[Tue Mar 10 00:24:38 2009] [debug]: Authentication successful. Now
updating user information and attempting login.
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:179)
[Tue Mar 10 00:24:38 2009] [debug]: UserExists params:
username: ynogue , service: My_LDAP
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)
[Tue Mar 10 00:24:38 2009] [debug]: LDAP Search ===  Base:
dc=cantv,dc=com,dc=ve == Filter:
(&(objectClass=person)(sAMAccountName=ynogue)) == Attrs:
mail,sAMAccountName
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:304)
[Tue Mar 10 00:24:38 2009] [debug]: UserExists params:
username: ynogue , service: My_LDAP
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)
[Tue Mar 10 00:24:38 2009] [debug]: LDAP Search ===  Base:
dc=cantv,dc=com,dc=ve == Filter:
(&(objectClass=person)(sAMAccountName=ynogue)) == Attrs:
mail,sAMAccountName
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:304)
[Tue Mar 10 00:24:44 2009] [debug]: You've enabled GraphViz, but we
couldn't load the module: Can't locate GraphViz.pm in @INC (@INC
contains: /opt/rt/bin/../local/lib
/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt/bin/../lib
/opt/perl/lib/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/5.10.0
/opt/perl/lib/site_perl/5.10.0/sun4-solaris-thread-multi-64-ld
/opt/perl/lib/site_perl/5.10.0 . /opt/apache/httpd) at
/opt/rt/bin/../lib/RT/Config.pm line 311, <DATA> line 323.
(/opt/rt/bin/../lib/RT/Config.pm:312)
[Tue Mar 10 00:24:44 2009] [debug]: RT's GnuPG libraries couldn't
successfully read your configured GnuPG home directory
(/opt/rt/var/data/gpg). PGP support has been disabled
(/opt/rt/bin/../lib/RT/Config.pm:339)
[Tue Mar 10 00:24:44 2009] [debug]: Reloading RT::User to work around
a bug in RT-3.8.0 and RT-3.8.1
(/opt/rt/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)

I put the RT_SiteConfig.pm as you told me

And the message still is:

Can't call method "as_string" on an undefined value at
/opt/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
line 398,  line 514.

THNX FOR THE HELP MATE!!!!!!!! :)


Regards,

On Mon, Mar 9, 2009 at 3:40 PM, Mike Peachey <mike.peachey at jennic.com> wrote:
> Mike Peachey wrote:
>>
>> Delete the above.
>
> I meant below.
> --
> Kind Regards,
>
> __________________________________________________
>
> Mike Peachey, IT
> Tel: +44 114 281 2655
> Fax: +44 114 281 2951
> Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
> Comp Reg No: 3191371 - Registered In England
> http://www.jennic.com
> __________________________________________________
>



-- 
Eliezer E Chávez
+58-416-6125676
eliezer.chavez at gmail.com
>>http://www.bumeran.com.ve/cv/eliezer-chavez



More information about the rt-users mailing list