<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>

Hi,<br>
<br>
I just left that there for reference, but it is removed now.. almost there,<br>
<br>
When I log in with an active directory user now i am getting this in the RT.log<br>
<br>
[Thu Apr  3 13:19:43 2008] [debug]: Attempting to use external auth
service: My_LDAP
(/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:63)<br>
[Thu Apr  3 13:19:48 2008] [critical]: RT::User::_GetBoundLdapObj :
Cannot connect to albex.albyn.local
(/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:1026)<br>
[Thu Apr  3 13:19:48 2008] [info]: RT::User::IsExternalPassword
External Auth Failed: fjones
(/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:294)<br>
[Thu Apr  3 13:19:48 2008] [debug]: RT::User::IsPassword External auth
FAILED (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:360)<br>
[Thu Apr  3 13:19:48 2008] [info]: RT::User::IsInternalPassword AUTH
FAILED (no passwd): fjones
(/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:305)<br>
[Thu Apr  3 13:19:48 2008] [debug]: RT::User::IsPassword Internal auth
FAILED (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:366)<br>
<br>
albex being the server that active directory is on  and albyn.local being the domain,<br><br>my ldap settings are :<br><br>{   # AN EXAMPLE LDAP SERVICE<br>                                'My_LDAP'       =>  {   ## GENERIC SECTION<br>                                                        # The type of service (db/ldap/cookie) <br>                                                        'type'                      =>  'ldap',<br>                                                        # Should the service be used for authentication?<br>                                                        'auth'                      =>  1,<br>                                                        # Should the service be used for information?<br>                                                        'info'                      =>  1,<br>                                                        # The server hosting the service<br>                                                        'server'                    =>  'albex.albyn.local',<br>                                                        ## SERVICE-SPECIFIC SECTION<br>                                                        # The LDAP search base<br>                                                        'base'                      =>  'ou=aber,dc=albyn,dc=local',<br>                                                        # The filter to use to match RT-Users<br>                                                        'filter'                    =>  '(FILTER_STRING)',<br>                                                        # The filter that will only match disabled users<br>                                                        'd_filter'                  =>  '(FILTER_STRING)',<br>                                                        # Should we try to use TLS to encrypt connections?<br>                                                        'tls'                       =>  0,<br>                                                        # What other args should I pass to Net::LDAP->new($host,@args)?<br>                                                        'net_ldap_args'             => [    version =>  3   ],<br>                                                        # Does authentication depend on group membership? What group name?<br>                                                        'group'                     =>  'GROUP_NAME',<br>                                                        # What is the attribute for the group object that determines membership?<br>                                                        'group_attr'                =>  'GROUP_ATTR',<br>                                                        ## RT ATTRIBUTE MATCHING SECTION<br>                                                        # The list of RT attributes that uniquely identify a user<br>                                                        'attr_match_list'           => [    'Name',<br>                                                                                            'EmailAddress', <br>                                                                                            'RealName',<br>                                                                                            'WorkPhone', <br>                                                                                            'Address2'<br>                                                                                        ],<br>                                                        # The mapping of RT attributes on to LDAP attributes<br>                                                        'attr_map'                  =>  {   'Name' => 'sAMAccountName',<br>                                                                                            'EmailAddress' => 'mail',<br>                                                                                            'Organization' => 'physicalDeliveryOfficeName',<br>                                                                                            'RealName' => 'cn',<br>                                                                                            'ExternalAuthId' => 'sAMAccountName',<br>                                                                                            'Gecos' => 'sAMAccountName',<br>                                                                                            'WorkPhone' => 'telephoneNumber',<br>                                                                                            'Address1' => 'streetAddress',<br>                                                                                            'City' => 'l',<br>                                                                                            'State' => 'st',<br>                                                                                            'Zip' => 'postalCode',<br>                                                                                            'Country' => 'co'<br>                                                                                        }<br>                                                    }<br>                                }<br><br>Thanks for the help,<br><br>It is much appreciated I am quite new to all of this!<br><br>Andy<br><br><br><br><br><br>> Date: Thu, 3 Apr 2008 14:03:58 +0100<br>> From: mike.peachey@jennic.com<br>> To: andrew.fay@hotmail.co.uk; rt-users@lists.bestpractical.com<br>> Subject: Re: [rt-users] LDAP<br>> <br>> andrew fay wrote:<br>> > Hi Mike,<br>> > <br>> > I have installed the ExternalAuth extention,<br>> > <br>> > I now get this error on trying to log in :<br>> > <br>> > What do you think ?<br>> <br>> It would appear that you haven't modified the ExternalSettings from the <br>> default.<br>> <br>> You need to remove the example MySQL configuration.<br>> <br>> -- <br>> Kind Regards,<br>> <br>> __________________________________________________<br>> <br>> Mike Peachey, IT<br>> Tel: +44 114 281 2655<br>> Fax: +44 114 281 2951<br>> Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK<br>> Comp Reg No: 3191371 - Registered In England<br>> http://www.jennic.com<br>> __________________________________________________<br><br /><hr />A prize an hour, 24 hours a day. <a href='http://www.bigsnapsearch.com
 
' target='_new'>Try Big Snap now!</a></body>
</html>