LDAP mit Win2003 Fehler [176] Can't connect to...

Hilfe zu Znuny Problemen aller Art
Locked
wuuhooo
Znuny newbie
Posts: 2
Joined: 03 Jul 2009, 09:51
Znuny Version: 2.3.4

LDAP mit Win2003 Fehler [176] Can't connect to...

Post by wuuhooo »

Hallo,
ich bin gerade bei der Einrichtung von LDAP zu unserem DC!
OTRS ist auf einem extra Server installiert welcher nur MemberServer ist.
DC wie auch der OTRS Server sind Windows 2003 Rechner.

Nach der Einrichtung bekomme ich folgende Fehlermeldung:
[Fri Jul 3 09:18:35 2009][Error][Kernel::System::Auth::LDAP::Auth][176] Can't connect to [152.32.4.81]: IO::Socket::INET: Bad hostname '[152.32.4.81]'

Meine Config:

package Kernel::Config;

sub Load {
my $Self = shift;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# Start of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '[152.32.4.81]';
$Self->{'AuthModule::LDAP::BaseDN'} = '[dc=domain, dc=de]';
#$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::UID'} = 'uid';
$Self->{'AuthModule::LDAP::SearchUserDN'} = '[CN=OTRS, OU=Abteilung, OU=SichhStufe0(VIP), OU=Benutzer, OU=Rollenzuweisung, OU=domain, DC=de]';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '[pw';
# ---------------------------------------------------- #
# database settings #
# ---------------------------------------------------- #
# DatabaseHost
# (The database host.)
$Self->{'DatabaseHost'} = 'localhost';
# Database
# (The database name.)
$Self->{'Database'} = 'otrs';
# DatabaseUser
# (The database user.)
$Self->{'DatabaseUser'} = 'otrs';
# DatabasePw
# (The password of database user. You also can use bin/CryptPassword.pl
# for crypted passwords.)
$Self->{'DatabasePw'} = 'hot';
# DatabaseDSN
# (The database DSN for MySQL ==> more: "man DBD::mysql")
$Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";

# (The database DSN for PostgreSQL ==> more: "man DBD::Pg")
# if you want to use a local socket connection
# $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
# if you want to use a tcpip connection
# $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";


Danke für alle Antworten mal schauen was mal Fehler ist :)!

Grüße
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

LDAP mit Win2003 Fehler [176] Can't connect to...

Post by jojo »

Die [ und ] Klammern gehören da nicht hin, wie kommst Du denn darauf?

Ich meine jeweils in den Wertzuweisungen von:
$Self->{'AuthModule::LDAP::Host'}
$Self->{'AuthModule::LDAP::BaseDN'}
$Self->{'AuthModule::LDAP::SearchUserDN'}
$Self->{'AuthModule::LDAP::SearchUserPw'}
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked