Erst einmal sorry, dass ich mich jetzt erst melde.
War eine Zeit lang nicht mehr mit diesem Projekt beschäftigt...
Nach etlichen weiteren Versuchen, komme ich leider immer noch nicht weiter.
Auszug aus meiner aktuellen Config.pm:
Agenten Authentifizierung:
Code: Select all
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'ldap://dc01.meine.domäne';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=meine,dc=domäne';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'otrs@meine.domäne';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'Kennwort';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
Und für die Customers:
Code: Select all
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'ldap://dc01.meine.domäne';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=meine,dc=domäne';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'otrs@meine.domäne';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Kennwort';
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
Bei beiden bekomme ich im Anmeldefenster, dass die Anmeldung fehlgeschlagen ist...
Die Log sagt folgendes:
Code: Select all
[Wed Jan 22 12:03:00 2014][Error][Kernel::System::CustomerAuth::LDAP::Auth][188] First bind failed! 00002028: LdapErr: DSID-0C0901FC, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v1db1
[Wed Jan 22 12:03:00 2014][Error][Kernel::System::CustomerUser::LDAP::_Connect][197] First bind failed! 00002028: LdapErr: DSID-0C0901FC, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v1db1
[Wed Jan 22 12:04:10 2014][Error][Kernel::System::CustomerAuth::LDAP::Auth][188] First bind failed! 00002028: LdapErr: DSID-0C0901FC, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v1db1
[Wed Jan 22 12:04:10 2014][Error][Kernel::System::CustomerUser::LDAP::_Connect][197] First bind failed! I/O Error Connection reset by peer
[Wed Jan 22 12:44:58 2014][Error][Kernel::System::CustomerAuth::LDAP::Auth][188] First bind failed! 00002028: LdapErr: DSID-0C0901FC, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v1db1
[Wed Jan 22 12:44:58 2014][Error][Kernel::System::CustomerUser::LDAP::_Connect][197] First bind failed! 00002028: LdapErr: DSID-0C0901FC, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v1db1
[Wed Jan 22 12:45:15 2014][Error][Kernel::System::Auth::LDAP::Auth][182] First bind failed! 00002028: LdapErr: DSID-0C0901FC, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v1db1
[Wed Jan 22 12:45:15 2014][Error][Kernel::System::User::UserLookup][834] No UserID found for 'XXX@meine.domäne'!
Muss ich vllt irgendetwas an dem DC einstellen?
Der User otrs ist nun sogar DomAdmin (Testweise! Um sicher zu stellen, dass es nicht an fehlenden Rechten liegt).
Ich habe beide Verbindungen getestet, mit LDAP-S -> Port 636 und LDAP -> Port 389...
Muss ich vllt. noch irgendwo anders konfigurieren, dass die Authentifizierung via LDAP stattfinden soll?
Und kann mir vllt. jemand eine funktionierende Config.pm mit LDAP-Anbindung zukommen lassen?!
Danke für eure Geduld!
Best regards,
Manu