Am 24.09.2018 um 23:08 schrieb
john...@nospam.com.au:
> Does OS/2 include protocols required for reading and writing files to any
> Network Attached Storage device?
It depends.
Basically there are two options:
#1 Use Samba for OS/2.
This is sufficiently recent to connect to almost any server using the
CIFS protocol. While this works flawlessly it requires a license for
NetDrive (or newer eCS).
#2 Tweak the samba server to accept OS/2 Lanman 2 protocol, used by the
standard IBM Peer Requester. This Requires Warp Connect or newer and
*all* available network Fixpacks applied.
There are several security relevant changes to be made to the server for
LANMAN2 to work, mainly:
obey pam restrictions = Yes
lanman auth = Yes
ntlm auth = yes
raw NTLMv2 auth = no
lm announce = yes
min protocol = LANMAN2
You should also know that usernames are always uppercase in LANMAN2.
You can compensate for that by a mapping file:
username map = /etc/samba/users.map
The file should contain entries like
yourname = YOURNAME
Of course the username and password of IBM Peer (local logon) and the
Server should match.
This solution still works with recent Samba 4.8. BTDT recently.
Both methods work without any further problems. But the second version
has the drawback that the servers security need to be weakened
significantly. This has no direct impact on other recent clients, but
clients /could/ connect without up-to-date security, and, of course, IBM
Peer will do so. So be sure to have a private network.
Most likely for reasonable EA support you might want the following
server config, independent of th above solution:
ea support = Yes
map archive = No
mangled names = No
store dos attributes = Yes
But the underlying file system of the server must support EAs as well.
This is not that uncommon for NAS devices since they all have Linux. But
many Linux file systems restrict EA size to 4kB which is not sufficient
for all OS/2 operations (it requires 64kB). So I recommend to use XFS as
server file system which does not have this kind of restrictions and it
is supported by default by the Linux kernel.
Marcel