RT-Authen-ExternalAuth-0.08 which packages i need for

I agree with Raphael on this one,

The error you are seeing is basically saying it cannot find the user based
on the searching parameters you used. A useful troubleshooting tool for this
would be an LDAP Browser(I used Softerra’s). The browser allows you to test
your Base DN. My gut feeling is your Base DN is wrong.

Good luck!
Mike.2011/4/26 Raphaël MOUNEYRES raphael.mouneyres@sagemcom.com

Hello, the LDAP answer is clear : “User not found”

in your config you search in this Base: ou=User,dc=xxx,dc=xxx,dc=local
are you sure the xxx.xxx.local domain exist in your AD configuration ? or
did you change company values to hide from the list ?
it looks like you don’t have the good parameters between RT and your AD
config so you can match and find the USER

Raphaël

“john s.” fireskyer@gmx.de
Envoyé par : rt-users-bounces@lists.bestpractical.com

26/04/2011 10:44
A
rt-users@lists.bestpractical.com
cc
Objet
Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for

Turn your RT debug logging on and check that log to see what it’s doing.#

Hello mike the rt.log says the following:

username: USER , service: My_LDAP

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)pr
26 06:58:11 2011] [debug]: LDAP Search === Base:
ou=User,dc=xxx,dc=xxx,dc=local == Filter:
(&(ObjectClass=*)(sAMAccountName=User)) == Attrs: cn,sAMAccountName

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:304)
[Tue Apr 26 06:58:11 2011] [debug]: User Check Failed :: ( My_LDAP ) USER
User not found

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:318)

So sth goes awry

Any further hints,clues or advices would be helpfully

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-tp31388437p31476578.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31476578.html

" 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."

Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON P7B 5E1
Phone: (807) 766-7331
Email: mike.johnson@nosm.ca

@Mike Johnson20

My gut feeling is your Base DN is wrong.

Not really, right direction but still wrong :slight_smile:

But joking aside

I have it done it with a help from a colleague

It was a hard piece of work with many trial and error parts …

here is my solution:

Set($ExternalSettings,{‘My_LDAP’ =>{ ## GENERIC SECTION
‘type’ => ‘ldap’,
‘server’ => ‘xxx.xxx.local’,
‘user’ =>
‘CN=User,OU=Benutzer,OU=xxx,DC=xxx,DC=xx’, # THat was the crucial point
‘pass’ => ‘pass’,
‘base’ =>
‘OU=xxx,OU=xxx,DC=xxx,DC=local’,
‘filter’ =>
‘(memberOf=CN=RT,OU=Gruppen,OU=xxx,DC=xxx,DC=xxx)’, #and the filter is
modified
‘d_filter’ =>
‘(userAccountControl=514)’,
‘tls’ => 1,
‘ssl_version’ => 3,
‘net_ldap_args’ => [ version =>
3 ],

                 'attr_match_list'           => [    'Name',
                                                     'EmailAddress',
                                                ],
                 'attr_map'                  =>  {  'Name' =>

‘sAMAccountName’,
‘RealName’ => ‘cn’,
‘EmailAddress’ =>
‘mail’,
‘Organization’ =>
‘physicalDeliveryOfficeName’,
‘ExternalAuthId’ =>
‘sAMAccountName’,
‘WorkPhone’ =>
‘telephoneNumber’,
‘Address1’ =>
‘streetAddress’,
‘City’ => ‘l’,
‘Zip’ =>
‘postalCode’,

                                                 }
                                                                    }

}

many thanks to all guys which are trying to help me

ps: could anyone clean up this thread from double entries

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-tp31388437p31503157.html