Author Topic: globaladdressbook host  (Read 2530 times)

Offline max

  • Jr. Member
  • **
  • Posts: 14
globaladdressbook host
« on: December 13, 2009, 01:49:17 PM »
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
Code: [Select]

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
Code: [Select]

$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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
globaladdressbook host
« Reply #1 on: December 18, 2009, 02:46:43 AM »
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ā€¦

Offline max

  • Jr. Member
  • **
  • Posts: 14
globaladdressbook host
« Reply #2 on: December 21, 2009, 11:28:34 AM »
any "admin" user can change addresses in the globaladdressbook, but cannot import vcard-files.
ubuntu 10.10, Linux version 2.6.35