<font color='black' size='2' face='arial'>
<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">
<div id="AOLMsgPart_0_b9728b8d-94e7-41e0-a55a-1facf2bdfdec" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><pre style="font-size: 9pt;"><font size="2"><font face="Arial, Helvetica, sans-serif"><font size="3">Hello,<br>
<br>
Is anybody going to reply me????????????????<br>
<br>
Awaiting for reply.<br>
<br>
Thanks and regards,<br>
<br>
SSR<br>
+919372525408</font><br>
</font></font><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
<br>
</font></font><tt>Message: 2<br>
Date: Thu, 15 Apr 2010 07:43:07 -0400<br>
From: <a href="mailto:redssr@linuxmail.org">redssr@linuxmail.org</a><br>
To: <a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a>, <a href="mailto:falcone@bestpractical.com">falcone@bestpractical.com</a><br>
Subject: Re: [rt-users] Can't call method "as_string" (Kevin Falcone)<br>
Message-ID: <<a href="mailto:8CCAAA7F36F73C0-1600-B48A@web-mmc-m03.sysops.aol.com">8CCAAA7F36F73C0-1600-B48A@web-mmc-m03.sysops.aol.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
<br>
 Hello,<br>
Mr. Kevin,<br>
<br>
First of all  i am very very sory for the late reply.<br>
<br>
Appreciable Thanks for your immediate reply. According to your suggestion i <br>
can't change the setting in the file as it will require to change settings in my <br>
AD server and my seniors are not allowing to do me so.<br>
<br>
Is there any other way to solved this issue.<br>
<br>
Thanks in Advance for the same.<br>
<br>
Regards,<br>
<br>
SSR<br>
+919372525408  <br>
<br>
<br>
<br>
<br>
Message: 4<br>
Date: Wed, 3 Mar 2010 10:08:09 -0500<br>
From: Kevin Falcone <<a href="mailto:falcone@bestpractical.com">falcone@bestpractical.com</a>><br>
Subject: Re: [rt-users] Can't call method "as_string"<br>
To: <a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a><br>
Message-ID: <<a href="mailto:20100303150809.GB755@jibsheet.com">20100303150809.GB755@jibsheet.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
On Wed, Mar 03, 2010 at 12:46:10AM -0500, <a href="mailto:redssr@linuxmail.org">redssr@linuxmail.org</a> wrote:<br>
>   I'm new to RT and Perl, but with some good skills with Linux.<br>
>      Can't call method "as_string" on an undefined value at/opt/rt3/local/plugi=<br>
>      ns/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pmline 100<br>
>                           'group'                 =3D>  'svn Users',<br>
>                           'group_attr'            =3D>  'svn Users',<br>
<br>
I doubt the group and the group_attr are both named 'svn Users' and<br>
you're generating invalid group search syntax.<br>
<br>
-kevin<br>
<br>
Message: 4<br>
Date: Wed, 03 Mar 2010 00:46:10 -0500<br>
From: <a href="mailto:redssr@linuxmail.org">redssr@linuxmail.org</a><br>
Subject: [rt-users] Can't call method "as_string"<br>
To: <a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a><br>
Message-ID: <<a href="mailto:8CC88ABF6733901-1E20-356E@web-mmc-m01.sysops.aol.com">8CC88ABF6733901-1E20-356E@web-mmc-m01.sysops.aol.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
<br>
<br>
 <br>
<br>
 <br>
 I'm new to RT and Perl, but with some good skills with Linux.<br>
<br>
    1) I Have installed successfully RT, logging on with no errors with local u<br>
<br>
    sers end logging on successful<br>
<br>
    2)But when i login the url with A D credentials it gives me the bellow err<br>
<br>
    or. on the browser<br>
<br>
    Can't call method "as_string" on an undefined value at/opt/rt3/local/plugi=<br>
<br>
    ns/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pmline 100<br>
<br>
<br>
<br>
      for first time, but when i refreshes the same page i gets the login <br>
successf<br>
<br>
    ully for the same. This happens every time when i login after logoff.<br>
<br>
    <br>
<br>
<br>
<br>
        Here goes the extra information.<br>
<br>
    ------------------<br>
<br>
    Installed versions<br>
<br>
    ------------------<br>
<br>
    Windows 2000 AD<br>
<br>
          Centos 5.4 on RT server<br>
<br>
    R T 3.8.7<br>
<br>
    RT-Authen-ExternalAuth-0.08<br>
<br>
    mod_perl-2.0.4-6.el5<br>
<br>
<br>
<br>
    <br>
<br>
     bellow are the rt logs<br>
<br>
    tail -f /var/log/rt/rt.log<br>
<br>
    <br>
<br>
    <br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: Attempting to use external auth servic<br>
<br>
    e: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/Ex<br>
<br>
    ternalAuth.pm:64)<br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: Calling UserExists with $username (sha<br>
<br>
    ilesh.raitole) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-Ex<br>
<br>
    ternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: UserExists params:<br>
<br>
    username: shailesh.raitole , service: My_LDAP (/opt/rt3/local/plugins/RT-A<br>
<br>
    uthen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: LDAP Search =3D=3D=3D  Base: dc=3Dvirt<br>
<br>
    ual,dc=3Dcom =3D=3D Filter: (&(&(ObjectCategory=3DUser)(ObjectClass=3DPers<br>
<br>
    on))(samaccountname=3Dshailesh.raitole)) =3D=3D Attrs: l,cn,st,mail,sAMAcc<br>
<br>
    ountName,india,streetAddress,postalCode,telephoneNumber,samaccountname,sAM<br>
<br>
    AccountName (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/E<br>
<br>
    xternalAuth/LDAP.pm:304)<br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: Password validation required for servi<br>
<br>
    ce - Executing... (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Au<br>
<br>
    then/ExternalAuth.pm:155)<br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: Trying external auth service: My_LDAP<br>
<br>
     (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth<br>
<br>
    /LDAP.pm:16)<br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: LDAP Search =3D=3D=3D  Base: dc=3Dvirt<br>
<br>
    ual,dc=3Dcom =3D=3D Filter: (&(samaccountname=3Dshailesh.raitole)(&(Object<br>
<br>
    Category=3DUser)(ObjectClass=3DPerson))) =3D=3D Attrs: dn (/opt/rt3/local/<br>
<br>
    plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:43)<br>
<br>
    [Thu Feb 25 09:13:45 2010] [debug]: Found LDAP DN: CN=3Dshailesh raitole,C<br>
<br>
    N=3DUsers,DC=3Dvirtual,DC=3Dcom (/opt/rt3/local/plugins/RT-Authen-External<br>
<br>
    Auth/lib/RT/Authen/ExternalAuth/LDAP.pm:75)<br>
<br>
    <br>
<br>
    Browser error<br>
<br>
    <br>
<br>
    Can't call method "as_string" on an undefined value at/opt/rt3/local/plugi<br>
<br>
    ns/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pmline 100.<br>
<br>
    <br>
<br>
     The rt logs after refreshing the same url are as follows;'<br>
<br>
    <br>
<br>
    tail -f /var/log/rt/rt.log<br>
<br>
    <br>
<br>
    [Thu Feb 25 09:18:18 2010] [debug]: Reloading RT::User to work around a bu<br>
<br>
    g in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/<br>
<br>
    html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>
<br>
    <br>
<br>
    Browser: successful login<br>
<br>
    <br>
<br>
    Bellow are the configuration of my pem files.<br>
<br>
    <br>
<br>
    vim /opt/rt3/etc/RT_SiteConfig.pm<br>
<br>
    <br>
<br>
    #Set( $rtname, 'ssr.com');<br>
<br>
    #Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));<br>
<br>
    Set( $rtname, 'ssr.com');<br>
<br>
    Set($Organization, 'ssr');<br>
<br>
    Set($CorrespondAddress , '<a href="mailto:ssr@ssr.com">ssr@ssr.com</a>');<br>
<br>
    Set($CommentAddress , '<a href="mailto:ssr@ssr.com">ssr@ssr.com</a>);<br>
<br>
    Set($Timezone , 'Asia/Calcutta');<br>
<br>
    Set($UseFriendlyFromLine , 1);<br>
<br>
    Set($FriendlyFromLineFormat , "\"%s\" <%s>");<br>
<br>
    Set($UseFriendlyToLine , 1);<br>
<br>
    Set($FriendlyToLineFormat, "\"%s Ticket #%s\":;");<br>
<br>
    <br>
<br>
    # THE DATABASE:<br>
<br>
    <br>
<br>
    Set($DatabaseType, 'mysql');<br>
<br>
    <br>
<br>
    Set($DatabaseHost   , 'localhost');<br>
<br>
    <br>
<br>
    Set($DatabaseRTHost , 'localhost');<br>
<br>
    <br>
<br>
    Set($DatabaseUser , 'local');<br>
<br>
    <br>
<br>
    Set($DatabasePassword , 'localpass');<br>
<br>
    <br>
<br>
    Set($DatabaseName , 'rt3');<br>
<br>
    <br>
<br>
    Set($OwnerEmail , 'root');<br>
<br>
    <br>
<br>
    Set($RTAddressRegexp , '^rt\@ssr.com$');<br>
<br>
    <br>
<br>
    Set($NotifyActor, 1);<br>
<br>
    <br>
<br>
    Set($SendmailArguments , '-oi -t -f"<ssr@ssr.>"');=20<br>
<br>
    <br>
<br>
    Set($MaxAttachmentSize , 10000000);<br>
<br>
    <br>
<br>
    # THE WEBSERVER:<br>
<br>
    <br>
<br>
    Set($WebPath , "/ticket");<br>
<br>
    Set($WebBaseURL , "<a href="http://rt.ssr.com" target="_blank">http://rt.ssr.com</a>");<br>
<br>
    <br>
<br>
    # Log Path<br>
<br>
    <br>
<br>
    Set($LogToFile , 'debug');=20<br>
<br>
    <br>
<br>
    Set($LogDir , '/var/log/rt');<br>
<br>
    <br>
<br>
    Set($LogToFileNamed , "rt.log");<br>
<br>
    <br>
<br>
    Set(@Plugins, qw(<br>
<br>
                            RT::Authen::ExternalAuth<br>
<br>
                     ));<br>
<br>
    <br>
<br>
    require "/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.p<br>
<br>
    m";<br>
<br>
    Set($AutoCreate,                        {Privileged =3D> 1});<br>
<br>
    Set($AuthMethods, ['LDAP', 'Internal']);<br>
<br>
    <br>
<br>
    1;<br>
<br>
    <br>
<br>
    <br>
<br>
    vim /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm<br>
<br>
    <br>
<br>
    Set($ExternalAuthPriority,           [ 'My_LDAP' ] );<br>
<br>
    Set($ExternalInfoPriority,           [ 'My_LDAP' ] );<br>
<br>
    Set($ExternalServiceUsesSSLorTLS,    0);<br>
<br>
    Set($AutoCreateNonExternalUsers,     0);<br>
<br>
    <br>
<br>
    Set($ExternalSettings,      {=20<br>
<br>
                         'My_LDAP'               =3D>  {<br>
<br>
     =20<br>
<br>
                         'type'                  =3D>  'ldap',<br>
<br>
                         'server'                =3D>  'AD.example.com',<br>
<br>
                         'user'                  =3D>  'svn',<br>
<br>
                         'pass'                  =3D>  'xxxxxxx',<br>
<br>
                         'base'                  =3D>  'dc=3Dexample,dc=3Dcom'<br>
<br>
    ,<br>
<br>
    <br>
<br>
                        =20<br>
<br>
                         'filter'                =3D>  '(&(ObjectCategory=3DUs<br>
<br>
    er)(ObjectClass=3DPerson))',<br>
<br>
                       =20<br>
<br>
                         d_filter'             =3D>  '(userAccountControl:1.2.<br>
<br>
    840.113556.1.4.803:=3D2)',<br>
<br>
                        =20<br>
<br>
                                                          =20<br>
<br>
    #                     'tls'                   =3D>  0,<br>
<br>
    #                    'ssl_version'           =3D>  3,<br>
<br>
    <br>
<br>
                         'net_ldap_args'         =3D> [    version =3D>  3  <br>
<br>
             ],<br>
<br>
                         'group'                 =3D>  'svn Users',<br>
<br>
                         'group_attr'            =3D>  'svn Users',<br>
<br>
    <br>
<br>
                         'attr_match_list'       =3D> [   'Name', 'EmailAddres<br>
<br>
    s'   ],<br>
<br>
                         #'attr_map'              =3D> {   'Name' =3D> 'sAMAcc<br>
<br>
    ountName',<br>
<br>
                         'attr_map'              =3D> {   'Name' =3D> 'samacco<br>
<br>
    untname',<br>
<br>
                                                        'EmailAddress' =3D> 'm<br>
<br>
    ail',<br>
<br>
                                                        #'Organization' =3D><br>
<br>
     'physicalDeliveryOfficeName',<br>
<br>
                                                        'RealName' =3D> 'cn',<br>
<br>
                                                        'ExternalAuthId' =3D><br>
<br>
     'sAMAccountName',<br>
<br>
                                                        'Gecos' =3D> 'sAMAccou<br>
<br>
    ntName',<br>
<br>
                                                        'WorkPhone' =3D> 'tele<br>
<br>
    phoneNumber',<br>
<br>
                                                        'Address1' =3D> 'stree<br>
<br>
    tAddress',<br>
<br>
                                                        'City' =3D> 'l',<br>
<br>
                                                        'State' =3D> 'st',<br>
<br>
                                                        'Zip' =3D> 'postalCode<br>
<br>
    ',<br>
<br>
                                                        'Country' =3D> 'india'<br>
<br>
                                                   }<br>
<br>
                                                    }<br>
<br>
                                }<br>
<br>
    );<br>
<br>
    <br>
<br>
    1;<br>
<br>
    <br>
<br>
    <br>
<br>
    Any suggestion, are appreciate.<br>
<br>
    <br>
<br>
    Thanks and Regards,<br>
<br>
    <br>
<br>
    SSR<br>
<br>
<br>
<br>
<br>
<br>
<br>
 <br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.bestpractical.com/pipermail/rt-users/attachments/20100415/25c7334e/attachment.html" target="_blank">http://lists.bestpractical.com/pipermail/rt-users/attachments/20100415/25c7334e/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
RT-Users mailing list<br>
<a href="mailto:RT-Users@lists.bestpractical.com">RT-Users@lists.bestpractical.com</a><br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
<br>
End of RT-Users Digest, Vol 73, Issue 36<br>
****************************************<br>
</tt></pre>
</div>
 <!-- end of AOLMsgPart_0_b9728b8d-94e7-41e0-a55a-1facf2bdfdec -->

</div>
</font>