Hi there
I'm using Zabbix since about 6 months for monitoring 140 Linux and Solaris Servers. Except for some problems with passive proxies it worked great. As 10.8.5 resolved some proxy related issues I upgraded the server, webgui and all proxies yesterday.
Since then all users logging in on the webgui get redirected to jsrpc.php. This happens only once, so when the user corrects the url (removes jsrpc.php) he gets the "welcome to zabbix" screen and everything works until the next login.
Does anyone else have this problem?
There is a small patch applied to index.php to allow negotiate authentication:
Thanks for this great piece of software!
I'm using Zabbix since about 6 months for monitoring 140 Linux and Solaris Servers. Except for some problems with passive proxies it worked great. As 10.8.5 resolved some proxy related issues I upgraded the server, webgui and all proxies yesterday.
Since then all users logging in on the webgui get redirected to jsrpc.php. This happens only once, so when the user corrects the url (removes jsrpc.php) he gets the "welcome to zabbix" screen and everything works until the next login.
Does anyone else have this problem?
There is a small patch applied to index.php to allow negotiate authentication:
Code:
--- /home/xxxx/src/zabbix-1.8.5/frontends/php/index.php 2011-04-15 21:17:31.000000000 +0200
+++ index.php 2011-04-18 09:55:29.000000000 +0200
@@ -65,6 +65,14 @@
$_REQUEST['name'] = $_SERVER['PHP_AUTH_USER'];
$_REQUEST['password'] = 'zabbix';//$_SERVER['PHP_AUTH_PW'];
}
+// BEGIN added by xxxx
+ elseif(isset($_SERVER['AUTH_TYPE']) && $_SERVER['AUTH_TYPE']=='Negotiate'){
+ if(!isset($sessionid)) $_REQUEST['enter'] = 'Enter';
+ $user_parts = explode('@',$_SERVER['REMOTE_USER']);
+ $_REQUEST['name'] = strtoupper($user_parts[0]);
+ $_REQUEST['password'] = 'zabbix';//$_SERVER["PHP_AUTH_PW"];
+ }
+// END added by xxxx
else{
access_deny();
}
@@ -128,4 +136,4 @@
include_once('include/page_footer.php');
-?>
\ No newline at end of file
+?>
Comment