Novell Appnotes February 2003
Total Page:16
File Type:pdf, Size:1020Kb
Novell, Inc. 464-000064-002 Novell AppNotes • February 2003 AppNotes • February Novell AppNotes Order Desk PO Box 14530 Fremont, CA 94539 USA Novell AppNotes® Tel 925 463 7391 Tel 800 395 7135 Novell Research www.novell.com Call 1-800-395-7135 for subscriptions FEBRUARY 2003 Novell’s Technical Journal for Implementing, Managing, and Programming to one Net Spotlight on NetWare TCP/IP Stack APPNOTES 4 IP Address Configurations MEDIA MAIL and Usage for the NetWare U.S. Postage 6.5 TCP/IP Protocol Stack PAID Fremont, CA 21 NetWare 6 Trustee Rights: Permit# 774 How they Work and What to Novell Appnotes Returns TCP/IP Spotlight on NetWare Stack Do When It All Goes Wrong c/o Zomax, Inc. 37 Using Public-Domain Site 1640 Berryessa Rd, Suite A Blocking Lists with Novell San Jose, CA 95133 BorderManager USA DEVELOPER NOTES CHANGE SERVICE REQUESTED 53 Understanding and Using Persistent Search in Novell eDirectory 63 An Asynchronous Transaction-Enabled J2EE Application: A Message Driven Bean Example SECTIONS 79 Net Management 94 Net Support 110 Code Break 124 Viewpoints AppNotes ® Novell’s Technical Journal for Implementing, Managing, and Programming to one Net February 2003 Volume 14, Number 2 Editor-in-Chief Gamal B. Herbon Novell AppNotes® (formerly Novell Application Notes, ISSN# 1077-0321, and now including the former Novell Developer Notes) is published monthly by Novell, 1800 S. Managing Editor Ken Neff Novell Place, Provo, UT 84606. The material in the AppNotes is based on actual field experience and technical research performed by Novell personnel, covering topics in these Senior Editor Edward Liebing main areas: Editor Rebecca Rousseau • Network design and optimization strategies • Network management tactics Senior Research Engineers • Novell product internals and theory of operations Kevin Burnett, Morgan Adair • Novell product implementation guidelines • Integration solutions for third-party products Research Engineer Jeff Fischer • Network applications development and tools Graphics Wes Heaps This information is designed to benefit Novell’s technical audience consisting of systems engineers, support engineers, consultants, programmers, network managers, and information Online Production Robert Rodriguez systems personnel. Subscription Information Production Zomax Incorporated The AppNotes subscription rate for a 1-year subscription (12 issues) is US $99. To order, call This AppNotes edition was produced (800) 395-7135 or (925) 463-7391. Orders can also be faxed to (510) 657-1473 or sent by e- using Adobe FrameMaker 6, Illustrator, mail to [email protected]. Or use the order form at the back of each AppNotes Photoshop, QuarkXPress, WebWorks edition. (Bulk subscriptions are available at a discounted rate.) For subscription service Publisher Professional, and HP LaserJet questions and changes of address, call (800) 395-7135 or fax (510) 657-1473. printers. AppNotes on the Web The AppNotes are accessible on the World Wide Web at http://www.novell.com/appnotes. Permissions You must obtain permission before reproducing any material from the Novell AppNotes in any form. To quote from or reprint any portion of an AppNote, send a written request to Novell Research Editor-in-Chief, 1800 S. Novell Place, Provo, UT, 84606, or fax to (801) Reader Service 861-4123. For subscription service questions and AppNote Back Issues changes of address, call: You can order back issues of past Novell AppNotes, subject to availability, for $15 each, $20 (800) 395-7135 or each outside the United States. (Bulk orders are available at a discounted rate.) The (925) 463-7391 Publications List in each AppNotes edition provides part numbers for back issues. For more Or send e-mail to: information, see the order form at the back of this AppNotes edition. [email protected] Editorial Comments Copyright © 2003 by Novell, Inc., Provo, Utah. All rights reserved. Direct any comments or suggestions about Novell, Inc. makes no representations or warranties with respect to the contents or use of the content of AppNotes to: these Application Notes (AppNotes) or of any of the third-party products discussed in the AppNotes. Novell reserves the right to revise these AppNotes and to make changes in their Gamal B. Herbon content at any time, without obligation to notify any person or entity of such revisions or Novell Research changes. These AppNotes do not constitute an endorsement of the third-party product or Novell, Inc. MS PRV A-231 products that were tested. Configuration(s) tested or described may or may not be the only 1800 S. Novell Place available solution. Any test is not a determination of product quality or correctness, nor does Provo, Utah 84606 USA it ensure compliance with any federal, state or local requirements. Novell does not warranty Voice (801) 861-6504 products except as stated in applicable Novell product warranties or license agreements. Letter from the Editor February 2003 Dear AppNotes Readers: Welcome to the February 2003 issue of Novell AppNotes! With BrainShare rapidly approaching, remember to visit the Web site and sign up so you won’t miss a single event. This year’s event will be held April 13-18, 2003. For more information, see the ad in the back of this month’s issue. Better yet, visit the BrainShare site directly at http://www.novell.com/brainshare. Register early and receive the “early bird” discount— tell them the AppNotes sent you! Who knows what pleasant surprises await you at this year’s event! While you are there, I invite you to visit my favorite site, the Novell Developer’s Den in the North Foyer of the Salt Palace. This month we have quite a selection of topics for your perusal. First up we have “IP Address Configurations and Usage for the NetWare 6.5 TCP/IP Protocol Stack,” from Srinivas N. Athreya. Next Randy Stokes and Matthew Culver clarify how NetWare 6 deals with trustees in, “NetWare 6 Trustee Rights: How They Work and What to Do When It All Goes Wrong.” Our last AppNote feature article this month comes from long-time contributor, Marcus Williamson, on “Using Public-Domain Site Blocking Lists with Novell BorderManager.” For developers this month we have “Understanding and Using Persistent Search in Novell eDirectory,” from Jim Sermersheim and Vithalprasad Gaitonde. We also have an article about a sample application using J2EE in “An Asynchronous Transaction-Enabled J2EE Application: A Message Driven Bean Example,” from Vijay Rajan. As always, we have everything you expect in our sections. Be sure to visit our DeveloperNet University Web site at http://developer.novell.com/education frequently to stay up-to-date on the latest! This is an exciting year for Novell with new solutions to your business problems coming to ensure you can do business in a secure and efficient manner. Visit http://www.novell.com on a regular basis to see what is new and what is coming, and to take advantage of the various events (both online and in a city near you). We will be doing another readership survey soon, and many of you will be invited to provide us with feedback. I encourage you to take the opportunity to provide us with your thoughts. If you don’t get an invitation to participate this year, please don’t feel slighted. Know that I appreciate your comments and feedback all of the time. Finally, I want you all to know that you can once again order (or renew) your AppNotes subscriptions online at https://secure-support.novell.com/subscriptions/order.jsp in an easy process. Until next time, Gamal B. Herbon Editor-in-Chief 1 Contents February 2003 APPNOTES (Spotlight on NetWare TCP/IP Stack) 4 IP Address Configurations and Usage for the NetWare 6.5 TCP/IP Protocol Stack Srinivas N Athreya Describes the possible IPV4 address assignments and related usage information for the TCP/IP protocol stack available in the release of NetWare 6.5 and compares the address assignment schemes with what has been set forth in various RFCs. 21 NetWare 6 Trustee Rights: How They Work and What to Do When It All Goes Wrong Matthew Culver, Randy Stokes Explains how NetWare 6 identifies rights to access files, general technical information about the components involved in the process, and looks at common problems Novell has seen with trustees; and provides you with solutions to those problems. 37 Using Public-Domain Site Blocking Lists with Novell BorderManager Marcus Williamson Shows how to use free public-domain site blocking lists in conjunction with Novell BorderManager and third-party tools to enforce network-wide Internet access policies. DEVELOPER NOTES 53 Understanding and Using Persistent Search in Novell eDirectory Jim Sermersheim, Vithalprasad Gaitonde Provides an overview of the Persistent Search feature in Novell eDirectory that is an extension to the LDAP v3 search operation. 63 An Asynchronous Transaction- Enabled J2EE Application: A Message Driven Bean Example Vijay Rajan Describes a sample application that utilizes many of the technologies of a J2EE 1.3 compatible application server. www.novell.com/appnotes 2 SECTIONS 79 Net Management Beyond the Basics - So What Files Are on This Volume? Network Novice - Rights Assignment Recommendations: Part 2 Directory Primer - NDS iMonitor Basics Continued Tips and Tricks - Converting a Sockets-Based Server Application to use SSL 94 Net Support Network Troubleshooter - Migrate NetWare 4 and NetWare 5 Servers to NetWare 6: Part 2 TIDbits - Technical Information Documents of the Month Dear Ab-End - Answers to technical questions about ZfD4 and Management Agents, saving NW6’s Logger screen info