close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 3 (modified by seskar, 8 years ago) ( diff )

Configure LDAP

These instructions assume that the FQDN is and that (based on FQDN) LDAP DN base is dc=geni,dc=net.

Table of Contents

    Setting up LDAP server

    1. Create file /etc/ssl/" with:
      cn = GENI WiMAX Company
    2. Create file /etc/ssl/ with (please change to match your FQDN):
      organization = Example Company
      cn =
      expiration_days = 3650
    3. Execute the following command to create SSL certificates:
    4. Create LDIF file for our newly created certificates in the file named /etc/ssl/geni-cer-info.ldif:
      dn: cn=config
      add: olcTLSCACertificateFile
      olcTLSCACertificateFile: /etc/ssl/certs/cacert.pem
      add: olcTLSCertificateFile
      olcTLSCertificateFile: /etc/ssl/certs/console_slapd_cert.pem
      add: olcTLSCertificateKeyFile
      olcTLSCertificateKeyFile: /etc/ssl/private/console_slapd_key.pem

    and then execute:

    ldapmodify -Y EXTERNAL -H ldapi:/// -f /etc/ssl/geni-cert-info.ldif
    1. Fix the configuration for newly create LDAP for phpldapadmin:
      edit /etc/phpldapadmin/config.php and change dc=example,dc=com to dc=geni,dc=net
    2. Point the Firefox web browser to http://<console-ip-address>/phpldapadmin. Set password for group admin user (add attribute → Password → set password → update object)
    3. Make sure you can access the service with admin credentials:
         ldapsearch -x   -b "dc=geni,dc=net"  "objectClass=organizationalRole"
         ldapsearch -x   -b "dc=geni,dc=net"  "objectClass=organizationalUnit"
         ldapsearch -x   -b "dc=geni,dc=net"  "objectclass=organizationalUnit"
         ldapsearch -x   -b "dc=geni,dc=net"  "objectClass=posixGroup"
         ldapsearch -x localhost -D "cn=admin,dc=geni,dc=net" -W -b "dc=geni,dc=net" uid=*

    Attachments (1)

    Download all attachments as: .zip

    Note: See TracWiki for help on using the wiki.