IBM Support

How to access file shares from IBM i using QNTC

Question & Answer


How to access file shares from IBM i using the QNTC file system.


The IBM i OS QNTC file system allows the IBM i to act as a client in an smb/cifs network and access Windows, Samba and IBM i file servers.

The QNTC file system resides under the Root (/) IBM i file system. WRKLNK '/QNTC/*' will display the external network servers that are hosting network file shares. This list is populated in two ways. The first is dynamically via a browse of the network domain name specified in the IBM i OS NetServer properties. The second is by manually doing a MKDIR '/QNTC/server' where server is replaced by the external server Host Name or IP address. All directories under the QNTC file system survive only until the next IPL and must be recreated following the IPL. Directories that were dynamically created via the browse of the network domain should populate again, but directories created via MKDIR will have to be created via MKDIR again.

To connect to external file servers, the IBM i QNTC client must send valid credentials. By default, the IBM i sends the current logged-on users' USRPRF and PWD.
However, an interactive user can connect using an alternate IBM i USRPRF via SBMJOB.
For example:

SBMJOB CMD(DSPLNK OBJ('/qntc/MyRemoteFileServer/*')) USER(AlternateIBMiUSRPRF)

The AlternateIBMiUSRPRFmust exist on both the client IBM i and MyRemoteFileServer and the passwords must match between those systems.

A significant note to be aware of is that if the IBM i OS QPWDLVL (Password Level) system value is set to 0 or 1 meaning that IBM i OS Passwords can only be 10 characters long, all alphabetic characters are not case sensitive, may include numbers and the the four special characters of #, $, _, or @. When these passwords are passed to the external file server, all alphabetic characters are passed in lowercase.

QPWDLVL values 2 and 3 will pass the case-sensitive stored password.

Additional information on the IBM i OS QNTC or NetClient file system is available in the IBM i OS Knowledge Center at the following Related Information link.

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Integrated File System","Platform":[{"code":"PF012","label":"IBM i"},{"code":"PF033","label":"Windows"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSC5L9","label":"IBM i 7.2"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSC52E","label":"IBM i 7.1"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSC3X7","label":"IBM i 6.1"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
18 December 2019