2012-11-30 12:54:33 +01:00
|
|
|
FIRST CONFIGURATION STEPS
|
2007-04-15 19:26:34 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
1 - Change default DNS domain
|
|
|
|
-----------------------------
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
By default, DNS domain is example.com. You can change using dpkg-reconfigure or
|
|
|
|
with a quick sed command. For example, we change it to ow2.org:
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
sed -i 's/example\.com/ow2.org/g' /etc/lemonldap-ng/* \
|
|
|
|
/var/lib/lemonldap-ng/conf/lmConf-1 /var/lib/lemonldap-ng/test/index.pl
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
2 - Enable LL::NG sites in Apache
|
|
|
|
---------------------------------
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
Enable the components you've installed:
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-12-29 20:18:35 +01:00
|
|
|
# Portal
|
2012-11-30 12:54:33 +01:00
|
|
|
a2ensite portal-apache2.conf
|
2012-12-29 20:18:35 +01:00
|
|
|
|
|
|
|
# Manager
|
2012-11-30 12:54:33 +01:00
|
|
|
a2ensite manager-apache2.conf
|
2008-09-21 11:50:32 +02:00
|
|
|
|
2012-12-29 20:18:35 +01:00
|
|
|
# Handler
|
|
|
|
a2ensite handler-apache2.conf
|
2012-12-29 20:21:07 +01:00
|
|
|
a2ensite test-apache2.conf
|
2012-12-29 20:18:35 +01:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
and enable mod_perl if not already loaded:
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
a2enmod perl
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
Then restart Apache:
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
apache2ctl configtest
|
|
|
|
apache2ctl restart
|
2007-06-13 14:04:02 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
3 - Check your DNS
|
|
|
|
------------------
|
2008-02-08 16:33:32 +01:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
Be sure that your browser can join (adapt it with your domain):
|
|
|
|
- auth.example.com : the authentication portal
|
|
|
|
- manager.example.com: the configuration interface
|
2007-06-13 14:04:02 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
4 - Connect to the manager
|
|
|
|
--------------------------
|
2012-02-28 23:39:07 +01:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
Go to http://manager.example.com/, you'll be redirected to the portal. Then
|
|
|
|
enjoy!
|
2012-06-18 11:47:27 +02:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
5 - Default accounts
|
|
|
|
--------------------
|
2012-02-28 23:39:07 +01:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
By default, LemonLDAP::NG use "Demo" authentication backend, so you can use the
|
|
|
|
following accounts:
|
2012-02-28 23:39:07 +01:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
Login Password Role
|
|
|
|
rtyler rtyler user
|
|
|
|
msmith msmith user
|
|
|
|
dwho dwho administrator
|
2012-02-28 23:39:07 +01:00
|
|
|
|
2012-12-29 20:18:35 +01:00
|
|
|
6 - Base configuration file
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
The configuration is managed by the manager with the exception of some basic
|
|
|
|
parameters such as the storage type configuration. These parameters are defined
|
|
|
|
in the file /etc/lemonldap-ng/lemonldap-ng.ini.
|
|
|
|
|
|
|
|
This file can also be used to override the global configuration locally
|
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
6 - See more
|
|
|
|
------------
|
2012-02-28 23:39:07 +01:00
|
|
|
|
2012-11-30 12:54:33 +01:00
|
|
|
http://lemonldap-ng.org/
|
2012-02-28 23:39:07 +01:00
|
|
|
|