There's a sample in scripts/tools/sync-ldap2db.pl

On Tue, Oct 1, 2013 at 8:15 AM, Bogdan Iosif <bogdan.io...@gmail.com> wrote:

> Thanks but I meant the "simple Perl script to do this synchronization LDAP
> -> DB"
>
>
> On Tue, Oct 1, 2013 at 3:05 PM, Gerald Young <cryth...@gmail.com> wrote:
>
>> http://forums.otterhub.org/viewtopic.php?f=60&t=19936
>>
>>
>> On Tue, Oct 1, 2013 at 5:21 AM, Bogdan Iosif <bogdan.io...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> If you want, please share it.
>>>
>>> Thanks,
>>> Bogdan
>>>
>>>
>>> On Tue, Oct 1, 2013 at 12:18 PM, Olivier Macchioni <
>>> olivier.macchi...@wingo.ch> wrote:
>>>
>>>> Thank you Gerald,
>>>>
>>>> For what it's worth, I've implemented a simple Perl script to do this
>>>> synchronization LDAP -> DB.
>>>>
>>>> Olivier
>>>>
>>>>
>>>> On Sep 23, 2013, at 17:33, Gerald Young wrote:
>>>>
>>>> AuthSync doesn't handle additional fields.
>>>>
>>>>
>>>> On Mon, Sep 23, 2013 at 11:18 AM, Olivier Macchioni <
>>>> olivier.macchi...@wingo.ch> wrote:
>>>>
>>>>> Hello dear list,
>>>>>
>>>>> I'm using an LDAP integration for the AuthSyncModule
>>>>>
>>>>> For reporting reasons, I'd like to add one more information in OTRS -
>>>>> the Agent's "departmentNumber", which is of course stored in LDAP.
>>>>>
>>>>> I tried adding it to AuthSyncModule::LDAP::UserSyncMap:
>>>>>
>>>>>     $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
>>>>>         # DB -> LDAP
>>>>>         UserFirstname => 'givenName',
>>>>>         UserLastname  => 'sn',
>>>>>         UserEmail     => 'mail',
>>>>>         UserGroup     => 'departmentNumber',
>>>>>     };
>>>>>
>>>>> But this field is not synchronized (I somehow expected it to show up
>>>>> in user_preferences).
>>>>>
>>>>> What's the recommended way to do this?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Olivier
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
---------------------------------------------------------------------
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