Changes

Jump to: navigation, search

OPS335-Lab-ldap

42 bytes added, 14:32, 6 March 2020
no edit summary
* The admin username <code>ldaproot</code> and the password <code>seneca99ldap</code>
* An Organisation Unit named People, for regular users.
* With one regular user <code>john</code>, whose password you should change using the '''ldappasswd ''' command.
The rest of your tasks for this section of the lab are to set up your vm1/vm2/vm3 to authenticate using the LDAP service hosted on vm4.
</source>
*Use the '''ldapadd ''' command to enter this new information into the database (see the Itzgeek tutorial for an example). As before use simple authentication, the distinguished name of the ldap administrator, and get prompted for a password.* Use '''ldapsearch ''' to confirm that the new users have been added to the database. You should get output similar to the following:
<source>
# extended LDIF
*Each entry in an ldif file identifies an object to work with, and a changetype (which is an action to take on that object). Depending on the changetype, there might be an extra line for information to be changed or added.
*Write an ldif file called update1.ldif that will add the attribute roomNumber to the user with your username. Set the value of roomNumber to be the room your class takes place in.
*Use '''ldapmodify ''' to apply this file to your database, then run a search to confirm the new entry has been added.*Write a new ldif file called update2.ldif that will replace the email address of the user with your username so that it has your actual Seneca email address. Use '''ldapmodify ''' again to apply this change to the database.*Write a third ldif file called update3.ldif to delete the user john from the database, then apply that change using '''ldapmodify ''' again.*Use '''ldapsearch ''' to confirm that these changes have taken place.
*Note that it is possible to write ldif files to make multiple changes at once, but that is beyond this course.
572
edits

Navigation menu