Estoy realizando la integración con LDAP según el How-To viewtopic.php?f=84&t=16745
Sin embargo, al intentar realizar el acceso me sale el mensaje "Panic, user authenticated but no user data can be found in OTRS DB!! Perhaps the user is invalid."
Al revisar el log del sistema, tengo lo siguiente:
4. Thu Apr 11 10:14:03 2013 error OTRS-CGI-10 No UserID found for 'rfernandez'!
3. Thu Apr 11 10:14:03 2013 error OTRS-CGI-10 No UserID found for 'rfernandez'!
2. Thu Apr 11 10:14:03 2013 error OTRS-CGI-10 Search failed! (DC=epex,DC=com) filter='(sAMAccountName=rfernandez)' 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1
1. Thu Apr 11 10:14:03 2013 notice OTRS-CGI-10 User: rfernandez (CN=Fernandez\, Ricardo,OU=SoporteTecnico,OU=Sistemas,OU=YYY,DC=epex,DC=com) authentication ok (REMOTE_ADDR: ::1)
Al parecer en 1 si encuentra el usuario, pero tengo ese problema.
El código es el siguiente:
Code: Select all
$Self->{AuthModule} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'x.x.x.x';
$Self->{'AuthModule::LDAP::BaseDN'} = 'DC=epex,DC=com';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=Soporte,OU=CuentasServicio,OU=Unidades Diversas,OU=YYY,DC=epex,DC=com';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'secret';
$Self->{'AuthModule::LDAP::GroupDN'} = 'CN=SistemasSoporte,OU=SoporteTecnico,OU=Sistemas,OU=YYY,DC=epex,DC=com';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
$Self->{AuthSyncModule} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'x.x.x.x';
$Self->{'AuthModule::LDAP::BaseDN'} = 'DC=epex,DC=com';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=Soporte,OU=CuentasServicio,OU=Unidades Diversas,OU=YYY,DC=epex,DC=com';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'secret';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
'users',
];
Gracias