Lab Exercise 5.6: Importing an LDIF File

 <  Day Day Up  >  

In this lab, you're going to create an LDIF file that imports a new user into the tree and also modifies an existing user . Complete the following steps:

  1. If necessary, boot your server and authenticate as your student user with a password of novell .

  2. Open a terminal session.

  3. Change to your root user account by entering su - and supplying a password of novell .

  4. At your shell prompt, enter vi /tmp/newuser.ldif .

  5. Press Ins .

  6. Enter the following text into the file:

     

     version: 1 dn: cn=mhuffman,ou=IF,o=CLE changetype: add objectclass: inetorgperson sn: Huffman title: Manager dn: cn=cgrayson,ou=IF,o=CLE changetype: modify replace: title title: Vice President 

     

  7. Press Esc .

  8. Enter :exit .

  9. Start iManager by opening a web browser and navigating to https :// your_server's_IP_address /nps/iManager.html.

  10. Under eDirectory Maintenance Utilities , select Import Convert Export Wizard .

  11. In the Welcome screen, mark Import Data from File on Disk and then click Next .

  12. In the File Type drop-down list, select LDIF .

  13. In the File to Import field, browse to and select /tmp/newuser.ldif .

  14. Under Advanced Settings , deselect Exit on Error .

  15. Mark Run in Verbose Mode and Add Records Without a Change Type and then click Next .

  16. In the Server Name /IP Address field, enter the IP address of your server.

  17. In the Port field, enter 636 .

  18. In the DER File field, enter /etc/opt/novell/SSCert.der .

  19. Mark Authenticated Login .

  20. In the User DN field, enter cn=admin,ou=IF,o=CLE .

  21. In the password field, enter novell .

  22. Under Advanced Settings , deselect Use LBURP .

  23. Mark Allow Forward References and then click Next .

  24. Select Finish .

  25. Wait while the file is imported.

  26. When prompted that the process is complete, click Close .

  27. Under eDirectory Administration , use the Modify Object task to verify that the mhuffman.IF.CLE object was created and that the title of cgrayson.IF.CLE object was modified.

We've finished our introduction to LDAP. It's critical that you understand the LDAP basics presented here. Recall that earlier I said that eDirectory is the backbone of NNLS because all the components rely on it. These components , however, also rely on LDAP to access eDirectory information.

Let's now turn to a discussion of how to administer eDirectory on Linux.

 <  Day Day Up  >  


Novell Certified Linux Engineer (CLE) Study Guide
Novell Certified Linux Engineer (Novell CLE) Study Guide (Novell Press)
ISBN: 0789732033
EAN: 2147483647
Year: 2004
Pages: 128
Authors: Robb H. Tracy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net