Hi all,

We have RT4.0 with RT::Authen::ExternalAuth. In attr_match_list section we have:
'attr_match_list'  => [    'Name',
                                       'EmailAddress',
                                       'RealName',
                                   ],
'attr_map'            =>  {   'Name' => 'uid',
                                        'EmailAddress' => 'mail',
                                        'RealName' => 'cn',
                                    }

However, on our ldap (openldap) a typical user has a uid and cn. For instance, my info on the ldap is:
dn: uid=hossein,ou=People,o=TRIUMF
uid: hossein
cn: Hossein Rafighi
sn: Rafighi
mail: [email protected]
mail: [email protected]
givenName: Hossein

Is it possible to alter the attr_match, attr_map, or any other attribute in RT to authenticate based on uid or cn, and not just uid? I tried changing various settings, but to no avail.



Many thanks,
Hossein

--
  _____  _____   _____  _   _  _   _  ____ Hossein Rafighi
 |_   _||  _  \ |_   _|| | | || \_/ ||  __|TRIUMF, 4004 Wesbrook Mall
   | |  | |_|  )  | |  | | | ||     || |__ Vancouver BC, CANADA, V6T 2A3
   | |  |  _  /   | |  | \_/ || \_/ ||  __|Voice: (604) 222-1047
   | |  | | \ \  _| |_ |     || | | || |   Fax:   (604) 222-1074
   |_|  |_|  \_\|_____| \___/ |_| |_||_|   Website: http://www.triumf.ca

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26 & 27, 2011
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Melbourne VIC, Australia  November 28 & 29, 2011
*  Barcelona, Spain  November 28 & 29, 2011

Reply via email to