Changes between Version 19 and Version 20 of Internal/LoginService


Ignore:
Timestamp:
Jun 28, 2011, 2:40:04 PM (13 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/LoginService

    v19 v20  
    1  = Login service =
    2  === Description of parameters used to configure login service ===
     1 = OMF Login Aggregate Manager =
     2 
     3Login aggregate manager (AM) is an OMF service that is used to manage testbed users and groups, schedule access to resources and provide support for resource access control. It is distributed as a Debian package targeted for Ubuntu 10.10 (but it might work with other distributions as well).
     4
     5
     6== Prerequisites ==
     7
     8=== DHCP and DHS server ===
     9
     10{{{
     11apt-get install dhcp3-server
     12}}}
     13
     14=== Apache WEB server ===
     15
     16{{{
     17apt-get install apache2
     18}}}
     19
     20=== LDAP server ===
     21
     22Decide on the organizational structure for ldap:
     23
     24  orbit-lab.org => dc=orbit-lab,dc=org
     25
     26Install the server and utilities:
     27{{{
     28apt-get install slapd, ldap-utils, phpldapadmin,
     29}}}
     30
     31Configure the ldap service by editing /etc/ldap/slapd.conf
     32Start the service:
     33{{{
     34/etc/init.d/slapd start
     35}}}
     36
     37{{{
     38slappasswd
     39}}}
     40
     41Make sure it is running by checking that ldap server is listening on both ports:
     42{{{
     43netstat -an | grep 389
     44netstat -an | grep 636
     45}}}
     46
     47Stop the service:
     48{{{
     49/etc/init.d/slapd stop
     50}}}
     51
     52Import initial content (first group and account that will be used as administrators for the login service):
     53{{{
     54slapadd -l init.ldif -f /etc/ldap/slapd.conf
     55chown openldap:openldap /var/lib/ldap/*
     56}}}
     57Start the service:
     58{{{
     59/etc/init.d/slapd start
     60}}}
     61make sure you can access the service with admin credentials:
     62{{{
     63ldapsearch -x localhost -D "uid=jsingh,ou=WINLAB,dc=orbit-org,dc=edu" -W -b "dc=orbit-lab,dc=org" uid=*
     64}}}
     65
     66=== Login service ===
    367
    468server_name – how you access your server externally
     
    2892 === Apache configuration ===
    2993
    30 /etc/apache2/sites-available/default[[BR]]
    3194In order to use proxy you will have to install apache's proxy package and enable it.[[BR]]
    3295
     
    3598 a2enmod proxy
    3699 a2enmod proxy_http
    37 
    38100}}}
    39101
     102
     103{{{
     104 a2enmod ssl
     105}}}
     106
     107/etc/apache2/sites-available/default
    40108
    41109!ServerName <server_name>