mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-29 17:28:36 +01:00
Move global_denied_users list into accounts class, sql is an empty array
This commit is contained in:
parent
542bb68597
commit
6b154b447e
@ -31,6 +31,34 @@
|
|||||||
var $data;
|
var $data;
|
||||||
var $memberships = Array();
|
var $memberships = Array();
|
||||||
var $members;
|
var $members;
|
||||||
|
// Dont know where to put this (seek3r)
|
||||||
|
// This is where it belongs (jengo)
|
||||||
|
// This is where it ended up (milosch)
|
||||||
|
/* Since LDAP will return system accounts, there are a few we don't want to login. */
|
||||||
|
$phpgw_info["server"]["global_denied_users"] = array(
|
||||||
|
'root' => True,
|
||||||
|
'bin' => True,
|
||||||
|
'daemon' => True,
|
||||||
|
'adm' => True,
|
||||||
|
'lp' => True,
|
||||||
|
'sync' => True,
|
||||||
|
'shutdown' => True,
|
||||||
|
'halt' => True,
|
||||||
|
'mail' => True,
|
||||||
|
'news' => True,
|
||||||
|
'uucp' => True,
|
||||||
|
'operator' => True,
|
||||||
|
'games' => True,
|
||||||
|
'gopher' => True,
|
||||||
|
'nobody' => True,
|
||||||
|
'xfs' => True,
|
||||||
|
'pgsql' => True,
|
||||||
|
'mysql' => True,
|
||||||
|
'postgres' => True,
|
||||||
|
'ftp' => True,
|
||||||
|
'gdm' => True,
|
||||||
|
'named' => True
|
||||||
|
);
|
||||||
|
|
||||||
function accounts_()
|
function accounts_()
|
||||||
{
|
{
|
||||||
|
@ -32,6 +32,13 @@
|
|||||||
var $memberships;
|
var $memberships;
|
||||||
var $members;
|
var $members;
|
||||||
|
|
||||||
|
// Dont know where to put this (seek3r)
|
||||||
|
// This is where it belongs (jengo)
|
||||||
|
// This is where it ended up (milosch)
|
||||||
|
/* Since LDAP will return system accounts, there are a few we don't want to login. */
|
||||||
|
// it is here as an empty array to avoid some errors, hopefully
|
||||||
|
$phpgw_info["server"]["global_denied_users"] = array();
|
||||||
|
|
||||||
function accounts()
|
function accounts()
|
||||||
{
|
{
|
||||||
global $phpgw;
|
global $phpgw;
|
||||||
|
@ -163,33 +163,6 @@
|
|||||||
|
|
||||||
print_debug('domain: '.$phpgw_info["user"]["domain"]);
|
print_debug('domain: '.$phpgw_info["user"]["domain"]);
|
||||||
|
|
||||||
// Dont know where to put this (seek3r)
|
|
||||||
// This is where it belongs (jengo)
|
|
||||||
/* Since LDAP will return system accounts, there are a few we don't want to login. */
|
|
||||||
$phpgw_info["server"]["global_denied_users"] = array('root' => True,
|
|
||||||
'bin' => True,
|
|
||||||
'daemon' => True,
|
|
||||||
'adm' => True,
|
|
||||||
'lp' => True,
|
|
||||||
'sync' => True,
|
|
||||||
'shutdown' => True,
|
|
||||||
'halt' => True,
|
|
||||||
'mail' => True,
|
|
||||||
'news' => True,
|
|
||||||
'uucp' => True,
|
|
||||||
'operator' => True,
|
|
||||||
'games' => True,
|
|
||||||
'gopher' => True,
|
|
||||||
'nobody' => True,
|
|
||||||
'xfs' => True,
|
|
||||||
'pgsql' => True,
|
|
||||||
'mysql' => True,
|
|
||||||
'postgres' => True,
|
|
||||||
'ftp' => True,
|
|
||||||
'gdm' => True,
|
|
||||||
'named' => True
|
|
||||||
);
|
|
||||||
|
|
||||||
/****************************************************************************\
|
/****************************************************************************\
|
||||||
* These lines load up the API, fill up the $phpgw_info array, etc *
|
* These lines load up the API, fill up the $phpgw_info array, etc *
|
||||||
\****************************************************************************/
|
\****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user