This is a development version of my free netbios client server for unix.

Please let me know if it works for you!

There is a mailing list for discussion of this software. To subscribe
send mail to netbios-request@arvidsjaur.anu.edu.au

To send mail to everyone on the list mail to netbios@arvidsjaur.anu.edu.au

The mail ftp distribution site for this software is nimbus.anu.edu.au
in the directory pub/tridge/server/.

This software is freely distributable under the GNU public license, a
copy of which you should have received with this software (in a file
called COPYING). If you like this software then please let me know.

If you want to contribute to the development of the software then
please join the mailing list. I'm definately looking for people to
help with the development.

You could also send hardware/software/money/jewelry or pizza vouchers
directly to me. The pizza vouchers would be especially welcome.

Andrew Tridgell
Andrew.Tridgell@anu.edu.au

December 1993



HOW TO TRY IT OUT
=================

1. install a smb client. There are several, eg: Pathworks, Lanmanager
for DOS, Lanmanager for Windows, Lanmanager for OS/2, and lanmanager
for NT come to mind. Lanmanager for dos is available via ftp from
ftp.microsoft.com in Advsys/MSclient/. Please read the licensing stuff
before downloading. Use the TCP/IP option in the client. Add your
server to the \etc\hosts file on the client.

2. Install my server on a unix box. To do this edit the Makefile for
your flavour of unix and preferences then type "make". This will
create smbserver and smbclient.

3. Edit the services file. Something like:

home	/home	W	yourusername
spool	/tmp	P	yourusername

would be a good start.

4. Test the unix server with the unix client, just to make sure it
works. You don't need root privilages for this. Do something like this:

smbserver -D -p 8001 -d 3 -s services -l log &

smbclient "\\yourhostname\aservicename" -p 8001 -d 3 -l client_log

It will ask you for a password. After answering you should get a
"connected" message and the smb> prompt. You can now do dir,get,put,cd
etc. If it doesn't work then look in the log file and try and find
out why.

5. Put the smbserver and services file in some sensible place, like
/usr/local/smb/.

6. Look at your /etc/services. What is defined at port 139/tcp? If
nothing is defined then add a line like this:

netbios-ssn     139/tcp

7. Edit your /etc/inetd.conf and add a line something like this:

netbios-ssn stream tcp nowait root /usr/local/smb/smbserver smbserver -s /usr/local/smb/services -l /usr/local/smb/log -d 1

or more simply:
netbios-ssn stream tcp nowait root /usr/local/smb/smbserver smbserver -d 1

assuming you compiled the appropriate paths in by putting them in the Makefile.

The exact syntax of /etc/inetd.conf varies between unixes. Look at the
other entries in inetd.conf for a guide.

8. Restart inetd, perhaps just send it a HUP.

9. try connecting with the unix client. eg:

smbclient "\\yourhostname\aservice"

10. Try connecting from a dos/NT/os-2 client. Try mounting disks. eg:

net use d: \\servername\service

Try printing. eg:

net use lpt1: \\servername\spoolservice
print filename

Celebrate, or send me a bug report!
