Posts: 13

Topic: Global Address Book / LDAP backend

Hi folks,

I installed the up to date version of irm (as of today, 2009/09/05). So far all seems to work fine. I have a question about the global address book with the LDAP backend though.

In roundcube, when I use my user which has been created upon installing IRM, this user is in the global address book automatically. I log into roundcube with that user name and his password. Then I want to create new contacts which works fine for the personal address book of this user. However, how do I add users to the global address book?

I reckon every user should be able to add/delete contacts to/from the global address book no? Well, I don't see this here with my install i.e. the normal user (NOT postmaster@example.com) created during install can not add/delete users to/from the global address book. What am I missing?

Logging into roundcube via postmaster@example.com does not work. Is this correct? Or is my current install broken?

Re: Global Address Book / LDAP backend

Suno Ano wrote:

However, how do I add users to the global address book?

Roundcube supports writing contact info into LDAP address book, but iRedMail uses LDAP as a public LDAP address, not writeable. Of course you can try to make it writeable. But users can create new contacts in there own (SQL) address book.

In iRedMail, all users with 'enabledService=displayedInGlobalAddressBook' will appears while you type address in roundcube.

I reckon every user should be able to add/delete contacts to/from the global address book no? Well, I don't see this here with my install i.e. the normal user (NOT postmaster@example.com) created during install can not add/delete users to/from the global address book. What am I missing?

Logging into roundcube via postmaster@example.com does not work. Is this correct? Or is my current install broken?

It's correct.

postmaster@example.com is *NOT* a mail user, this is notificed during iRedMail installation and in iRedMail.tips file.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

Re: Global Address Book / LDAP backend

ZhangHuangbin wrote:

- iRedMail already config roundcube to have per-domain global address book in iRedMail-0.5.0.

Which means every user (e.g. user1@foo.com, user2@foo.com, ...) within the domainspace of foo.com shows up in this global address book automatically yes? Adding to this global address book however is not possible; a user only sees all other users within his domain e.g. foo.com.

Hmm ... ok, well, as I think about it, maybe it's good as it is i.e. making the global address book writeable by users isn't a good idea since right now you have the guarantee that every user within domain foo.com sees any other user within foo.com but no one else is listed in the global address book. Yes, sounds sane

Re: Global Address Book / LDAP backend

Suno Ano wrote:

ZhangHuangbin wrote:

- iRedMail already config roundcube to have per-domain global address book in iRedMail-0.5.0.

Which means every user (e.g. user1@foo.com, user2@foo.com, ...) within the domainspace of foo.com shows up in this global address book automatically yes? Adding to this global address book however is not possible; a user only sees all other users within his domain e.g. foo.com.

Hmm ... ok, well, as I think about it, maybe it's good as it is i.e. making the global address book writeable by users isn't a good idea since right now you have the guarantee that every user within domain foo.com sees any other user within foo.com but no one else is listed in the global address book. Yes, sounds sane

just like microsoft exchange, the user only can see the doumain user ,

and the user can not add the contact to AD and the address book.

maybe have the second global address book, include all the useful contacts of company.

Re: Global Address Book / LDAP backend

Here is what i've done.I've now a per domain address book for external contacts too.

* First, you need to create an new ou=AddressBook for each domainfor example :dn: ou=AddressBook,domainName=domain.tld,ou=organismes,dc=domain,dc=tldobjectClass: organizationalUnitobjectClass: topou: AddressBook

and add "external-address-book" to $rcmail_config['autocomplete_addressbooks'] option

* Openldapin /etc/openldap/slapd.conf

After ACL : access to dn="cn=vmail,dc=domain,dc=tld"...Add :access to dn.regex="ou=AddressBook,domainName=([^,]+),o=domains,dc=domain,dc=tld$" by anonymous auth by self write by dn.exact="cn=vmail,dc=domain,dc=tld" read by dn.exact="cn=vmailadmin,dc=domain,dc=tld" write by dn.regex="mail=[^,]+@$1,ou=domainAdmins,dc=domain,dc=tld$" write by dn.regex="mail=[^,]+@$1,ou=Users,domainName=$1,o=domains,dc=domain,dc=tld$" write by users none

Re: Global Address Book / LDAP backend

I'm okay, and I use this way of doing too for internal address book (everyone inside my organisations/per organisations)I've added this other option for adding people/contacts outside my organisations(domains) like clients, providers, etc.

Re: Global Address Book / LDAP backend

Re: Global Address Book / LDAP backend

Hi Folks,How do i share Global Address book in MS. outlook and outlook express. Because in webmail (Roundcube) it works automatically, is it any way to share Global address book in ms outlook and outlook express. i have iredmail on centos 5.5