Thanks for the confirmation, Gerald.  I looked more closely and found my
issue.  Apparently you append the numbers at different places for the
sub-settings (see the "4"s below).

Here is a working example:

    #    Built-in DB (OTRS users) authentication for agents.
    #    Number should be lower than AD so as to eliminate spurious LDAP
logons.
    $Self->{'AuthModule1'} = 'Kernel::System::Auth::DB';

    #    LDAP authentication for Agents
    $Self->{'AuthModule4'} = 'Kernel::System::Auth::LDAP';
    $Self->{'AuthModule::LDAP::Host4'} = $ldapHost;
    $Self->{'AuthModule::LDAP::BaseDN4'} = $baseDN;
    $Self->{'AuthModule::LDAP::UID4'} = $uidAttr;
    $Self->{'AuthModule::LDAP::SearchUserDN4'} = $searchUserDN;
    $Self->{'AuthModule::LDAP::SearchUserPw4'} = $searchUserPwd;
    $Self->{'AuthModule::LDAP::AlwaysFilter4'} = $agentFilter;

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

    #  No changes needed for the sync
    # Auto-sync LDAP users to the agent list in OTRS (so that user IDs don't
need to be predefined)
    $Self->{'AuthSyncModule'} =
'Kernel::System::Auth::Sync::ActiveDirectory'; # Use a customized module for
better AD integration (nested groups)
    $Self->{'AuthSyncModule::LDAP::Host'} = $ldapHost;
    $Self->{'AuthSyncModule::LDAP::BaseDN'} = $baseDN;
    $Self->{'AuthSyncModule::LDAP::UID'} =  $uidAttr;
    $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = $searchUserDN;
    $Self->{'AuthSyncModule::LDAP::SearchUserPw'} = $searchUserPwd;
    $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
        # DB -> LDAP
        UserFirstname => 'givenName',
        UserLastname  => 'sn',
        UserEmail     => 'mail',
    };

Hugh


On Wed, Apr 6, 2011 at 2:42 AM, Gerald Young <cryth...@gmail.com> wrote:

> Yes, it's the same idea. Append an identical index from 1-9 to  each major
> entry that applies to the second or third auth methods.
> On Apr 5, 2011 4:27 PM, "Hugh Kelley" <hugh.kel...@gmail.com> wrote:
> > Can the agent auth system support the same multi-source design that
> > the customer auth does?
> >
> > If so, could someone kindly point me to a config sample online?
> >
> > Hugh
> >
> > --
> > Sent from my mobile device
> > ---------------------------------------------------------------------
> > 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
>
---------------------------------------------------------------------
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