Module: check_mk
Branch: master
Commit: 72767f37df1f5d1997a7503a3c55232c4a75985f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=72767f37df1f5d…
Author: Sven Rueß <sr(a)mathias-kettner.de>
Date: Thu Jul 13 17:13:02 2017 +0200
Added information for nested group membership in LDAP help text
Change-Id: I1b6ac1fdfc6694d76fda8c20bc2c97ebb0020ccb
---
web/htdocs/wato.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index ec9f99d..a9b8fbb 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6383,7 +6383,9 @@ def vs_ldap_connection(new, connection_id):
"All user objects in LDAP:<br> "
"<tt>(&(objectclass=user)(objectcategory=person))</tt><br>
"
"Members of a group:<br> "
-
"<tt>(&(objectclass=user)(objectcategory=person)(memberof=CN=cmk-users,OU=groups,DC=example,DC=com))</tt><br>"),
+
"<tt>(&(objectclass=user)(objectcategory=person)(memberof=CN=cmk-users,OU=groups,DC=example,DC=com))</tt><br>
"
+ "Members of a nested group:<br> "
+
"<tt>(&(objectclass=user)(objectcategory=person)(memberof:1.2.840.113556.1.4.1941:=CN=cmk-users,OU=groups,DC=example,DC=com))</tt><br>"),
size = 80,
default_value = lambda: userdb.ldap_filter_of_connection(connection_id,
'users', False),
attrencode = True,