you also have a space befor My_LDAP here, wich does not match the later defined service >>Set($ExternalAuthPriority, [ ' My_LDAP' ]); >>... >>Set($ExternalSettings, {'My_LDAP' => {
Luis Avendaño <lavend...@acmgrp.com> Envoyé par : rt-users-boun...@lists.bestpractical.com 18/04/2011 15:32 A <rt-users@lists.bestpractical.com> cc Objet Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for Hi John, It looks that you missed a comma after 'd_filter' => '(userAccountControl=514)' In addition, please check you settings here 'attr_map' => { 'Name' => 'sAMAccountName',... Nothing else to match? If so, just to be sure, please delete the comma after 'sAMAccountName'. Finally, I would recommend you to comment 'ssl_version' => 3, After you get this configuration to work, then you can "play" with the SSL configuration. Good luck, Best, ----- 4. Re: RT-Authen-ExternalAuth-0.08 which packages i need for (john s.) Message: 4 Date: Mon, 18 Apr 2011 04:07:28 -0700 (PDT) From: "john s." <firesk...@gmx.de> To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for Message-ID: <31422830.p...@talk.nabble.com> Content-Type: text/plain; charset=us-ascii Greetings Luis okay i have trimmed my config a little bit and now it look like this: Set($ExternalAuthPriority, [ ' My_LDAP' ]); Set($ExternalInfoPriority, ['My_LDAP']); #Set($ExternalServiceUsesSSLorTLS, 0 ); Set($AutoCreateNonExternalUsers, 0); Set($ExternalSettings, {'My_LDAP' => { ## GENERIC SECTION 'type' => 'ldap', 'server' => 'ipserver', 'user' => 'USER', 'pass' => 'pass', 'base' => 'ou=OU Unit,dc=sb,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', } } } ); And now i have also posted the apache logfile, cause this comments the steps from which lines i had to comment out that apache will start... so thats the basic without any outlines... and this one doesn't work... http://pastebin.com/PHpDsi7S http://pastebin.com/PHpDsi7S and now the config which let apache started: #########RT Authenth############# Set($ExternalAuthPriority, [ ' My_LDAP' ]); Set($ExternalInfoPriority, ['My_LDAP']); #Set($ExternalServiceUsesSSLorTLS, 0 ); Set($AutoCreateNonExternalUsers, 0); Set($ExternalSettings, {'My_LDAP' => { ## GENERIC SECTION 'type' => 'ldap', 'server' => '192.168.10.40', 'user' => 'RT-USER', 'pass' => 'sl-pg33011', 'base' => 'ou=SBAOU Unit,dc=sbah,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', #'EmailAddress' => 'mail', # 'Organization' => 'physicalDeliveryOfficeName', # 'RealName' => 'cn', # 'ExternalAuthId' => 'sAMAccountName', # 'Gecos' => 'sAMAccountName', # 'WorkPhone' => 'telephoneNumber', # 'Address1' => 'streetAddress', # 'City' => 'l', # 'State' => 'st', # 'Zip' => 'postalCode', # 'Country' => 'co' } } #} ); So as far as you can see, the other version with clean comments and # signs doesn't work. But i don't know why or if i walking completely off the track at the moment ....:-( Best regards john s. -- View this message in context: http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-nee d-for-tp31388437p31422830.html Sent from the Request Tracker - User mailing list archive at Nabble.com. ------------------------------ ____________________________________________________________________________ ________ Luis Avendaño # " 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." #