Changes between Version 59 and Version 60 of Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup


Ignore:
Timestamp:
Jun 28, 2013, 9:05:49 PM (11 years ago)
Author:
ParviK
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup

    v59 v60  
    624624}}}
    625625
    626 7. Make sure you can access the service with admin credentials:
     6267. Without the pid file, the start/stop script fail to start/stop the daemon. This can be resolved by editing the /etc/init.d/slapd file and search for the function start_slapd(). Add this to the last line of that function before it exits:
     627
     628pidof /usr/sbin/slapd > "$SLAPD_PIDFILE"
     629
     6308. Make sure it is running by checking that ldap server is listening on both ports:
     631
     632netstat -an | grep 389
     633netstat -an | grep 636
     634
     6359. Stop the service:
     636{{{
     637   /etc/init.d/slapd stop
     638}}}
     639
     64010. Import initial content (first group and account that will be used as administrators for the login service): This is a brief reasoning behind the entries in the ldif file. Please change the file as per your organizational needs.
     641Each organizational unit(ou) has a PI who is the admin for the OU and a group which has all the accounts for the OU. So that is why your first organization and first acount have to conform to such a structure.
     642
     643OU admin can only manage accounts for that organization.
     644Any person that is a member of sysadmin group in LDAP and admin group in login.yaml will be able to use ControlPanel of the ogs_login service to manage ALL accounts.
     645
     64611. Run the following commands.
     647{{{
     648  cp /usr/share/slapd/DB_CONFIG /var/lib/ldap/
     649  slapadd -l init.ldif -f /etc/ldap/slapd.conf
     650  chown openldap:openldap /var/lib/ldap/*
     651}}}
     652
     65312. Start the service:
     654{{{
     655   /etc/init.d/slapd start
     656}}}
     657
     65813. Make sure you can access the service with admin credentials:
    627659{{{
    628660   ldapsearch -x   -b "dc=orbit-lab,dc=org"  "objectClass=organizationalRole"