1 | | = Login service = |
2 | | === Description of parameters used to configure login service === |
| 1 | = OMF Login Aggregate Manager = |
| 2 | |
| 3 | Login 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 | {{{ |
| 11 | apt-get install dhcp3-server |
| 12 | }}} |
| 13 | |
| 14 | === Apache WEB server === |
| 15 | |
| 16 | {{{ |
| 17 | apt-get install apache2 |
| 18 | }}} |
| 19 | |
| 20 | === LDAP server === |
| 21 | |
| 22 | Decide on the organizational structure for ldap: |
| 23 | |
| 24 | orbit-lab.org => dc=orbit-lab,dc=org |
| 25 | |
| 26 | Install the server and utilities: |
| 27 | {{{ |
| 28 | apt-get install slapd, ldap-utils, phpldapadmin, |
| 29 | }}} |
| 30 | |
| 31 | Configure the ldap service by editing /etc/ldap/slapd.conf |
| 32 | Start the service: |
| 33 | {{{ |
| 34 | /etc/init.d/slapd start |
| 35 | }}} |
| 36 | |
| 37 | {{{ |
| 38 | slappasswd |
| 39 | }}} |
| 40 | |
| 41 | Make sure it is running by checking that ldap server is listening on both ports: |
| 42 | {{{ |
| 43 | netstat -an | grep 389 |
| 44 | netstat -an | grep 636 |
| 45 | }}} |
| 46 | |
| 47 | Stop the service: |
| 48 | {{{ |
| 49 | /etc/init.d/slapd stop |
| 50 | }}} |
| 51 | |
| 52 | Import initial content (first group and account that will be used as administrators for the login service): |
| 53 | {{{ |
| 54 | slapadd -l init.ldif -f /etc/ldap/slapd.conf |
| 55 | chown openldap:openldap /var/lib/ldap/* |
| 56 | }}} |
| 57 | Start the service: |
| 58 | {{{ |
| 59 | /etc/init.d/slapd start |
| 60 | }}} |
| 61 | make sure you can access the service with admin credentials: |
| 62 | {{{ |
| 63 | ldapsearch -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 === |