Changes between Version 1 and Version 2 of guiiam2018


Ignore:
Timestamp:
Sep 16, 2018, 6:59:02 PM (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • guiiam2018

    v1 v2  
    55On this tutorial we will go through two UI setups that will focus on different outputs.
    66
    7 1/ Apache Directory Studio (For Admins)
     7== Apache Directory Studio (For Admins) ==
    88
    9 Download and install
    10 The 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 .
     9* Download and install
     10   The latest version of Apache Directory Studio can be downloaded to your host machine from the Apache Directory Studio Downloads page, at this address : http://directory.apache.org/studio/downloads.html  or the local copy from {here  }.
    1111
    12 Installation steps https://directory.apache.org/studio/users-guide/apache_directory_studio/download_install.html
     12   Installation steps https://directory.apache.org/studio/users-guide/apache_directory_studio/download_install.html
    1313
    14 Once the installation succeeds open the Apache Directory Studio.
     14   Once the installation succeeds open the Apache Directory Studio.
    1515
    16 Creating the ldap connection:
     16   Creating the ldap connection:
     17{{{
     18Go to File --> new --> ldap browser --> ldap connection --> next
     19}}}
    1720
    18 Go to File --> new --> ldap browser --> ldap connection --> next
     21   Enter your deatils:
    1922
    20 Enter your deatils:
    21 
     23{{{
    2224Connection Name: LDAP Server
    2325Hostname: ldap://idp.instXY.ac.lk
     
    2527Encrypted Method: Use STARTTLS
    2628Provider: Apache Directory LDAP Client API
     29}}}
    2730
    28 Next
     31`Next`
    2932
     33{{{
    3034Authentication Method: Simple Authentication
    3135Bind Dn: cn=admin,dc=thilinapathirana,dc=xyz
    3236Bind Password:
    33 
    34 Click Check Authentication to make sure your credentials work. For the first time it ask to trust the self signed certificate.
    35 
    36 Select Always trust this Certificate and click OK
    37 
    38 Then click Finish.
    39 
    40 To connect, double click the connection just created from Connections list.
    41 
    42 Once connected you can browse through the directory using the LDAP Browser.
    43 
    44 When modifying entries you may use a ldif file or the GUI.
    45 
    46 Using GUI to create an OU:
    47 
    48 Select root location for the OU (eg. dc=instXY,dc=ac,dc=lk)
    49 Select New Entry on Right click Menu
    50 Then Create entry from Scratch --> Next
    51 Select OrganizationalUnit and click Add and Next
    52 Type OU as the RDN and the desired value in-front of it then Next and Finish
     37}}}
    5338
    5439
    55 Adding a User Group
     40   Click `Check Authentication` to make sure your credentials work. For the first time it ask to trust the self signed certificate.
    5641
    57 Select root location for the OU (eg. ou=Group,dc=instXY,dc=ac,dc=lk)
    58 Select New Entry on Right click Menu
    59 Then Create entry from Scratch --> Next
    60 Select groupofNames and click Add and Next
    61 Type CN as the RDN and the desired value in-front of it then Next
     42   Select `Always trust this Certificate` and click `OK`
    6243
    63 You will prompt with a user add window as DN Editor. Select a user from browser and click OK
     44   Then click `Finish`.
     45
     46*  To connect, double click the connection just created from '''Connections''' list.
     47
     48* Once connected you can browse through the directory using the LDAP Browser.
     49
     50* When modifying entries you may use a ldif file or the GUI.
     51
     52* Using GUI to create an OU:
     53  - Select '''root location''' for the OU (eg. dc=instXY,dc=ac,dc=lk)
     54  - Select `New Entry` on '''Right click Menu'''
     55  - Then `Create entry from Scratch`  --> `Next`
     56  - Select `OrganizationalUnit` and click `Add` and `Next`
     57  - Type `OU` as the '''RDN''' and the desired value in-front of it, then click `Next` and `Finish`
    6458
    6559
    66 Adding a new User
     60* Adding a User Group
     61  - Select '''root location''' for the OU (eg. ou=Group,dc=instXY,dc=ac,dc=lk)
     62  - Select `New Entry` on '''Right click Menu'''
     63  - Then `Create entry from Scratch`  -->  `Next`
     64  - Select `groupofNames` and click `Add` and `Next`
     65  - Type `CN` as the '''RDN''' and the desired value in-front of it and then click `Next`
     66  - You will prompt with a '''user add window''' as DN Editor. Select a user from browser and click `OK`
    6767
    68 Select root location for the OU (eg. ou=People,dc=instXY,dc=ac,dc=lk)
    69 Select New Entry on Right click Menu
    70 Then Create entry from Scratch --> Next
    71 Select inetOrgPerson and click Add
    72 Select eduPerson and click Add and Next
    73 Type uid as the RDN and the desired usernsme value in-front of it then Next
    7468
    75 Enter desired values for cn (First Name) and sn (last Name)
    76 
    77 Enter 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 
    79 You may add any new attribute as well.
    80 
    81 Then click finish
     69* Adding a new User
     70  - Select '''root location''' for the OU (eg. ou=People,dc=instXY,dc=ac,dc=lk)
     71  - Select `New Entry` on '''Right click Menu'''
     72  - Then `Create entry from Scratch`  -->  `Next`
     73  - Select `inetOrgPerson` and click `Add`
     74  - Select `eduPerson` and click `Add` and `Next`
     75  - Type `uid` as the '''RDN''' and the desired username value in-front of it and then '''Next'''
     76  - Enter desired values for '''cn''' (First Name) and '''sn''' (last Name)
     77  - Enter `new attribute` from '''right click menu'''  as `userPassword` and click finish. when it asks, enter the new users password and select '''Plaintext''' as the hash method and click '''OK'''
     78  - You may add any other attribute as well.
     79  - Then click finish
    8280
    8381