summaryrefslogtreecommitdiff
path: root/conf/templates/session_vars.php.template.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/templates/session_vars.php.template.in')
-rw-r--r--conf/templates/session_vars.php.template.in78
1 files changed, 0 insertions, 78 deletions
diff --git a/conf/templates/session_vars.php.template.in b/conf/templates/session_vars.php.template.in
deleted file mode 100644
index 7b45161..0000000
--- a/conf/templates/session_vars.php.template.in
+++ /dev/null
@@ -1,78 +0,0 @@
-KOLAB_META_START
-TARGET=@sysconfdir@/kolab/session_vars.php
-PERMISSIONS=0640
-OWNERSHIP=@webserver_musr@:@kolab_grp@
-KOLAB_META_END
-<?php
-@@@warning@@@
-
-/*
-# (c) 2005 Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
-# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
-# (c) 2003 Martin Konold <martin.konold@erfrakon.de>
-# This program is Free Software under the GNU General Public License (>=v2).
-# Read the file COPYING that comes with this packages for details.
-
-*/
-
-/*
- * Session variables fetched from LDAP
- *
- * TODO(steffen): Make those variables non-session variables.
- * We dont really need to store those in the session,
- * since we source this file on every invokation anyway.
- */
-
-@session_start();
-
-$_SESSION['fqdnhostname'] = "@@@fqdnhostname@@@";
-$_SESSION['ldap_master_uri'] = "@@@ldap_master_uri@@@";
-$_SESSION['base_dn'] = "@@@base_dn@@@";
-$_SESSION['php_dn'] = "@@@php_dn@@@";
-$_SESSION['php_pw'] = "@@@php_pw@@@";
-
-
-/***********************************************************************
- * Global config
- */
-
-$params = array();
-
-/*
- * Which user classes can log in to the webgui?
- * Currently 4 user classes exist: user, admin, maintainer and manager
- */
-$params['allow_user_classes'] = array( 'user', 'admin', 'maintainer', 'manager', 'domain-maintainer' );
-
-/*
- * Array to configure visibility/access of LDAP attributes to user's account object
- *
- * Possible values for attribute is
- *
- * 'ro' (readonly)
- * 'rw' (read/write)
- * 'hidden' (atribute removed from display)
- * 'mandatory' (read/write and must not be empty)
- *
- * If an attribute is not in this array, it defaults to 'rw'
- *
- * Note, attributes correspond to form attribute names and not LDAP attribute names.
- *
- * TODO(steffen): Make form and LDAP attributes the same.
- */
-
-$params['attribute_access'] = array(
- /*
- // Examples
- 'firstname' => 'ro',
- 'lastname' => 'ro',
- 'password' => 'rw',
- 'mail' => 'ro',
- 'uid' => 'ro',
- 'title' => 'ro',
- 'roomNumber' => 'mandatory',
- 'kolabdelegate' => 'ro',
- 'telephoneNumber' => 'hidden'
- */
-);
-?>