myOmikron / mailcow-ldap-sync

26 stars 2 forks source link

Add Option to only update a specific user #9

Closed theoneandonly-vector closed 2 years ago

theoneandonly-vector commented 2 years ago

I would love to sync only a specific user when defined wiht a parameter

myOmikron commented 2 years ago

How to want to provide this "filter"?

There are several ways this could be archived:

theoneandonly-vector commented 2 years ago

something like the 2nd option would be great. so I can easily pass my user with a variable from outside

theoneandonly-vector commented 2 years ago

hey there..

I just tried the user_filter method..

but it just deletes all the non-matching users.. so only the user which matches will be kept.. what can I do to only UPDATE this one user but keep all the others..