Sync department option from Active Direcotory

Moderator: crythias

Post Reply
michalv
Znuny newbie
Posts: 9
Joined: 21 May 2018, 13:33
Znuny Version: OTRSv6

Sync department option from Active Direcotory

Post by michalv »

Hello,

how can I sync Department from AD to OTRS to be able to use it in signature? I tried this:

$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
UserDepartment => 'department',
};

This one doesnt seem to be working. Can anybody help?
Thanks
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Sync department option from Active Direcotory

Post by wurzel »

Hi,

AFAIK this is not possible, because user table does not contain such column.
I never was able to sync more than the default.

Maybe we get some additional hints here... would be nice :)

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Sync department option from Active Direcotory

Post by root »

Hi,

Es werde nur UserMobile and UserEmail noch gespeichert. Wenn Du mehr willst müsste das hier die Stelle sein um anzusetzen: https://github.com/OTRS/otrs/blob/rel-6 ... er.pm#L582.

Bitte aber dazu den Customer/ Ordner nutzen ;-)

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
michalv
Znuny newbie
Posts: 9
Joined: 21 May 2018, 13:33
Znuny Version: OTRSv6

Re: Sync department option from Active Direcotory

Post by michalv »

Thank a lot for your help. It helps me a lot. Now im able to sync department from AD.

Admin please mark as solved
Post Reply