Single Sign On with Groundwork

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
almlanonan
Posts: 1
Joined: Mon Jul 23, 2007 3:40 am

Single Sign On with Groundwork

Post by almlanonan »

Hi,
I try integrating Cacti in Groundwork with Guava using Wrappit and modified the httpd.conf but when I click on Cacti button of Guava toolbar the system not access directly to the application but show the login page.

My cacti.inc.php is :

<?php
class cactiView extends GuavaApplication {
private $iframe;
private $baseURL;
private $initialURL;

function __construct() {
global $guava;
parent::__construct("cacti");

// WHAT'S THE BASE URL
$this->baseURL = "/cacti/";

// WHAT'S THE INITIAL URL TO VIEW
$this->initialURL = "index.php";

$this->addMenuItem("Menu", "/cacti/");


$guava->SSO_createAuthTicket("cacti_auth_tkt", $this->baseURL, $_SESSION['username']);

}

public function menuCommand($command) {
$this->iframe->setSrc($this->baseURL . $command);
}

public function init() {
$this->iframe = new IFrame($this->baseURL . $this->initialURL);

}

public function close() {
if(isset($this->iframe)) {
$this->iframe->unregister();
$this->iframe = null;
}
}

function Draw() {
$this->iframe->Draw();
}
}
?>

and httpd.conf:

Alias /cacti/ "/usr/local/groundwork/apache2/htdocs/cacti/"
<Directory "/usr/local/groundwork/apache2/htdocs/cacti">
AuthType Basic
require valid-user
TKTAuthLoginURL http://172.16.221.128/monitor/index.php
TKTAuthCookieName cacti_auth_tkt
TKTAuthTimeout 0
</Directory>

Where I wrong ? Thanks in advance for help
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

We don't do GWOM here. You have to open a ticket with them.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests