Author: Lars Michelsen <[email protected]>
Date: Thu Nov 15 11:47:58 2012 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu Nov 15 11:47:58 2012 +0100
Added new logon module CoreLogonModMultisite121 to support the
new cookie format of Check_MK 1.2.1i2 and newer
---
ChangeLog | 4 ++++
etc/nagvis.ini.php-sample | 9 +++++++++
share/server/core/classes/GlobalMainCfg.php | 8 ++++++++
3 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5a54c89..6b956f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
1.7.4
+Core:
+ * Added new logon module CoreLogonMultisite121 to support the
+ new cookie format of Check_MK 1.2.1i2 and newer
+
Frontend:
* Hiding HTTP status error messages automatically on next successful request
diff --git a/etc/nagvis.ini.php-sample b/etc/nagvis.ini.php-sample
index f713305..e5fc271 100644
--- a/etc/nagvis.ini.php-sample
+++ b/etc/nagvis.ini.php-sample
@@ -114,6 +114,15 @@
; logon_multisite_secret="/path/to/auth.secret"
; logon_multisite_createuser="1"
; logon_multisite_createrole="Guests"
+;
+; LogonMultisite121: This module uses the authentication provided by auth_*
cookies
+; which have been generated by Check_MK multisite 1.2.1i2 or newer when
using the
+; cookie based authentication. Special options for this module:
+;
+; logon_multisite_profiles="/path/to/multisite/user/profiles"
+; logon_multisite_secret="/path/to/auth.secret"
+; logon_multisite_createuser="1"
+; logon_multisite_createrole="Guests"
;
;
;logonmodule="LogonMixed"
diff --git a/share/server/core/classes/GlobalMainCfg.php
b/share/server/core/classes/GlobalMainCfg.php
index 159a4dc..b942abe 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -185,6 +185,14 @@ class GlobalMainCfg {
'depends_value' => 'LogonMultisite',
'match' => MATCH_STRING_PATH,
),
+ 'logon_multisite_profiles' => Array(
+ 'must' => 0,
+ 'editable' => 1,
+ 'default' => '',
+ 'depends_on' => 'logonmodule',
+ 'depends_value' => 'LogonMultisite121',
+ 'match' => MATCH_STRING_PATH,
+ ),
'logon_multisite_secret' => Array(
'must' => 0,
'editable' => 1,
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins