Module: check_mk
Branch: master
Commit: 02fbf76f6e5446709d1a7360fcb15ea3afb2668c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=02fbf76f6e5446…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Oct 13 09:49:06 2015 +0200
#2678 LDAP: New sync plugin: Groups to custom user attributes
The new LDAP sync plugin can be used to set custom user attributes
based on the group memberships in LDAP.
This plugin can be used to set custom user attributes to specified values
for all users which are member of a group in LDAP.
If a user is not a member of a group, the attribute will be left at it's
default value. When a single attribute is set by multiple groups and a
user is member of multiple of these groups, the later plugin in the list
will override the others.
---
.werks/2678 | 18 ++++
ChangeLog | 1 +
web/plugins/userdb/ldap.py | 204 +++++++++++++++++++++++++++++++++++---------
3 files changed, 181 insertions(+), 42 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=02fbf76f6e…