Customer LDAP Sync only after receiving mail

Moderator: crythias

Post Reply
pmepereira
Znuny newbie
Posts: 7
Joined: 15 Feb 2018, 16:52
Znuny Version: OTRS 6 Patch Level 5
Real Name: Pedro Pereira

Customer LDAP Sync only after receiving mail

Post by pmepereira »

Hi guys,

I'm just wondering,

Is it possoble to do an LDAP Sync just for the users that have already sent an email ticket?
Right now, any user that matches my filter is automatically imported. I now have 50+ customers, and only 5 of them have tickets (accounts user for testing).
I'm trying to avoid dumping 70K users into my OTRS installation...

I managed to do this for agents with the default LDAP configuration: When an agent logs in and it still doesn't exit in OTRS, an LDAP search is performed to find relevant information and the agent is created.

desired workflow for customers:

A user sends an email.
If the user does not exist as a Customer User in OTRS, do a LDAP search to retrieve data.
If a user already exists, update LDAP info on OTRS.
No user is imported if there is no need to.


Thanks

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

Re: Customer LDAP Sync only after receiving mail

Post by jojo »

customers are not synced to the OTRS database. OTRS directly uses the LDAP as read only datasource
"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
pmepereira
Znuny newbie
Posts: 7
Joined: 15 Feb 2018, 16:52
Znuny Version: OTRS 6 Patch Level 5
Real Name: Pedro Pereira

Re: Customer LDAP Sync only after receiving mail

Post by pmepereira »

So... the lis that appears on OTRS in Customer Users is only a LDAP query result, not an internal DB query? Tha data is not copied to the OTRS DB at all??

Well, that solves my problem... :D

Thanks!
Post Reply