How often AD Sync occured?

Moderator: crythias

Locked
dspl
Znuny newbie
Posts: 7
Joined: 13 Apr 2012, 02:39
Znuny Version: 3.1.1

How often AD Sync occured?

Post by dspl »

Hi all,

I have an inquiry. I have manage to configure customers to sync to AD and it is working correctly. However, when I create a new customer in AD, how long does it take for OTRS to pick up the newly created customer (in AD) and create in OTRS?

And also, if an ID is deleted in AD, does the deletion auto updated in OTRS?

Regards
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How often AD Sync occured?

Post by jojo »

OTRS will use the data in realtime or it will use a local cache (CacheTTL) for responses. No data will be copied to OTRS
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dspl
Znuny newbie
Posts: 7
Joined: 13 Apr 2012, 02:39
Znuny Version: 3.1.1

Re: How often AD Sync occured?

Post by dspl »

Hi Jojo,

Thanks for the info.

To clarify, I have sync (and see the list of) customer in OTRS's customer tab. If I then create a new ID in AD, i wont be able to view them in OTRS's customer tab (and I'll need to manually create the new ID in OTRS)?

Regards
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How often AD Sync occured?

Post by jojo »

check the cache settings
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dspl
Znuny newbie
Posts: 7
Joined: 13 Apr 2012, 02:39
Znuny Version: 3.1.1

Re: How often AD Sync occured?

Post by dspl »

Sorry Jojo, but I'm abit new in this. How do i check the cache?
edit: is it the GenericInterface -> Core::Cache in SysConfig (which is set to 3600sec as default)?

edit2: in another note, I have tested to delete an account in AD and my OTRS still show the customer as active (and I can login as that cutomer) even after 2 hour has passed. Any advice?


thanks
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How often AD Sync occured?

Post by jojo »

Please post your Config.pm

Caches are deleted via bin/otrs.DeleteCache.pl
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dspl
Znuny newbie
Posts: 7
Joined: 13 Apr 2012, 02:39
Znuny Version: 3.1.1

Re: How often AD Sync occured?

Post by dspl »

Hi Jojo,

Kindly find the attached file as requested.

Edit: now (after 3 hour), the deleted test ID is deleted from OTRS. so maybe i'm looking at the wrong sysconfig parameter (Core::Cache)?

Regards
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How often AD Sync occured?

Post by jojo »

you need to set a CacheTTL in the $Self->{CustomerUser} section of Config.pm (have a look at Defaults.pm for an example)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dspl
Znuny newbie
Posts: 7
Joined: 13 Apr 2012, 02:39
Znuny Version: 3.1.1

Re: How often AD Sync occured?

Post by dspl »

Hi Jojo,

Thanks for the info. I'll update my config file (as attached) and try again.

Regards
You do not have the required permissions to view the files attached to this post.
Locked