
Sándor, Looking at your log file, its not getting the user information, generally when I see that I go to the map section of Config.pm. Looking at your line: $Self->{UserSyncLDAPMap} = { # DB -> LDAP Firstname => 'givenName', Lastname => 'sn', Email => 'mail', }; I see a "#" comment at DB, so Perl would see it (maybe) as: $Self->{UserSyncLDAPMap} = {Firstname => 'givenName', Lastname => 'sn', Email => 'mail', }; With the DB -> LDAP line removed. Is this realy commented out or is that something from your cut and paste? Have Fun. Greg Horne geh gehorne -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org]On Behalf Of Sándor Fehér Sent: Thursday, July 12, 2007 2:00 AM To: User questions and discussions about OTRS.org Subject: Re: [otrs] LDAP auth problem Sándor Fehér írta: Some additional info. I downgraded to 2.1.6 and it works fine with that. Here is the relevant part of my Config.pm # $DIBI$ $Self->{'SystemID'} = 10; $Self->{'SecureMode'} = 1; $Self->{'Organization'} = 'Blue System '; $Self->{'LogModule::LogFile'} = '/opt/otrs/var/otrs.log'; $Self->{'LogModule'} = 'Kernel::System::Log::SysLog'; $Self->{'FQDN'} = 'mail.office.bluesystem.hu'; $Self->{'DefaultLanguage'} = 'hu'; $Self->{'DefaultCharset'} = 'iso-8859-2'; $Self->{'AdminEmail'} = 'sfeher@bluesystem.hu'; $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = '192.168.1.9'; $Self->{'AuthModule::LDAP::BaseDN'} = 'ou=Staff,dc=office,dc=bluesystem,dc=hu'; $Self->{'AuthModule::LDAP::UID'} = 'uid'; $Self->{'AuthModule::LDAP::UserAttr'} = 'uid'; $Self->{'AuthModule::LDAP::Params'} = { port => 389, timeout => 120, async => 0, version => 3, }; $Self->{UserSyncLDAPMap} = { # DB -> LDAP Firstname => 'givenName', Lastname => 'sn', Email => 'mail', }; $Self->{UserSyncLDAPGroups} = [ 'users', ]; $Self->{DatabaseUserTable} = 'system_user'; $Self->{DatabaseUserTableUserID} = 'id'; $Self->{DatabaseUserTableUserPW} = 'pw'; $Self->{DatabaseUserTableUser} = 'login'; And the log I get. [Thu Jul 12 07:55:28 2007][Notice][Kernel::System::Auth::LDAP::Auth] User: sfeher (uid=sfeher,ou=St [Thu Jul 12 07:55:28 2007][Notice][Kernel::System::User::GetUserData] Panic! No UserData for user: [Thu Jul 12 07:55:28 2007][Error][Kernel::System::User::UserAdd][229] Need UserFirstname! [Thu Jul 12 07:55:28 2007][Error][Kernel::System::Auth::LDAP::Auth][385] Can't create user 'sfeher' [Thu Jul 12 07:55:28 2007][Notice][Kernel::System::User::GetUserData] Panic! No UserData for user: Regards., Sandor
Hi,
I had a well working otrs config so far with the following parts:
- Apache 2.2.3 with mod_perl - OTRS 2.1.6 - Oracle 10.2.0.1 - Openldap 2.3.35
The authetication worked perfectly from LDAP. Today I decided to build a new config with otrs 2.2.1. I backed up my Config.pm and installed a new otrs 2.2.1. Ran the oracle database scripts as well. Everything is fine except the authentication (I can log in with root@localhost). The result is the same either I use mysql backend. Thank you in advance.
Regards., Sandor
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Jul 11 11:10:39 2007
Message: Can't create user 'sfeher' (uid=sfeher,ou=Staff,dc=office,dc=bluesystem,dc=hu) in RDBMS!
Traceback (8276): Module: Kernel::System::Auth::LDAP::Auth (v1.37) Line: 385 Module: Kernel::System::Auth::Auth (v1.23) Line: 120 Module: Kernel::System::Web::InterfaceAgent::Run (v1.22) Line: 192 Module:
ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler
(v) Line: 4 Module: (eval) (v1.81) Line: 203 Module: ModPerl::RegistryCooker::run (v1.81) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.81) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30
-- Üdvözlettel, Fehér Sándor ...Fehér Sándor... --- ....Sandor Feher.... fejlesztési vezető --- development manager Blue System Kft. --- Blue System Ltd. mailto:sfeher@bluesystem.hu http://www.bluesystem.hu [ - real men don't click - ] _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/