Roundcube Community Forum

 

globaladdressbook host

Started by max, December 13, 2009, 01:49:17 PM

Previous topic - Next topic

max

hi,

i had the problem, that i could not log in as the user who admins the global addressbook, due to the fact, that in globaladdressbook.php the mail-host is supposed to be localhost.

i have changed a view lines of code to solve this issue.

in globaladdressbook.php

private $host;
/* original private $host = 'localhost'; */
after $this->user_name = $rcmail->config->get('globaladdressbook_user'); i added
$this->host = $rcmail->config->get('globaladdressbook_host');


in config.inc.php

$rcmail_config['globaladdressbook_host'] = 'put in your mail-host here';


maybe it could be a good idea to place these lines in the normal plugin as well.

kind regards
max
ubuntu 10.10, Linux version 2.6.35

JohnDoh

any user can be made an "admin" of the global address book via the config, so they can create contacts in it, even if it is read only. i didnt think any one would ever need to log in as that user.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

max

any "admin" user can change addresses in the globaladdressbook, but cannot import vcard-files.
ubuntu 10.10, Linux version 2.6.35