fhg
Volume 12, Number 16 -- June 13, 2012

Admin Alert: Of Course, Everything I Know About NetServer Could Change

Published: June 13, 2012

by Joe Hertvik

In my last column, I explained why people lose IBM i NetServer access, discussing some common ways to restore NetServer access to a user profile. Little did I realize that I had barely scratched the surface of this topic. Thanks to alert reader Tony Cusack, I learned some new NetServer tricks I didn't even know existed. Here's what Tony taught me and how it can help you better manage your NetServer configuration.

In Our Last Episode. . .

Last time, I provided the following information on managing IBM i NetServer user profile access.

  • A user's NetServer access can be disabled the same way their IBM i user profile can be disabled: by entering more invalid sign-on attempts than are allowed in the Maximum Sign-on Attempts Allowed (QMAXSIGN) system value.
  • You can restore NetServer access for a user in one of three ways: 1) Stopping and restarting the TCP/IP NetServer server; 2) Re-enabling a NetServer User ID through IBM i Navigator/System i Navigator/iSeries Access Navigator (collectively and lovingly referred to as OpsNav); and 3) Using the Change User Profile (CHGUSRPRF) command.

All of these techniques can be found in last week's tip. But there's a lot more to this story, including the fact that one of these techniques will be soon be obsoleted and that there's a green-screen NetServer configuration menu that you may not know about. Here's what I learned.

Bye, Bye, CHGUSRPRF For NetServer Re-Enablement

No sooner had I documented the time honored way of re-enabling NetServer access by using the CHGUSRPRF command to change any parameter on the user profile, when Tony Cusack wrote in to tell me that IBM is taking this capability away. Here's the story as I know it.

In the current IBM i NetServer design, anything that changes the last modified date for a user profile will re-enable IBM i NetServer access for that profile. This is why after you change almost anything on a user profile, that user's NetServer access will be reset, even if it was disabled. But there's a problem with this technique, as IBM astutely noted the following in APAR MA42015:

The method of using the Change User Profile (CHGUSRPRF) command to re-enable IBM i NetServer users does not provide a well-controlled interface for ensuring that NetServer users are only re-enabled by a systems administrator.

And Big Blue has a point here. Notwithstanding that IBM i administrators have been using this technique for NetServer re-enablement since NetServer was first introduced, using CHGUSRPRF to re-enable NetServer access is a pretty insecure and weak way to reset access.

Because of this, IBM recently took away the CHGUSRPRF option for NetServer re-enablement. It is doing this by releasing the following PTFs for each supported operating system.

  • i5/OS V5R4M0: MF55657
  • i5/OS V5R4M5: MF55658
  • i 6.1.0: MF55659
  • i 6.1.1: MF55660
  • i 7.1.0: MF55661

Installing any of these PTFs on your system will remove the ability to use CHGUSRPRF to re-enable a user for NetServer access. The projected release date for these PTFs was May 25, 2012, which means they are available right now. So the next time you load up a cumulative PTF package, you may be inadvertently preventing the Change User Profile command from re-enabling NetServer access for a particular user.

You can read more about these PTFs and IBM's RSTNETUSRP command for re-enabling NetServer access by reading IBM Software Technical Document 633149683, CL Program and Command to Re-Enable NetServer Users.

So How Do I Replace CHGUSRPRF For NetServer Re-Enablement?

To provide a native green-screen interface for working with IBM i NetServer, IBM delivers the GO NETS menu in i5/OS V5R4M5, as well as in the i 6.1 and i 7.1 operating systems. The NETS menu provides green-screen options for working with and configuring the NetServer server; adding, changing, and removing file and printer shares, and for re-enabling user profile access to NetServer.

IBM delivers the NetServer menu (GO NETS) inside the QUSRTOOL library, where it can be installed into the NETSRVCMD library where it resides. You can check and see if the NETS menu is installed on your system by using the following command.

WRKOBJ OBJ(*ALL/NETS)

If NETS is present on your system, you'll see a NETS menu object (*MENU) and a NETS message file object (*MSGF) installed on the system. If they aren't present, you'll have to install the NETSRVCMD library from QUSRTOOL before you can use the NETS menu. IBM provides installation instructions for creating the NETSRVCMD library and for installing the GO NETS command and other green-screen NetServer utilities on the IBM i NetServer GO NETS command screen tool website. After using the commands on this website, the NETS menu will be installed and ready to use. Simply add the NETSRVCMD library to your library list and run the following Go to Menu (GO) command.

GO MENU(NETS)

As shown here, the NETS menu contains 15 different options for working with the NetServer server and its file and print shares, sessions, and for re-enabling NetServer users.


Figure 1

(Click graphic to enlarge.)


Option 12, Work with NetServer Users, provides a green-screen interface for re-enabling users for NetServer access. Its menu screen looks like this:


Figure 2

(Click graphic to enlarge.)


From here, all you have to do to re-enable a user for NetServer access is place a "7=Enable" in front of the user profile you want to re-enable for NetServer access and press Enter. This is a lot easier to use and understand than using the CHGUSRPRF command to make changes to a disabled NetServer user profile.

Again, thanks to Tony Cusack for cluing me in to IBM eliminating the CHGUSRPRF option and for showing me how and where to find the GO NETS menu.

Other NetServer Access Solutions

Another reader also wrote in to ask me about using NetServer to create file shares to the Document Library Services (QDLS) file system on the IBM i. Specifically, the reader was having two problems with creating QDLS NetServer shares pointing to QDLS folders.

  1. In order to map a NetServer file share to a QDLS folder, the user had to be registered in the IBM i System Distribution Directory (SDD). Users can be registered in the SDD by using the Work with Directory Entries (WRKDIRE) command.
  2. The reader was having problems trying to map multiple shares, where one share pointed to a QDLS folder and another share pointer to a folder that resided off the root directory ('/') of the IFS. According to this reader, IBM does not allow you to map a QDLS folder NetServer share and any other IFS-based NetServer share at the same time.

To help my reader solve his IBM i NetServer technical issue, I referred him to IBM Software Technical Document 25851028, IBM i5 NetServer Debug Checklist for 'Access Denied Errors'. This document answered the reader's question about whether the user needed to be enrolled in the Systems Distribution Directory (SDD) to map a NetServer QDLS-based file share (yes, he does). It also contains 10 other tricks for diagnosing and solving NetServer problems, so I'd recommend reading it if you're experiencing problems with your NetServer connection.

However, as of press time, I couldn't find any references to IBM not allowing you to map multiple file shares to QDLS and other IFS folders. If anyone has any more information on this limitation, please email me and I may use that information in a future column.

Follow Me At My Blog, On Twitter, And On LinkedIn

Come check out my blog at joehertvik.com, where he focuses on computer administration and news (especially IBM i); vendor, marketing, and tech writing news and materials; and whatever else he come across.

You can also follow me on Twitter @JoeHertvik and on LinkedIn.


Joe Hertvik is the owner of Hertvik Business Services, a service company that provides written marketing content and presentation services for the computer industry, including white papers, case studies, and other marketing material. Email Joe for a free quote for any upcoming projects. He also runs a data center for two companies outside Chicago. Joe is a contributing editor for IT Jungle and has written the Admin Alert column since 2002.


RELATED STORY

Three Ways To Fix NetServer Access Problems



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
WORKSRIGHT SOFTWARE

Do you need area code information?
Do you need ZIP Code information?
Do you need ZIP+4 information?
Do you need city name information?
Do you need county information?
Do you need a nearest dealer locator system?

We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

Just call us and we'll arrange for 30 days FREE use of either
ZIP/CITY or PER/ZIP4.

WorksRight Software, Inc.
Phone: 601-856-8337
Fax: 601-856-9432
E-mail: software@worksright.com
Web site: www.worksright.com


Senior Technical Editor: Ted Holt
Technical Editor: Joe Hertvik
Contributing Technical Editors: Edwin Earley, Brian Kelly, Michael Sansoterra
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

CCSS:  Customer Spotlight - Take a pro-active approach to systems management
New Generation Software:  Announcing the $475 IBM i Query & BI SDK. Order a FREE trial by June 30
RJS Software Systems:  Go Paperless with WebDocs.


 

IT Jungle Store Top Book Picks

BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

The iSeries Express Web Implementer's Guide: List Price, $49.95
The iSeries Pocket Database Guide: List Price, $59
The iSeries Pocket SQL Guide: List Price, $59
The iSeries Pocket WebFacing Primer: List Price, $39
Migrating to WebSphere Express for iSeries: List Price, $49
Getting Started with WebSphere Express for iSeries: List Price, $49
The All-Everything Operating System: List Price, $35
The Best Joomla! Tutorial Ever!: List Price, $19.95


 
The Four Hundred
Q&A With Colin Parris, IBM's Power Systems GM

Lawson's 'Landmark' Plans Following Infor Acquisition

Upward Mobility: Taking Your IBM i With You

As I See It: Bad Boys Rising

Why IBM Is Trying To Surf The Linux Wave With Power Systems

Four Hundred Stuff
HarrisData to Take on ADP with Cloud-Based Payroll

IBM i Apps on iPads Energize BakerCorp

Red Oak Delivers 5250 Emulator for iPad

Rational Team Concert Now Supports Dependency Builds for IBM i

Zend Readies Framework 2.0, Pushes 'Smart Start' for IBM i

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
June 9, 2012: Volume 14, Number 23

June 2, 2012: Volume 14, Number 22

May 26, 2012: Volume 14, Number 21

May 19, 2012: Volume 14, Number 20

May 12, 2012: Volume 14, Number 19

May 5, 2012: Volume 14, Number 18

TPM at The Register
Dell blades up EqualLogic storage arrays

Fusion-io gives Cisco blade servers some flash

Dell cranks vStart virty server stacks to 1000

AMD tiptoes past sparring rivals in embedded CPU foray

Intel rivals crash Hot Chips party with full-fat server silicon

HP still NOT porting HP-UX to x86?

SUSE Linux and Canonical invade Windows Azure

Samsung slams down $1.9bn for mobile chip fab

Oracle's big cloud announcement, again

Microsoft backsteps Azure from platform to infrastructure cloud

Egenera stretches control freak from blades to clouds

Oracle tweaks LDom hypervisor homegrown Sparcs

THIS ISSUE SPONSORED BY:

Bug Busters Software Engineering
ProData Computer Services
WorksRight Software


Printer Friendly Version


TABLE OF CONTENTS
The New Basics

DB2 For i XMLTABLE, Part 1: Convert XML to Tabular Data

Admin Alert: Of Course, Everything I Know About NetServer Could Change

Four Hundred Guru

BACK ISSUES




 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2012 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement