packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/starthere.php
--- a/packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/starthere.php Tue Jan 08 23:21:25 2013 -0500
+++ b/packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/starthere.php Fri Jan 11 00:32:54 2013 -0500
@@ -15,8 +15,12 @@
require_once(ACCOUNTS . 'includes/ldap.php');
require_once(ACCOUNTS . 'includes/kadm5.php');
require_once(ACCOUNTS . 'includes/users.php');
+require_once(ACCOUNTS . 'includes/smtp.php');
session_start();
+$adm = !empty($_SERVER['REMOTE_USER']) && ldap_test_group_membership($_SERVER['REMOTE_USER'], 'rtp');
+define('IS_ADMIN', $adm);
+
if ( !isset($_SESSION['messages']) )
$_SESSION['messages'] = array();