If you set the *PUBLIC authority of the user profile QTMPLPD to *EXCLUDE, only
users with user IDs that are the same on both the sending and receiving AS/400
systems receive spooled files on the destination system. The QTMPLPD user
profile ships with an authority of *OBJOPR. If you do not have a user ID on the
destination AS/400 system, you are still able to send spooled files to the destination
system under the QTMPLPD user profile.
Receiving Spooled Files — Benefits
There are advantages to having a user ID defined on the receiving AS/400 system.
If you have the same user ID on both systems, you are the owner of the spooled
file on the receiving system. It is then easier to find and access the spooled file on
the destination system. You can find the spooled file with the
Work with Spooled
Files
(WRKSPLF) command.
If you do not have a user ID on the receiving system, then QTMPLPD owns the file.
Because you do not own the spooled file, you might have limited access to the
spooled file. Your authority to the output queue on which the spooled file is located
determines your access to the spooled file.
If you are using a security level of 50, the system value QALWUSRDMN (allow user
domain objects in libraries) must contain the library name QTEMP to enable LPR
service. It must also contain the library name QUSRSYS to enable LPD service.
Creating a Default User Profile
A user profile, QTMPLPD, is necessary to allow remote LPR requests that do not
have an AS/400 user ID to access printer files on an AS/400 system running LPD.
The QTMPLPD user profile ships with the TCP/IP licensed program. If you damage
or delete the QTMPLPD user profile, specify the following to create the user profile:
CRTUSRPRF USRPRF(QTMPLPD)
PASSWORD(*NONE)
USRCLS(*USER)
MSGQ(QTCP/QTMPLPD)
AUT(*EXCLUDE)
PWDEXP(*NO)
PWDEXPITV(*NOMAX)
RVKOBJAUT OBJ(QTMPLPD)
OBJTYPE(*USRPRF)
USER(*PUBLIC)
AUT(*ALL)
GRTOBJAUT OBJ(QTMPLPD)
OBJTYPE(*USRPRF)
USER(*PUBLIC)
AUT(*OBJOPR)
376 OS/400 TCP/IP Configuration and Reference V4R4