Changes between Version 1 and Version 2 of guiiam2018
- Timestamp:
- Sep 16, 2018, 6:59:02 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
guiiam2018
v1 v2 5 5 On this tutorial we will go through two UI setups that will focus on different outputs. 6 6 7 1/ Apache Directory Studio (For Admins) 7 == Apache Directory Studio (For Admins) == 8 8 9 Download and install10 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 }. 11 11 12 Installation steps https://directory.apache.org/studio/users-guide/apache_directory_studio/download_install.html12 Installation steps https://directory.apache.org/studio/users-guide/apache_directory_studio/download_install.html 13 13 14 Once the installation succeeds open the Apache Directory Studio.14 Once the installation succeeds open the Apache Directory Studio. 15 15 16 Creating the ldap connection: 16 Creating the ldap connection: 17 {{{ 18 Go to File --> new --> ldap browser --> ldap connection --> next 19 }}} 17 20 18 Go to File --> new --> ldap browser --> ldap connection --> next 21 Enter your deatils: 19 22 20 Enter your deatils: 21 23 {{{ 22 24 Connection Name: LDAP Server 23 25 Hostname: ldap://idp.instXY.ac.lk … … 25 27 Encrypted Method: Use STARTTLS 26 28 Provider: Apache Directory LDAP Client API 29 }}} 27 30 28 Next 31 `Next` 29 32 33 {{{ 30 34 Authentication Method: Simple Authentication 31 35 Bind Dn: cn=admin,dc=thilinapathirana,dc=xyz 32 36 Bind 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 }}} 53 38 54 39 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. 56 41 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` 62 43 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` 64 58 65 59 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` 67 67 68 Select root location for the OU (eg. ou=People,dc=instXY,dc=ac,dc=lk)69 Select New Entry on Right click Menu70 Then Create entry from Scratch --> Next71 Select inetOrgPerson and click Add72 Select eduPerson and click Add and Next73 Type uid as the RDN and the desired usernsme value in-front of it then Next74 68 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 82 80 83 81