Hi!
You can use the UserSyncMap Feature to achive just that, at least when you
have the data in your LDAP.
In your otrs\Kernel\Config.pm, you have configured the LDAP connection.
After That, just add the UserSyncMap, just like the following:

        $Self->{"AuthSyncModule1"} = 'Kernel::System::Auth::Sync::LDAP';
        $Self->{"AuthSyncModule::LDAP::Host1"} = [ '192.168.1.10' ];
        $Self->{"AuthSyncModule::LDAP::BaseDN1"} = "dc=example, dc=com";
        $Self->{'AuthSyncModule::LDAP::SearchUserDN1'} = '[email protected]';
        $Self->{'AuthSyncModule::LDAP::SearchUserPw1'} = 'securepw';
        $Self->{'AuthSyncModule::LDAP::UID1'} = "sAMAccountName";
        $Self->{'AuthSyncModule::LDAP::Die1'} = 1;
        $Self->{'AuthSyncModule::LDAP::AccessAttr1'} = "member";
        $Self->{'AuthSyncModule::LDAP::UserAttr1'} = "DN";
#       $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups1'} = [ 'users',
];
        $Self->{'AuthSyncModule::LDAP::UserSyncMap1'} = {
                UserFirstname  => [ 'givenName', 'initials', ],
                UserLastname   => [ 'sn' ],
                UserEmail      => [ 'mail' ],
                #UserSalutation => [ 'salutation' ],
                UserTitle      => [ 'title' ],
                UserPhone      => [ 'telephoneNumber' ],
                UserFax        => [ 'facsimileTelephoneNumber' ],
        };

Just adapt it to your needs!
HTH

Cheers
Phil.

--
It might be just possible, by lying very still in a cellar somewhere,
to get through a day without committing a crime. But only just. And,
even then, you were probably guilty of loitering.
- Terry Pratchett: Feet of clay.

GPG KEY ID (Philipp Bieber): 0x0185E301
FINGERPRINT: CA81 28C2 E63F DAF8 5ED4 DACB 7C26 EE5B 0185 E301
Philipp Bieber - [email protected]


2011/9/26 <[email protected]>

>
> Hello,
>
>         Thank you for the reply. I get them by LDAP from AD.
>
> Regards,
> *
> Paul Andurnache **
> *
>
>
>  *Rory <[email protected]>*
> Sent by: [email protected]
>
> 26.09.2011 12:05
>  Please respond to
> "User questions and discussions about OTRS." <[email protected]>
>
>   To
> "User questions and discussions about OTRS." <[email protected]>
> cc
>   Subject
> Re: [otrs] Add details to customer fields
>
>
>
>
> Hi Paul,
>
> What do you get your customer details from? LDAP or OTRS DB?
>
> Kind regards,
> Rory Clerkin
>
> On 26 September 2011 09:25, 
> <*[email protected]*<[email protected]>>
> wrote:
>
> Hello,
>
>        Is there a way to add the Phone Number of a customer into it`s
> details so it can be visible in the requests ?
>
> Regards,
> *
>
> Paul Andurnache *
>
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: *http://otrs.org/* <http://otrs.org/>
> Archive: 
> *http://lists.otrs.org/pipermail/otrs*<http://lists.otrs.org/pipermail/otrs>
> To unsubscribe: 
> *http://lists.otrs.org/cgi-bin/listinfo/otrs*<http://lists.otrs.org/cgi-bin/listinfo/otrs>
>
>
>
> Email secured by Check Point
> ---------------------------------------------------------------------
> 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