Changes between Version 28 and Version 29 of Howto_Ldap


Ignore:
Timestamp:
Mar 23, 2011 4:51:35 PM (2 years ago)
Author:
andudi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Howto_Ldap

    v28 v29  
    22 
    33= LDAP Addressbook Server for Roundcube = 
    4 This Howto describes the setup of a simple LDAP addressbook server with OpenLDAP (http://www.openldap.org) that should be ready for using with Roundcube "out of the box". The goal is to have an addressbook solution similar to the SQL based one, including public and private contacts, contact groups and configurable fields. On the other side should it be possible to connect with any LDAP addressbook client out there. 
     4This Howto describes the setup of a simple LDAP addressbook server with OpenLDAP (http://www.openldap.org) that should be ready for using with Roundcube "out of the box". The goal is to have an addressbook solution similar to the SQL based one, including public and private books, contact groups and configurable fields. On the other side it should be possible to connect with any LDAP addressbook client out there. 
    55 
    66Since Roundcube 0.5 is not able to manage LDAP contact groups, this feature will be available not before Roundcube 0.6. Nevertheless can the here described LDAP addressbook server allready be used: new contacts do just not belong to a group, they can be added later. 
    77 
    88This Howto makes some simplifications that are maybe a good choice for a smal home server, but not what proffessionals would prefere: 
    9 - the LDAP server must run on the same host as Roundcube 
    10 - the static config file is used instead of the newer dynamic config directory 
    11 - security issues are not part of this Howto, neverthelsess it is highly recomanded to disallow connections from other hosts than needed with a firewall 
     9- the LDAP server runs on the same host as Roundcube does 
     10- the static config file (slapd.conf) is used instead of the newer dynamic config directory 
     11- security issues are not part of this Howto, neverthelsess it is highly recomanded to disallow connections from other hosts than needed 
    1212- this Howto is based and tested on '''Debian Lenny''' and '''Ubuntu 10.10''', but other Distros (and OS?) should do it as well 
    13 - the users of the private addressbooks must be created first, e.g. in the admin part of Roundcube (not yet) 
     13 
    1414 
    1515== Install the LDAP Server == 
    16 Install the following packages (maybe they are called different on your distro): 
     16Install at least the following packages (maybe they are called different on your distro?): 
    1717- slapd : the OpenLDAP server daemon 
    1818- ldap-utils : LDAP tools like ldapsearch and ldapadd 
     
    2525 
    2626Depending on your distribution (e.g. on '''Debian Lenny'''), you will be asked during the installation about: 
    27 - domainname : '''localhost''' 
    28 - organisation : '''LDAP Addressbook Server''' 
    29 - administrator password : '''mypasswd'''  
    30 The proposed answers for the domainname (or suffix) fit well with this Howto: if you want to use another, you have to know (or even find out) how to adapt the following steps! 
     27- domain name = '''localhost''' 
     28- organisation = '''LDAP Addressbook Server''' 
     29- administrator password = '''mypasswd'''  
     30The proposed answers for the domain name (also called 'suffix') fit well with this Howto: if you want to use another, you have to know (or even find out) how to adapt the following steps! 
    3131Please change the password to your favorite one! 
    3232 
     
    3636}}} 
    3737 
    38 If you are not asked about the above, e.g. like on '''Ubuntu 9.10''' and later, you have to define everything int the configuration file. Then you have to generate a administrator password first: 
     38If you are not asked about the above, e.g. like on '''Ubuntu 9.10''' and later, you have to define everything in the configuration file (see below). If so, you have to generate a administrator password first: 
    3939{{{ 
    4040$ sudo slappasswd 
     
    4343{SSHA}bCiMXssO6JJ2ZsPikd1qjNuWhApr+fHr 
    4444}}} 
    45 Remember (or even copy) the last line for using later. 
     45Remember (or even copy) the last line for later use. 
    4646 
    4747