I accomplished this by adding a second customer DB configuration (though it
was pointing to the same Active Directory).  I just needed to change the Map
slightly from my "primary" customers.


    #CustomerUser2 Configuration
    #    Customers without valid logins - used to provide Mail To
functionality for vendors and other external recipients

        $Self->{CustomerUser2} = {
            Name => 'Exchange Mail Contacts',
            Module => 'Kernel::System::CustomerUser::LDAP',
            Params => {
            Host => $ldapHost,
            BaseDN => $baseDN,
            SSCOPE => 'sub',
            UserDN =>$searchUserDN,
            UserPw => $searchUserPwd,
        },

        # Unique customer key/id
        CustomerKey => 'mail',
        CustomerID => 'mail',
        CustomerUserListFields => ['cn', 'mail'],
        CustomerUserSearchFields => ['cn', 'mail'],
        CustomerUserSearchPrefix => '',
        CustomerUserSearchSuffix => '*',
        CustomerUserSearchListLimit => 250,
        CustomerUserPostMasterSearchFields => ['mail'],
        CustomerUserNameFields => ['givenname', 'sn'],
        Map => [
                # note: Login, Email and CustomerID needed!
                # var, frontend, storage, shown, required, storage-type
                #[ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
                [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],
                [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
                [ 'UserLogin', 'Login', 'mail', 1, 1, 'var' ],
                [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
                [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
                [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
            ],
        };


On Mon, Dec 6, 2010 at 5:36 PM, Hugh Kelley <[email protected]> wrote:

> We have some contact (mail recipient) objects in our directory for external
> people (vendors).
>
> Is there any way to allow these to be shown in the AJAX lookup for ticket
> forwarding (do not treat them as full customers, but do "suggest" them as
> email recipients)?
>
> Hugh
>
---------------------------------------------------------------------
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