LDAPconf General Introduction Index LDAPconf is a frontend for the ooppeennllddaapp package. It is really multiple frontends, designed with different usage areas in mind. Currently, it contains development version of the following frontends: · Client config - for configuration of the localhost openldap client tools: ldapsearch, ldapmodify etc. (works well). · Server config - for configuration and control of an openldap server running on the localhost. (works partly). · Directory config - for configuration and operation of directories. (works partly). · User client - allowing local users to update their personal info. (works partly). · System client - configuration of nss/pam system. (LDAP setp works for client, pam/nss config should not be used). · Userconf co-manager - extra userinfo for unix users. (works partly). · Adressbook for contacts - (works partly). LDAPconf is designed to support the frontends independenly. It is also designed with multiple "virtual" services in mind, so all directories are configured as independantly as possible. One conseqence of this is that all ldapconf configuration files is stored outside the openldap configuration directory. Instead of storing the directory (database) configuration inside the slapd.conf file, it will include the configuration files with the include directive in slapd.conf. This makes a more "cleaner" configuration IMHO, and also enable the support for "dropin" configurations, where pre-defined databases may be dropped into ldapconf. This may sound a bit unusual, so comments on this strategy is welcome. 11.. IInnssttaallllaattiioonn 11..11.. GGeenneerraall To use the client mode of ldapconf you need the openldap package. To use the server mode of ldapconf you need the openldap-server package. To use the system client mode of ldapconf you need the pam-ldap and nss-ldap packages. In all cases you need linuxconf installed. You don't need any other packages for ldapconf to work. All guides are based on rpm installation of packages, you may of course compile from sources and install by hand, but be aware that default locations for configuration files is based on the rpm versions, so you have to compile with the same options as the rpm or you may reconfigure this in linuxconf after installation of ldapconf. The same goes for the binary locations, they may be reconfigured. Needed OpenLDAP RPM's are available from the RedHat Contrib Area. OpenLDAP>=1.2.3 recommended. Linuxconf is available from ftp.solucorp.qc.ca/linuxconf/. 11..22.. IInnssttaalllliinngg llddaappccoonnff Grab the RPM package, and run "rpm -Uvh ldapconf-x.y.z.rpm". This will install the module in the linuxconf module directory, and enable it. Also it will install a configuration directory in /etc/ldapconf, where most directory configuration and all form and bind profiles will be stored. You may disable the module with linuxconf --unsetmod ldapconf, or uninstall it completly with rpm -e ldapconf. Uninstalling will probably zap all your ldapconf configuration files, disabling the module will not. 11..33.. IInnssttaalllliinngg ooppeennllddaapp cclliieenntt Just install the package with "rpm -Uvh openldap-1.2.x.rpm". This will install the needed client binaries (in /usr/bin and /usr/sbin), and a openldap configuration directory in /etc/ldap/ 11..44.. IInnssttaalllliinngg ooppeennllddaapp sseerrvveerr Just install the package with "rpm -Uvh openldap-server-1.2.x.rpm". This will install the server binaries, and some more configuration files in /etc/ldap. 22.. UUssaaggee Linuxconf Ldapconf will currently show up in: · Config->Client->LDAP client · Config->Server->LDAP server · Control->Panel->LDAP control · Status->Misc->LDAP status The mainmenu, including unstable menus, will show up in Config->Misc->LDAP Standalone You may use ldapconf in standalone mode. Start it by typing "ldapconf" at the commandline, and a ldapconf main menu will show up. HTML client mode The client tools may be accessed in HTML mode from ordinary users. This tools are available from the "Special links to linuxconf" on the main menu (before you login to linuxconf). 33.. CCoonncceepptt The functionality in ldapconf has been divided beetween three different tasks: LDAP client The client mode is available for ordinary users. You can configure the default settings, and there are also some small client applications available. You need the openldap package to use the ldapconf client mode. LDAP server This is for running a LDAP directory server. You can configure the global server settings. You can configure one database directory. You need the openldap-server package to use the ldapconf server mode. LDAP system This is when the system uses LDAP to retrive NIS type information or PAM authentication from an LDAP server. Currently this not recomended on production machines. You need the ldapns package and maybe openldap-devel to use the ldapconf system mode. 44.. GGeenneerraall LLDDAAPP iinnffoo Definitions · LDAP server - Distributes LDAP directories. · LDAP client - Access LDAP directories. · LDPA system - Using LDAP client to resolve system files. The OpenLDAP package: OpenLDAP . The Linux Directory Service Project: RageNet 55.. AAbboouutt LLDDAAPPccoonnff Homepage http://www.terminator.net/ldapconf/ . Bugs/comments: Stein Vråle stein@terminator.net License: GPL Copyright (c) 1999 Stein Vråle This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. To receive a copy of the GNU General Public License, please write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA