Changes between Version 28 and Version 29 of Howto_Ldap
- Timestamp:
- Mar 23, 2011 4:51:35 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Howto_Ldap
v28 v29 2 2 3 3 = 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 itbe possible to connect with any LDAP addressbook client out there.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 books, contact groups and configurable fields. On the other side it should be possible to connect with any LDAP addressbook client out there. 5 5 6 6 Since 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. 7 7 8 8 This 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 Roundcube10 - the static config file is used instead of the newer dynamic config directory11 - security issues are not part of this Howto, neverthelsess it is highly recomanded to disallow connections from other hosts than needed with a firewall9 - 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 12 12 - 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 14 14 15 15 == Install the LDAP Server == 16 Install the following packages (maybe they are called different on your distro):16 Install at least the following packages (maybe they are called different on your distro?): 17 17 - slapd : the OpenLDAP server daemon 18 18 - ldap-utils : LDAP tools like ldapsearch and ldapadd … … 25 25 26 26 Depending on your distribution (e.g. on '''Debian Lenny'''), you will be asked during the installation about: 27 - domain name :'''localhost'''28 - organisation :'''LDAP Addressbook Server'''29 - administrator password :'''mypasswd'''30 The proposed answers for the domain name (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''' 30 The 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! 31 31 Please change the password to your favorite one! 32 32 … … 36 36 }}} 37 37 38 If you are not asked about the above, e.g. like on '''Ubuntu 9.10''' and later, you have to define everything in t the configuration file. Thenyou have to generate a administrator password first:38 If 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: 39 39 {{{ 40 40 $ sudo slappasswd … … 43 43 {SSHA}bCiMXssO6JJ2ZsPikd1qjNuWhApr+fHr 44 44 }}} 45 Remember (or even copy) the last line for using later.45 Remember (or even copy) the last line for later use. 46 46 47 47
