Changes between Initial Version and Version 1 of guiiam2018


Ignore:
Timestamp:
Sep 15, 2018, 7:58:45 PM (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • guiiam2018

    v1 v1  
     1= LDAP UI Installation =
     2
     3Native LDAP store doesn't come with a GUI. Therefore, as administrators we may have to provide a nice user interface to our users. This UI should have the capability of changing details of users password resets, etc. To do these actions there are lot of open source packages as well as commercialized products.
     4
     5On this tutorial we will go through two UI setups that will focus on different outputs.
     6
     71/ Apache Directory Studio (For Admins)
     8
     9Download and install
     10The latest version of Apache Directory Studio can be downloaded from the Apache Directory Studio Downloads page, at this address : http://directory.apache.org/studio/downloads.html .
     11
     12Installation steps https://directory.apache.org/studio/users-guide/apache_directory_studio/download_install.html
     13
     14Once the installation succeeds open the Apache Directory Studio.
     15
     16Creating the ldap connection:
     17
     18Go to File --> new --> ldap browser --> ldap connection --> next
     19
     20Enter your deatils:
     21
     22Connection Name: LDAP Server
     23Hostname: ldap://idp.instXY.ac.lk
     24port: 389
     25Encrypted Method: Use STARTTLS
     26Provider: Apache Directory LDAP Client API
     27
     28Next
     29
     30Authentication Method: Simple Authentication
     31Bind Dn: cn=admin,dc=thilinapathirana,dc=xyz
     32Bind Password:
     33
     34Click Check Authentication to make sure your credentials work. For the first time it ask to trust the self signed certificate.
     35
     36Select Always trust this Certificate and click OK
     37
     38Then click Finish.
     39
     40To connect, double click the connection just created from Connections list.
     41
     42Once connected you can browse through the directory using the LDAP Browser.
     43
     44When modifying entries you may use a ldif file or the GUI.
     45
     46Using GUI to create an OU:
     47
     48Select root location for the OU (eg. dc=instXY,dc=ac,dc=lk)
     49Select New Entry on Right click Menu
     50Then Create entry from Scratch --> Next
     51Select OrganizationalUnit and click Add and Next
     52Type OU as the RDN and the desired value in-front of it then Next and Finish
     53
     54
     55Adding a User Group
     56
     57Select root location for the OU (eg. ou=Group,dc=instXY,dc=ac,dc=lk)
     58Select New Entry on Right click Menu
     59Then Create entry from Scratch --> Next
     60Select groupofNames and click Add and Next
     61Type CN as the RDN and the desired value in-front of it then Next
     62
     63You will prompt with a user add window as DN Editor. Select a user from browser and click OK
     64
     65
     66Adding a new User
     67
     68Select root location for the OU (eg. ou=People,dc=instXY,dc=ac,dc=lk)
     69Select New Entry on Right click Menu
     70Then Create entry from Scratch --> Next
     71Select inetOrgPerson and click Add
     72Select eduPerson and click Add and Next
     73Type uid as the RDN and the desired usernsme value in-front of it then Next
     74
     75Enter desired values for cn (First Name) and sn (last Name)
     76
     77Enter new attribute from right lick menu of as userPassword and click finish. when it asks, enter the new users password and select Plaintext as the hash method and click OK
     78
     79You may add any new attribute as well.
     80
     81Then click finish
     82
     83
     84More documentation can be found on https://directory.apache.org/studio/users-guide/
     85
     86
     872/ Keycloak Server (For End Users)
     88
     89Keycloak is an open source identity and access management solution, we will use keycloak to provide a friendly self care portal to users allowing services such as password resets.
     90
     91wget https://downloads.jboss.org/keycloak/4.4.0.Final/keycloak-4.4.0.Final.tar.gz
     92tar -xvzf keycloak-4.4.0.Final.tar.gz
     93cd keycloak-4.3.0.Final/bin/
     94./add-user-keycloak.sh -r master -u ###UserName### -p ###Password###
     95vim standalone/configuration/standalone.xml
     96./standalone.sh -b 0.0.0.0 &