Hallo!

I have installed OTRS 1.2.3 from the sources. No Problems:

[EMAIL PROTECTED]:/# perl -cw /usr/local/otrs/bin/cgi-bin/index.pl
/usr/local/otrs/bin/cgi-bin/index.pl syntax OK
[EMAIL PROTECTED]:/# perl -cw /usr/local/otrs/bin/PostMaster.pl
/usr/local/otrs/bin/PostMaster.pl syntax OK

But after inserting the initial SQL data, i can't login with the login
combination ([EMAIL PROTECTED], root) given in the documentation.

I found the following errors in /var/log/messages:

Apr 20 09:31:18 heli OTRS-CGI-10[2539]:
[Notice][Kernel::System::Auth::DB::Auth] The crypt() of your mod_perl(2) is
not working correctly! Update mod_perl!
Apr 20 09:31:18 heli OTRS-CGI-10[2539]:
[Notice][Kernel::System::Auth::DB::Auth] User: [EMAIL PROTECTED] with wrong
Pw!!! (REMOTE_ADDR: 192.168.100.10)

I'm not using mod_perl. I assume, the problem is the crypt() function. A
test does not return the encrypted password as given in the documentation.

[EMAIL PROTECTED]:/# perl -e 'print crypt("root", "[EMAIL PROTECTED]") . "\n"'
$2a$04$root..................QHSCVtcO1oNz6sch8SNzSuYTbSVQtwK

How could i configure OTRS tu work with this version of crypt()?

I found out, that there is a test for bug inside RedHat8, where the the
encrypted password is compared with a given one. I changed

(crypt('root', '[EMAIL PROTECTED]') eq 'roK20XGbWEsSM')) 

to

(crypt('root', '[EMAIL PROTECTED]') eq 'QHSCVtcO1oNz6sch8SNzSuYTbSVQtwK'))

inside Kernel/System/User.pm, Kernel/System/CustomerAuth/DB.pm,
Kernel/System/CustomerUser/DB.pm and Kernel/System/Auth/DB.pm. I changed the
password for [EMAIL PROTECTED] inside the database to. But it didn't work. I
got the same error message as mentioned above.

Could anyone help me please?


With kind regards

Jan

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl

_______________________________________________
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 oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to