[horde] Horde administrator setup page and Login fail

Suhag Desai spdesai at gnvfc.net
Tue May 1 15:44:57 UTC 2007


Thanks Zitat von

Its done, and i can still see setup page even after loading conf.php.

But now one another probeem is that " That horde administratoer Setup page 
can see by all the users of vpopmail or mail user. But i dont want this , i 
want that this horde administratoer Setup page can only access by particular 
one user/mail admin.

My current setting of conf.php is

$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = false;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/horde';
$conf['sql']['persistent'] = false;
$conf['sql']['username'] = 'root';
$conf['sql']['password'] = 'suhag1';
$conf['sql']['hostspec'] = '192.168.10.71';
$conf['sql']['port'] = 3306;
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'iso-8859-1';
$conf['sql']['phptype'] = 'mysql';
$conf['auth']['admins'] = array('Administrator');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['params']['username'] = 'Administrator';
$conf['auth']['params']['requestuser'] = false;
$conf['auth']['driver'] = 'auto';
$conf['signup']['allow'] = false;
$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['params']['persistent'] = false;
$conf['prefs']['params']['username'] = 'root';
$conf['prefs']['params']['password'] = 'suhag1';
$conf['prefs']['params']['hostspec'] = '192.168.10.71';
$conf['prefs']['params']['port'] = 3306;
$conf['prefs']['params']['protocol'] = 'tcp';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['charset'] = 'iso-8859-1';
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['driverconfig'] = 'custom';
$conf['prefs']['driver'] = 'sql';
$conf['datatree']['driver'] = 'null';
$conf['group']['driver'] = 'datatree';
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['params']['gc'] = 86400;
$conf['cache']['driver'] = 'file';
$conf['token']['driver'] = 'none';
$conf['mailer']['params']['host'] = '192.168.10.71';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['localhost'] = '192.168.10.71';
$conf['mailer']['params']['auth'] = '0';
$conf['mailer']['type'] = 'smtp';
$conf['vfs']['params']['vfsroot'] = '/tmp';
$conf['vfs']['type'] = 'file';
$conf['sessionhandler']['type'] = 'none';
$conf['problems']['email'] = 'webmaster at example.com';
$conf['problems']['maildomain'] = 'example.com';
$conf['problems']['tickets'] = false;
$conf['menu']['apps'] = array('chora', 'forwards', 'gollem', 'horde', 'imp', 
'ingo', 'kronolith', 'mimp', 'mnemo', 'nag', 'passwd', 'turba',
 'vacation');
$conf['menu']['always'] = false;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['help_about'] = true;
$conf['menu']['links']['options'] = 'authenticated';
$conf['menu']['links']['problem'] = 'all';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['hooks']['permsdenied'] = false;
$conf['hooks']['username'] = false;
$conf['hooks']['preauthenticate'] = false;
$conf['hooks']['postauthenticate'] = false;
$conf['hooks']['authldap'] = false;
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;

Thanks once again,

Suhag.


----- Original Message ----- 
From: "Jan Schneider" <jan at horde.org>
To: "Suhag Desai" <spdesai at gnvfc.net>
Cc: <horde at lists.horde.org>
Sent: Monday, April 30, 2007 1:25 PM
Subject: Re: [horde] Horde administrator setup page and Login fail


Zitat von Suhag Desai <spdesai at gnvfc.net>:

> I have deleted the same entries but still problem persists.

You must not delete them, but enter the same username.

> $conf['auth']['admins'] and $conf['auth']['params']['username'] don't
>> match. $conf['auth']['params']['username'] actually isn't even set.
>
>
> ----- Original Message ----- From: "Jan Schneider" <jan at horde.org>
> To: <horde at lists.horde.org>
> Sent: Friday, April 27, 2007 3:03 PM
> Subject: Re: [horde] Horde administrator setup page and Login fail
>
>
>> Zitat von Suhag Desai <spdesai at gnvfc.net>:
>>
>>> Hi all,
>>>
>>> Below is my conf.php generated by webbased setup administrator......
>>>
>>> $conf['debug_level'] = E_ALL;
>>> $conf['max_exec_time'] = 0;
>>> $conf['compress_pages'] = true;
>>> $conf['umask'] = 077;
>>> $conf['use_ssl'] = 2;
>>> $conf['server']['name'] = $_SERVER['SERVER_NAME'];
>>> $conf['server']['port'] = $_SERVER['SERVER_PORT'];
>>> $conf['session']['name'] = 'Horde';
>>> $conf['session']['use_only_cookies'] = true;
>>> $conf['session']['cache_limiter'] = 'nocache';
>>> $conf['session']['timeout'] = 0;
>>> $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
>>> $conf['cookie']['path'] = '/horde';
>>> $conf['sql']['persistent'] = false;
>>> $conf['sql']['username'] = 'root';
>>> $conf['sql']['password'] = 'suhag1';
>>> $conf['sql']['hostspec'] = '192.168.10.71';
>>> $conf['sql']['port'] = 3306;
>>> $conf['sql']['protocol'] = 'tcp';
>>> $conf['sql']['database'] = 'horde';
>>> $conf['sql']['charset'] = 'iso-8859-1';
>>> $conf['sql']['phptype'] = 'mysql';
>>> $conf['auth']['admins'] = array('root');
>>> $conf['auth']['checkip'] = true;
>>> $conf['auth']['checkbrowser'] = true;
>>> $conf['auth']['alternate_login'] = false;
>>> $conf['auth']['redirect_on_logout'] = false;
>>> //$conf['auth']['params']['username'] = 'Administrator';
>>> $conf['auth']['params']['requestuser'] = false;
>>> $conf['auth']['driver'] = 'auto';
>>> $conf['signup']['allow'] = false;
>>> $conf['log']['priority'] = PEAR_LOG_NOTICE;
>>> $conf['log']['ident'] = 'HORDE';
>>> $conf['log']['params'] = array();
>>> $conf['log']['name'] = '/tmp/horde.log';
>>> $conf['log']['params']['append'] = true;
>>> $conf['log']['type'] = 'file';
>>> $conf['log']['enabled'] = true;
>>> $conf['log_accesskeys'] = false;
>>> $conf['prefs']['params']['persistent'] = false;
>>> $conf['prefs']['params']['username'] = 'root';
>>> $conf['prefs']['params']['password'] = 'suhag1';
>>> $conf['prefs']['params']['hostspec'] = '192.168.10.71';
>>> $conf['prefs']['params']['port'] = 3306;
>>> $conf['prefs']['params']['protocol'] = 'tcp';
>>> $conf['prefs']['params']['database'] = 'horde';
>>> $conf['prefs']['params']['charset'] = 'iso-8859-1';
>>> $conf['prefs']['params']['phptype'] = 'mysql';
>>> $conf['prefs']['params']['driverconfig'] = 'custom';
>>> $conf['prefs']['driver'] = 'sql';
>>> $conf['datatree']['driver'] = 'null';
>>> $conf['group']['driver'] = 'datatree';
>>> $conf['cache']['default_lifetime'] = 1800;
>>> $conf['cache']['params']['dir'] = Horde::getTempDir();
>>> $conf['cache']['params']['gc'] = 86400;
>>> $conf['cache']['driver'] = 'file';
>>> $conf['token']['driver'] = 'none';
>>> $conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
>>> $conf['mailer']['params']['sendmail_args'] = '-oi';
>>> $conf['mailer']['type'] = 'sendmail';
>>> $conf['vfs']['params']['vfsroot'] = '/tmp';
>>> $conf['vfs']['type'] = 'file';
>>> $conf['vfs']['params']['vfsroot'] = '/tmp';
>>> $conf['vfs']['type'] = 'file';
>>> $conf['sessionhandler']['type'] = 'none';
>>> $conf['problems']['email'] = 'webmaster at example.com';
>>> $conf['problems']['maildomain'] = 'example.com';
>>> $conf['problems']['tickets'] = false;
>>> $conf['menu']['apps'] = array('gollem');
>>> $conf['menu']['always'] = false;
>>> $conf['menu']['links']['help'] = 'all';
>>> $conf['menu']['links']['help_about'] = true;
>>> $conf['menu']['links']['options'] = 'authenticated';
>>> $conf['menu']['links']['problem'] = 'all';
>>> $conf['menu']['links']['login'] = 'all';
>>> $conf['menu']['links']['logout'] = 'authenticated';
>>> $conf['hooks']['permsdenied'] = false;
>>> $conf['hooks']['username'] = false;
>>> $conf['hooks']['preauthenticate'] = false;
>>> $conf['hooks']['postauthenticate'] = false;
>>> $conf['hooks']['authldap'] = false;
>>> $conf['portal']['fixed_blocks'] = array();
>>> $conf['accounts']['driver'] = 'null';
>>> $conf['imsp']['enabled'] = false;
>>> $conf['kolab']['enabled'] = false;
>>>
>>>
>>> Once i upload this file through ftp ... i m not able to go that   horde 
>>> administrator admin page
>>>
>>> is their any specific reason ?
>>
>> $conf['auth']['admins'] and $conf['auth']['params']['username']  don't 
>> match. $conf['auth']['params']['username'] actually isn't  even set.
>>
>> Jan.
>>
>> -- 
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting/
>>
>> -- 
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/




More information about the horde mailing list