Changes between Version 92 and Version 93 of Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup
- Timestamp:
- Jul 17, 2013, 3:58:44 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup
v92 v93 597 597 geni.net => dc=geni,dc=net 598 598 }}} 599 600 apt-get install slapd ldap-utils phpldapadmin (if any error is made during the initial installation, LDAP can be reconfigured with: dpkg-reconfigure slapd) 601 602 1.) Omit OpenLDAP server configuration? No 603 2.) DNS domain name: geni.net #The DNS domain name is used to construct the base DN of the LDAP directory. 604 3.) Organization name: GENI 605 4.) Password: Sg10l3P 606 5.) Database backend to use: HDB 607 6.) Do you want the database to be removed when slapd is purged? : Yes 608 7.) Move old database? Yes 609 8.) Allow LDAPv2 protocol? No 610 611 edit /etc/ldap.conf 612 1. Check that you have a proper URI (round line 30): 599 {{{ 600 apt-get install slapd ldap-utils phpldapadmin 601 }}} 602 (if any error is made during the initial installation, LDAP can be reconfigured with: dpkg-reconfigure slapd) 603 604 * Omit OpenLDAP server configuration? No 605 * DNS domain name: geni.net #The DNS domain name is used to construct the base DN of the LDAP directory. 606 * Organization name: GENI 607 * Password: Sg10l3P 608 * Database backend to use: HDB 609 * Do you want the database to be removed when slapd is purged? : Yes 610 * Move old database? Yes 611 * Allow LDAPv2 protocol? No 612 613 2. Edit /etc/ldap.conf 614 1. Check that you have a proper URI (round line 30): 613 615 {{{ 614 616 uri ldap://console.geni.net/ 615 617 }}} 616 2. Uncommend line for host attribute:618 2. Uncommend line for host attribute: 617 619 {{{ 618 620 pam_check_host_attr yes … … 631 633 ldapadd -vvv -x -D cn=admin,dc=geni,dc=net -H ldap:/// -W -f init.ldif 632 634 }}} 633 5. Fix the configuration for LDAP for phpldapadmin: 635 5. Fix the configuration for LDAP for phpldapadmin: 636 {{{ 634 637 edit /etc/phpldapadmin/config.php and change dc=example,dc=com to dc=geni,dc=net 635 638 636 639 $servers->setValue('server','base',array('dc=geni,dc=net')); 637 640 $servers->setValue('login','bind_id','cn=admin,dc=geni,dc=net'); 638 641 }}} 639 642 6. Set password for group admin user (add attribute -> Password -> set password -> update object) 640 643 641 644 642 13. Make sure you can access the service with admin credentials:645 7. Make sure you can access the service with admin credentials: 643 646 {{{ 644 647 ldapsearch -x -b "dc=geni,dc=net" "objectClass=organizationalRole"