Comments (6)
It seems that there is not option to disable a user.
https://www.zabbix.com/documentation/4.2/manual/api/reference/user/object
Depending on the auth mechanism it might be an option to rename a user or to change the password. Do you have ideas how to achieve this?
from zabbix-ldap-sync.
My thoughts on this would be to move them to the 'Disabled' group, and remove all other groups from the user.
from zabbix-ldap-sync.
Seems to bee a good idea. Do you want to try to implement this?
Pull requests are very welcome :-)
Add a property named "disabled_group" - if its defined and the user was not part of the search results anymore, you can add the user to the name defined in that property.
from zabbix-ldap-sync.
Hi, I implemented this. See my Pull request
from zabbix-ldap-sync.
Awesome! I will review and test this in the next days: #33
from zabbix-ldap-sync.
Implemented and merged.
Many thanks @vryzhevsky! :-)
from zabbix-ldap-sync.
Related Issues (20)
- Not able to delete users HOT 3
- hardcoded .lower() for usernames in zabbixconn.py HOT 1
- Script adds users to random group HOT 1
- [Feature] Add role lookups HOT 1
- --deleteorphans does not work without alldirusergroup HOT 5
- wildcard groups and zabbix 4.4 HOT 5
- Multiple media HOT 1
- Issue with Zabbix 6.0 HOT 3
- zabbix version check problem HOT 1
- zabbix version value (ValueError) HOT 1
- requests.exceptions.SSLError HOT 5
- problem with zabbix 4.0,4.4 - script tries to use role instead type HOT 2
- Exception: Ambiguous media 'Email' found, 7 different medias HOT 5
- Correct LDAP Credentials and Validated but getting error ldap.INVALID_CREDENTIALS HOT 1
- Not working with zabbix 6.0 HOT 6
- Unable to delete users from group if 'alldirusergroup' option isn't set. HOT 2
- KeyError during update of media
- Problem with Zabbix 6.4 HOT 1
- Add option to trim full DN HOT 1
- Debian packaging: new release expected soon? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-ldap-sync.