Networking with Samba/2

networksIntro - Part I


Thank you to Paul Smedley for the port of the Samba 4 plugin, it is now possible to connect with Windows 10. I tried to get a 100 percent working solution down for both the NetDrive and the EVFSGUI client, and so far both seems to be working with the new plugin. However, NetDrive seems to be the more stable of the two.

You can donate to Paul for his great work for OS/2 here, and buy NetDrive here !

This is part one of a three part series on networking Samba/2 with OS/2. Part one and two covers the Samba 4 plugin, and how to use it with either NetDrive or EVFS. Part three covers the installation of the latest Samba/2 server. 

Below will cover the installation of NetDrive and installation of the Samba 4 plugins for NetDrive. And how to connect to a Windows 10 network share with NetDrive. Please post your experiences with Linux and Mac in the comments below ! And I am also looking for examples of the command line syntax for EVFS for the next part of the series.
 

NetDrive and Samba 4 plugin


The easiest and recommended way is NetDrive with Samba 4 plugin for the client side.


1) Download NetDrive:

Buy or try the Fully-functional demo (free for unlimited use with the Samba plugin alone), which also serves as an upgrade from any previous 3.x version, may be downloaded here:

English
Fran‡ais

Unzip and run the install program, 'ndinst.exe'

files.png


Start dialog:

start.png


Terms of Use for NetDrive:

terms.png


Target directory:

directory


NetDrive installed, WPS folder & program icons:

icons.png



2) Download the Samba old plugin - We are going to use the included install script instpl.cmd to set everything up first, and then upgrade to the Samba 4 plugin.

- Download ftp://ftp.netlabs.org/pub/samba/client/ndpsmb-2_2_0-Beta4-20140226.zip

- Unzip 'ndpsmb_2_2xxx.zip' and run instpl.cmd to install the Samba plugin for NetDrive.


3) Check plugin if NetDrive is working - Open the 'Control Panel' for NetDrive.

controlpanel.png


Under menu option, 'Volume' , select 'Attach a new volume'

addvolume.png


Now right click on the 'Volume',  select 'Create new mount point at F:', you should see type 'smbfs' see below:

resources.png


Here are the mount point settings for Win 10 (Note: complete rest of the steps first):

configshare.png


4) Upgrade the Samba 4 plugin - Note that installation currently requires some manual copying of files, and an existing installation of the Netdrive Samba plugin (see step 2).

Paul Smedley:



Note that installation currently requires some manual copying of files, and an existing installation of the Netdrive plugin from http://trac.netlabs.org/samba#Clients

...

Before rebooting, it is *VERY* important that you remove the line that loads ndctl.exe from config.sys, ie 'RUN=C:\NDFS\NDCTL.EXE' and add 'detach ndctl.exe' to startup.cmd.  If you don't do this, it's VERY likely you'll get system hangs as the WPS is starting up. The causes of this are being investigated.



Steps - manually upgrading an existing installation of the Netdrive Samba plugin.


a) Download - ndpsmb-3.2-samba46-20170317.zip  and  smbcln46-4.6.0-20170312.zip


Command:  unzip ndpsmb-3.2-samba46-20170317.zip ndpsmb.dll
Command:  unzip smbcln46-4.6.0-20170312.zip smbcln46.dll

Move these dlls to x:\ndfs\ndplugs

b) Download - openldap-2.4.44-os2-20160503.zip  and  heimdal-1.5.3-os2-20160723.zip



Command:  unzip openldap-2.4.44-os2-20160503.zip ldap.dll
Command:  unzip heimdal-1.5.3-os2-20160723.zip *.dll

Move these dlls to your directory of choice in the LiB path, I added x:\programs\extras\lib; to my LIBPATH to keep all Dlls not covered by rpm (easy for re-installs of the OS).

c) Download -
mmap-0_5-1_oc00.zip   and  libcx-0_4_1-1_oc00.zip



Command:  unzip mmap-0_5-1_oc00.zip mmap.dll
Command:  unzip libcx-0_4_1-1_oc00.zip libcx0.dll

Move these dlls to your directory of choice in the LiB path, I added x:\programs\extras\lib; to my LIBPATH to keep all Dlls not covered by rpm (easy for re-installs of the OS).

RPM user:



5) Reboot 



Connecting to Windows 10

Note: remember to reboot and changes seem to take a couple of minutes to take affect when working with Windows.


1
) Open Networking and Sharing Center

2) Click on 'Change advanced sharing settings'

networkingcenter.png


  3) Here is the needed Private settings

privatenetwork.png



4) Guest or Public settings

publicnetwork.png


5) All Networks settings

allnetworks.png


Connecting to Windows 7


1) New install and 'Home network' selected:

networking 1


2) Right click on 'Computer' and select properties

Networking 4


3) Select 'Change settings'

Network 5


4) Click Change, under Computer Name/Domain Changes, change Workgroup to correct one

networking 6


5) Restart Computer

6) Click on the 'Networking' icon

networking 2


7) Click on Networking and Sharing Center

8) Click on 'Change advanced sharing settings'

networking 3


9) Change settings & then logoff/on or better yet restart

10) Here is the needed Home settings (1 of 2)

home 1


12) Home settings (2 of 2)

home 2


13) Public settings (1 of 2)

public 2


14) Public settings (2 of 2)

public 2


15) Save change settings & then restart


Could everyone post what their setup is for everyone please !


References:

Paul Smedley - http://os2ports.smedley.info/index.php

OS2World.com - OS2World forum thread

OS/2 Release Notes - http://os2notes.net/os2win.html

Samba Homepage - https://www.samba.org/samba/docs/

1 2

Site pager



comments powered by Disqus