Basic Install of Samba Server 1.3 on ArcaOS: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
After Samba is installed the configuration is “bare bones”.  There are no admin or user accounts created, and there are no shares created
After Samba is installed the configuration is “bare bones”.  There are no admin or user accounts created, and there are no shares created


==kLIBC User Management==
*Before we go into Samba we need to create some users to make Samba work.   
*Before we go into Samba we need to create some users to make Samba work.   
The users are:  root, guest, nobody, and a real user such as yourself.  The users are created with a tool named:  kLIBC User Management.  It will appear after Samba is installed in the Programs group.  Look in the Programs and you will see:
The users are:  root, guest, nobody, and a real user such as yourself.  The users are created with a tool named:  kLIBC User Management.  It will appear after Samba is installed in the Programs group.  Look in the Programs and you will see:
Line 51: Line 52:


Then click Save and Exit
Then click Save and Exit
== OS/2 Command prompt==
Now we need to assign password for those users in Samba.  There is a command line program to do this initial setup.  There is a GUI for this process but it does not function until Samba is running, and we have not configured Samba yet.
Now we need to assign password for those users in Samba.  There is a command line program to do this initial setup.  There is a GUI for this process but it does not function until Samba is running, and we have not configured Samba yet.
Open up a command prompt and enter:  cd \Programs\Samba
Open up a command prompt and enter:  cd \Programs\Samba
Line 57: Line 60:
Do this for root, guest, and your username:
Do this for root, guest, and your username:


[[image:Img_samba_config_010g.jpg | 400px]]
[[image:Img_samba_config_010a.jpg | 400px]]
 
==Simple Samba Configuration Center==
Now we can start to use the Samba configuration program.
To start the configuration open the Simple Samba Configuration Center:
 
[[image:Img_samba_config_010b.jpg | 400px]]
 
The first time you open the Configuration Center you get a dialog to install libraries using YUM.  It is a good idea to use this option to get ArcaOS updated for Samba.  Click Continue button. It takes a minute depending on your internet connection speed.
 
[[image:Img_samba_config_002aa.jpg | 400px]]
 
Now you should see the configuration main dialog:
 
[[image:Img_samba_config_002b.jpg | 400px]]
 
Click on Global
You will see the defaults entered.
Edit as needed
Take note of the NetBIOS name.  That is the server name we will use to connect.
The Workgroup name can be set here.  Workgroup is not too important to connect.  It is sometimes helpful when browsing for servers.
 
[[image:Img_samba_config_012a.jpg | 400px]]
 
Then click Save button and Yes button
 
[[image:Img_samba_config_013a.jpg | 400px]]

Revision as of 15:20, 15 July 2017

Basic Install and Configure Samba 1.3.0 For ArcaOS

The install and configuration of Samba Server 1.3 is a bit confusing. I am simply thankful that BWW took the time to port Samba and hope they continue to maintain the port.

This assumes ArcaOS 5.x and Samba Server 1.3 from Netlabs. This version of Samba branch is older... 3.6 the GA Samba at the time of writing this is 4.6.

How to Install

Samba Server can be selected to install during the original install of ArcaOS or later after the initial install. The selection during install is simply a check box on the Configure Networking / Install network services screen.

If you install later you can download the latest version from:

http://trac.netlabs.org/samba

The download is a Warpin install. It is fairly simple click through to install. After Samba is installed the configuration is “bare bones”. There are no admin or user accounts created, and there are no shares created

kLIBC User Management

  • Before we go into Samba we need to create some users to make Samba work.

The users are: root, guest, nobody, and a real user such as yourself. The users are created with a tool named: kLIBC User Management. It will appear after Samba is installed in the Programs group. Look in the Programs and you will see: bitwiseworks Apps and Ports

Open bitwiseworks Apps and Ports and you will see another folder to open:

Now you will see kLIBC User Management:

Start kLIBC User Management and you will see the defaults that were set from the initial install of ArcaOS. If you have not used this program before there will be some odd things. Only three users and some defaults that say “Missing message 193!”. Don’t worry this is normal. We will correct these omissions.

Let’s start with the user root. That is the system administrator login. Select root and then click Edit user. Correct the Full Name and add a password into the two fields Note: this password is something you need to remember and store in your password vault. I recommend something like KeePassX

Add correct the guest account with name and password. Then add a user named: nobody And have at least one user name for yourself. When finished the dialog should look something like this:

Then click Save and Exit

OS/2 Command prompt

Now we need to assign password for those users in Samba. There is a command line program to do this initial setup. There is a GUI for this process but it does not function until Samba is running, and we have not configured Samba yet. Open up a command prompt and enter: cd \Programs\Samba then: smbpasswd –a root You will get prompted to enter the password and verify. Do this for root, guest, and your username:

Simple Samba Configuration Center

Now we can start to use the Samba configuration program. To start the configuration open the Simple Samba Configuration Center:

The first time you open the Configuration Center you get a dialog to install libraries using YUM. It is a good idea to use this option to get ArcaOS updated for Samba. Click Continue button. It takes a minute depending on your internet connection speed.

Now you should see the configuration main dialog:

Click on Global You will see the defaults entered. Edit as needed Take note of the NetBIOS name. That is the server name we will use to connect. The Workgroup name can be set here. Workgroup is not too important to connect. It is sometimes helpful when browsing for servers.

Then click Save button and Yes button