LABE - README
=============
LABE stands for Ldap Address Book Editor.

LABE is a web application created to administrate a centralised LDAP directory, 
compatible with Mozilla, Evolution and Outlook. 

---> Make sure the basedn you choose for labe is already created !!!
------> By running the setup script.
------> By adding manualy with the ldapadd command and a good ldif file
        (see also http://www.openldap.org/doc/admin/quickstart.html).
---> Don't forget to turn on apache and slapd.

For comments or bug reports please contact:
Mathieu Leduc-Hamel <labe@savoirfairelinux.com>

Requirements
------------
- PHP version 4.0.x or newer
  (be sure that track_vars in php.ini file is set to on (track_vars = On))
- Apache 1.3.2.x or newer with mod_php enable.
- The php module must be linked with the ldap library ( ./configure  --with-ldap )
	(see http://www.php.net )
- An LDAP server (configure with slapd support and ldbm support): see http://www.openldap.org


Manualy config LABE (without the setup.sh script)
-------------------
  a) Be sure to modify your slapd.conf file in order to include the following
     schema files:
  
  Ex:  
	include	/etc/openldap/schema/core.schema
	include	/etc/openldap/schema/cosine.schema
	include	/etc/openldap/schema/inetorgperson.schema
	include	/etc/openldap/schema/extension.schema

  b) Don't forget to modify your suffix and rootdn to match with what you want to create:
   
  Ex:
 	suffix          "dc=savoirfairelinux, dc=com"
	rootdn          "cn=Manager, dc=savoirfairelinux, dc=com"

  c) Be sure to modify the following schema in the schema directory of your openldap installation:

     cosine.schema:
     
	Change: NAME ( 'mobile' 'mobileTelephoneNumber' )
	to: NAME ( 'mobile' 'mobileTelephoneNumber' 'cellPhone' )
	
	Also change: NAME ( 'pager' 'pagerTelephoneNumber' )
	to: NAME ( 'pager' 'pagerTelephoneNumber' 'pagerPhone' )
	
	
     core.schema:
	
	Change: attributetype ( 2.5.4.20 NAME 'telephoneNumber'
	to: attributetype ( 2.5.4.20 NAME ( 'telephoneNumber' 'xmozillaanyphone' )

  d) Check your php.ini config file and make sure that your enabled the web upload.
  
     Ex (php.ini):

	file_uploads = On

-----
For bugs or comments please contact:
Mathieu Leduc-Hamel
<labe@savoirfairelinux.com>
