Autenticacion LDAP

Locked
RODOLFO
Znuny newbie
Posts: 2
Joined: 20 Nov 2013, 00:23
Znuny Version: otrs-3.3.1

Autenticacion LDAP

Post by RODOLFO »

Hola alguien me puede colaborar con la autenticación LDAP

el escenario es el siguiente

en el servidor 1 tengo un controlador de dominio en Windows server 2003

en el servidor 2 instale el OTRS 3.3.1
y he modificado el archivo config.pm adicionando las siguientes líneas pero no me funciona

$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host1'} = 'XXXXXXXXX';
$Self->{'AuthModule::LDAP::BaseDN1'} = 'dc=XXXXXXX,dc=com,dc=co';
$Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';

$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'CN=OTRS SEARCH,CN=Users,DC=XXXXXXXX,DC=com,DC=co';
$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'XXXXXXX0';

$Self->{'AuthModule::LDAP::Params1'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};

$Self->{'AuthSyncModule1'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host1'} = 'XXXXXXX';
$Self->{'AuthSyncModule::LDAP::BaseDN1'} = 'dc=XXXXXX,dc=com,dc=co';
$Self->{'AuthSyncModule::LDAP::UID1'} = 'sAMAccountName';

$Self->{'AuthSyncModule::LDAP::SearchUserDN1'} = 'CN=OTRS SEARCH,CN=Users,DC=XXXXXX,DC=com,DC=co';
$Self->{'AuthSyncModule::LDAP::SearchUserPw1'} = 'XXXXXX';

$Self->{'AuthSyncModule::LDAP::UserSyncMap1'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
carlosgallego
Znuny expert
Posts: 241
Joined: 17 Nov 2011, 18:17
Znuny Version: 2.4-3.0-3.1-3.2- 3.3
Real Name: Carlos Gallego
Location: Medellin, Colombia

Re: Autenticacion LDAP

Post by carlosgallego »

Revisa que las rutas del DN esten correctas.

Adicional no olvides instalar el paquete perl-ldap este es necesario para que funcione. Igual puedes realizar pruebas con el comando ldapsearch para revisar que la ruta que pones y los accesos que tienen sean correctos.

Saludos.

Carlos.
OTRS 2.4.7 > 3.3 Ubuntu Server - Centos - RedHat, MySQL - PostgresSQL OracleDB
RODOLFO
Znuny newbie
Posts: 2
Joined: 20 Nov 2013, 00:23
Znuny Version: otrs-3.3.1

Re: Autenticacion LDAP

Post by RODOLFO »

listo funciono bien, revisando el log investigue en internet y había que borrar un archivo de la rutais

[OTRS]\StrawberryPerl\perl\vendor\lib\IO\Socket\INET6.pm.

y funciono.

lo anterior estaba bien.

muchas gracias
carlosgallego
Znuny expert
Posts: 241
Joined: 17 Nov 2011, 18:17
Znuny Version: 2.4-3.0-3.1-3.2- 3.3
Real Name: Carlos Gallego
Location: Medellin, Colombia

Re: Autenticacion LDAP

Post by carlosgallego »

Por favor marca el post como solucionado.

En linux no habia experimentado ese error. quien sabe que otras diferencias tenga al momento de instalarse la aplicación.

Saludos.
OTRS 2.4.7 > 3.3 Ubuntu Server - Centos - RedHat, MySQL - PostgresSQL OracleDB
Locked