Am 15.06.2012 um 23:26 schrieb Marcos Favero Florence de Barros:

> It did work, but it turned out to be very fragile.
> As soon as the two people use the database more intensively, the
> system crashes -- in most cases, both server and client. If on
> the other hand they do things slowly, it works just fine.
> 
> The hardware is mostly early Pentiums donated to us. The network
> software is MS-Client.

Server Side: As I understand it, you use a FreeDOS machine with MS Client as 
server. To have server functions, you updated MS Client with WG1049.EXE (which 
is not legal but also not officially forbidden, see: 
http://www.jacco2.dds.nl/samba/dos.html#msclient ).

Client Side: FreeDOS with MS Client as client.

It's been a few years since I played a lot with FreeDOS and MS Client as server 
and as far as I remember it was never working great for me. "Fragile" is the 
word I have in mind too when I remember MS Client as server.

I have read that MS Client with MS DOS works OK for you. But if you want to 
stick with Free Software, why not use a real Samba server together with the 
FreeDOS/MS Client clients? A Pentium 1 should be enough for that. Download for 
instance Debian Stable from here:

http://cdimage.debian.org/debian-cd/6.0.5/i386/iso-cd/debian-6.0.5-i386-netinst.iso
 

and when it comes to step "Software selection" choose "File server". This will 
install Samba. Don't install a desktop environment.

The following configuration file for Samba (/etc/smb.conf) works fine with MS 
Client on FreeDOS:

#======================= Global Settings =======================

[global]

workgroup = WORKGROUP
server string = %h (Samba %v)
wins support = yes
os level = 65
domain master = yes
local master = yes
preferred master = yes
name resolve order = hosts lmhosts host wins bcast
dns proxy = no
lm announce = true
lanman auth = yes

#======================= Authentication ========================

security = share
encrypt passwords = true
invalid users = root
unix password sync = false
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n 
*password\supdated\ssuccessfully* .
max log size = 100

#======================= Misc ================================

socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096

; Name mangling options for DOS clients
case sensitive = no
default case = upper
preserve case = no
short preserve case = no
mangle case = yes
mangled names= yes
mangling method = hash
mangle prefix = 6

; charsets
; unix charset = UTF-8
unix charset = ISO8859-15
dos charset = 850

#======================= Shares ==============================

[share]
comment = Samba Share
writeable = true
path = /home/USERNAME
browseable = yes

#===========================================================


Please exchange the name of the WORKGROUP with the name you want to use.

Please exchange USERNAME with the name of the user you configured in Debian.
After you configured the above smb.conf, you have to update his password again 
with the command
sudo smbpasswd -a username.
This update is necessary to make lanman auth work. For more info see:
http://www.heise.de/ct/hotline/Samba-DOS-Client-zickt-1172774.html

On the clients, please edit the line in MS Client's SYSTEM.INI 
workgroup=WORKGROUP
to have the same workgroup name as in smb.conf.

I use the full redirector, so in SYSTEM.INI the line is
preferredredir=full

Also on the clients, please edit the line in MS Client's SYSTEM.INI 
username=USERNAME
to point to the user configured in Debian and Samba.

Now reboot the DOS machine with the new user configured. If you start MS Client 
f.i. by typing "net view", it will automatically ask you for your password and 
store it in the users password list file (*.pwl).

You can now connect the FreeDOS machine to your Samba server by typing

net use I: \\NAMEOFSERVER\SHARE

and have the Samba share mapped to drive I: on the client. I just tested it and 
it works for me.

regards
Ulrich




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to