Hello Markus,

Thanks for your help.
I try this solution and it works fine. But now when I go in

Markus Nagel a écrit :
Hello Guillaume,
I got the same issue and found somewhere in the mailinglist a solution,
which works quiet well now.

In Config.pm, define an array like this:
my @ldaphosts = ( 'dc1.domain.local', 'dc2.domain.local',
'dc3.domain.local');

Now, evrywhere where an entry for Host is necessary, use this variable, i.e.
# CustomerUser
# (customer user ldap backend and settings)
    $Self->{CustomerUser1} = {
        Name => 'LDAP Backend',
        Module => 'Kernel::System::CustomerUser::LDAP',
        Params => {
            # ldap host
            Host => \...@ldaphosts,

# AgentAuth
    $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
    $Self->{'AuthModule::LDAP::Host'} = \...@ldaphosts;

# CustomerAuth
    $Self->{'Customer::AuthModule::LDAP::Host'} = \...@ldaphosts;

Hope this helps

Greetings

Markus Nagel


Guillaume Rehm schrieb:
Hi list,

Is it possible to define in OTRS more than one ldap server to prevent
server off-line ?

I try to put a perl array in config.pm file for ldap host but this
doesn't work correctly. If the first element of the array doesn't
respond, OTRS say: can't connect to first element host and don't try to
connect to the second !

Do you have a solution ?

Thanks in advance.

--
Guillaume REHM
Centre de Ressources Informatiques
Responsable Sécurité du Système d'Information (RSSI)

Bibliothèque Nationale et Universitaire de Strasbourg
5 rue du Maréchal Joffre
BP 51029
67070 Strasbourg

tél: 03 88 25 28 23
fax: 03 88 25 28 03
mail: guillaume.r...@bnu.fr
web: http://www.bnu.fr


------------------------------------------------------------------------

_______________________________________________
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

_______________________________________________
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

--
Guillaume REHM
Centre de Ressources Informatiques
Responsable Sécurité du Système d'Information (RSSI)

Bibliothèque Nationale et Universitaire de Strasbourg
5 rue du Maréchal Joffre
BP 51029
67070 Strasbourg

tél: 03 88 25 28 23
fax: 03 88 25 28 03
mail: guillaume.r...@bnu.fr
web: http://www.bnu.fr

_______________________________________________
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

Reply via email to