My 'intranet' : Setting up shares


Step 1 : Hardware
Step 2 : RISC OS
  • Setting up shares
Step 3 : Windows 3.11
Step 4 : Actually doing it
Connecting to...

Icon bar; GIF 5K
Click MENU on the Samba icon bar icon, and choose the Configure... option. In the window that opens...
Samba setup; GIF 7K on Shares.

The Shares window will open, listing your shares:

Adding a share; GIF 16K

The Shares window can have a large view (shown), a small view and an information view. This is pretty much the same as the Filer in concept. Again, Samba uses standard icons, so if you have nicer ones then this window will look nicer. :-)

You can add/delete/copy/rename your shares here.
In order to add a share, click MENU in the Shares window, open the New Share subwindow, and type the share name into the icon, then click OK.
I am calling this share "Test".


Setting a password; GIF 18K
Click SELECT on the share 'Test' to select it. Then click MENU, open the Share '???' submenu and then the Set Password subwindow (as shown). Type in a password and then click on Set. This password is encrypted, and is effective immediately.



Double-click on a share to set it's properties.

Share properties; GIF 26K

The Comment is a useful description of the share. You can see this in effect in the net view command.

The Path is the path to share. This can be any valid filing system (including CDFS). You can drag a directory to this icon, if you don't fancy typing it all in.

I guess you could share from LanMan:, and thus share the files of a PC right back to it. That, though, is likely to be a bit of an exercise in futility.
Mmmm, I wonder what would happen if we got two RISC OS boxes to share from each other's servers? Could be briefly amusing...

The Print command is used by the client, the file is copied across. This command is executed to print the file. I do not wish for anything to be printed in that way, so I just leave this blank.

If you select Read only, the share will be read only. That means you can't store stuff on the share, or edit any of the files. CD-ROMs are ideal candidates for the Read Only treeatment.

If you select Guest OK, then no password is required to connect to the share. Need I mention the blatantly obvious security issues? It is reocommended that you ALWAYS set a password for your shares, even in a network-in-my-bedroom sort of situation.

If you choose Printable, then your share is a printer share rather than a file share.

The Delete readonly option allows readonly files to be deleted. This is not normal in DOS (nor is it logical), but it is allowed by Unix (which is pretty illogical itself!).

The Set filetype, Append filetype and Strip extension determine how file types/extensions are dealt with.

This is clever and nifty. So set all three options.

If you select Detect DOSdisc, then Samba will override the three filetype options described above and use something more suited to serving of DOS files. This, also, is nifty.

If you select Expand archive and you have !SparkFS or !ArcFS loaded, then archives will appear as regular directories. Note that if you don't have !SparkFS or !ArcFS loaded, or you do not select this option, then the archives will just appear as zip files.

The Detect extension option makes extension handling more sane, so when serving files with truncated extensions already provided, like "myprogs/ht", will be served as "myprogs.html" instead of something like "myprogs/ht.html".

The Hex file types will set the served extension to the three-digit hex filetype for the file. This, generally, causes a bit of a panic if you save to a share when hex filetypes is set. Best not use it, really!


Click OK in the share setup window. Then close the Shares window (unless you wish to add or edit another share), and finally click Save on the Samba Server Configuration window.

Copyright © 2001 Richard Murray