hello, i would say that as you have commented ou the EmailAdress in the attribute match list, you need to remove the , (comma) after the Name attribute I think i remember having some error similar ; the last parameter must NOT have the comma, at the end of the line so your config would look like :
'attr_match_list' => [ 'Name'
# 'EmailAddress',
],
Raphaël
Raphaël MOUNEYRES
Ingénieur Moyens Tests
Avenue Paul Gellos 64990 Mouguerre
Phone: +33 (0)5 59 58 41 51
Email: [email protected]
"john s." <[email protected]>
Envoyé par : [email protected]
21/04/2011 11:31
A
[email protected]
cc
Objet
Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for
Is it clear what i want? No? okay i try to describe a litte bit more
exaclty
as far as possible from myself
okay my ldapseach command which runs perfectly is:
sudo ldapsearch -h xxx.xxx.local -D "xxx\User" -w "password" -b "'dc=xxx,
dc=local" -s sub "sAMAccountName=USER"
So here are my RT Config Parameter again:
Set($ExternalSettings,{'My_LDAP' =>{ ## GENERIC SECTION
'type' => 'ldap',
'server' => '192.168.123.45',
'user' => 'USER',
'pass' => 'password',
'base' =>
'ou=companyou,ou=User,dc=xxx,dc=xxx,dc=local',
'filter' => '(ObjectClass=*)',
'd_filter' =>
'(userAccountControl=514)'
# 'tls' => 0,
# 'ssl_version' => 3,
'net_ldap_args' => [ version => 3 ],
# 'group' => 'Benutzer',
# 'group_attr' => 'GROUP_ATTR',
'attr_match_list' => [ 'Name',
# 'EmailAddress',
],
'attr_map' => { 'Name' =>
'sAMAccountName',
'RealName' =>
'cn',
'EmailAddress' =>
'mail',
'Organization' =>
'physicalDeliveryOfficeName',
'RealName' =>
'cn',
'ExternalAuthId'
=>
'sAMAccountName',
'Gecos' =>
'sAMAccountName',
'WorkPhone' =>
'telephoneNumber',
'Address1' =>
'streetAddress',
'City' => 'l',
'State' => 'st',
'Zip' =>
'postalCode',
'Country' => 'co'
}
}
I'll try to find out, which parameter doesn't match with the ldap one ...
cause if i try to authorize on rt with an ad user my AD gives the
following
message out:
xxx.xxx.xxx.xxx:2799 NTDS None TCP 4 32 NonDSE Can't find
object 0.0 0
best regards john s.
--
View this message in context:
http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31448102.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
#
" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
pas destinés, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#
<<image/gif>>
<<image/gif>>
