phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/accounts class.accounts_.inc.php, 1.3


From: fipsfuchs
Subject: [Phpgroupware-cvs] phpgwapi/inc/accounts class.accounts_.inc.php, 1.3
Date: Fri, 8 Apr 2005 10:55:00 +0200

Update of phpgwapi/inc/accounts

Modified Files:
     Branch: MAIN
            class.accounts_.inc.php lines: +55 -1

Log Message:
configuration added to this class

====================================================
Index: phpgwapi/inc/accounts/class.accounts_.inc.php
diff -u phpgwapi/inc/accounts/class.accounts_.inc.php:1.2 
phpgwapi/inc/accounts/class.accounts_.inc.php:1.3
--- phpgwapi/inc/accounts/class.accounts_.inc.php:1.2   Thu Dec 30 06:47:32 2004
+++ phpgwapi/inc/accounts/class.accounts_.inc.php       Fri Apr  8 08:55:56 2005
@@ -3,12 +3,66 @@
        * Shared functions for other account repository managers and loader
        * @author Joseph Engo <address@hidden>
        * @author Bettina Gille <address@hidden>
+       * @author Philipp Kamps <address@hidden>
        * @copyright Copyright (C) 2000-2004 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage accounts
        * @version $Id$
        */
+       if (empty($GLOBALS['phpgw_info']['server']['account_repository']))
+       {
+               if (!empty($GLOBALS['phpgw_info']['server']['auth_type']))
+               {
+                       $GLOBALS['phpgw_info']['server']['account_repository'] 
= $GLOBALS['phpgw_info']['server']['auth_type'];
+               }
+               else
+               {
+                       $GLOBALS['phpgw_info']['server']['account_repository'] 
= 'sql';
+               }
+       }
+       /**
+       * Include child class
+       */
+
+       /**
+       * @internal Moved again at least temporarily since sql and ldap use it.
+       */
+       $GLOBALS['phpgw_info']['server']['global_denied_users'] = array(
+               'root'     => True, 'bin'      => True, 'daemon'   => True,
+               'adm'      => True, 'lp'       => True, 'sync'     => True,
+               'shutdown' => True, 'halt'     => True, 'ldap'     => True,
+               'mail'     => True, 'news'     => True, 'uucp'     => True,
+               'operator' => True, 'games'    => True, 'gopher'   => True,
+               'nobody'   => True, 'xfs'      => True, 'pgsql'    => True,
+               'mysql'    => True, 'postgres' => True, 'oracle'   => True,
+               'ftp'      => True, 'gdm'      => True, 'named'    => True,
+               'alias'    => True, 'web'      => True, 'sweep'    => True,
+               'cvs'      => True, 'qmaild'   => True, 'qmaill'   => True,
+               'qmaillog' => True, 'qmailp'   => True, 'qmailq'   => True,
+               'qmailr'   => True, 'qmails'   => True, 'rpc'      => True,
+               'rpcuser'  => True, 'amanda'   => True, 'apache'   => True,
+               'pvm'      => True, 'squid'    => True, 'ident'    => True,
+               'nscd'     => True, 'mailnull' => True, 'cyrus'    => True,
+               'backup'    => True
+       );
+
+       $GLOBALS['phpgw_info']['server']['global_denied_groups'] = array(
+               'root'      => True, 'bin'       => True, 'daemon'    => True,
+               'sys'       => True, 'adm'       => True, 'tty'       => True,
+               'disk'      => True, 'lp'        => True, 'mem'       => True,
+               'kmem'      => True, 'wheel'     => True, 'mail'      => True,
+               'uucp'      => True, 'man'       => True, 'games'     => True,
+               'dip'       => True, 'ftp'       => True, 'nobody'    => True,
+               'floppy'    => True, 'xfs'       => True, 'console'   => True,
+               'utmp'      => True, 'pppusers'  => True, 'popusers'  => True,
+               'slipusers' => True, 'slocate'   => True, 'mysql'     => True,
+               'dnstools'  => True, 'web'       => True, 'named'     => True,
+               'dba'       => True, 'oinstall'  => True, 'oracle'    => True,
+               'gdm'       => True, 'sweep'     => True, 'cvs'       => True,
+               'postgres'  => True, 'qmail'     => True, 'nofiles'   => True,
+               'ldap'      => True, 'backup'    => True
+       );

        /**
        * Class for handling user and group accounts






reply via email to

[Prev in Thread] Current Thread [Next in Thread]