Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[lubuntu] Help with Win9x, OS/2, DOS, & WfW access to SAMBA

$
0
0
Hello,

Here goes my first post to this group... I am using Lubuntu 17.10 virtualized on VMWare fusion running on my MacBook Pro. I am hoping to use the VM as a networking bridge to all of my old Macs and PC OSs so that they can share text files to the VM and edit existing text files. Good progress has been made on the Mac side with help from the Applefool article referenced in this post. Netatalk 2.1.6 is running and various old Macs (SE/30, IIsi, G4 tower) running OS 6.0.8 to 9.2.2 can connect and share/edit files. Note, the Lubuntu VM and all machines referenced are ethernet connected via my old Hawking Technology Skyhawk wifi router.

I installed SAMBA on the VM with instructions in this article. smbd -V reports Version 4.6.7-Ubuntu. With the smb.conf listed below, here is what works (access the VM, create and edits files):
  • The MacBook Pro host can access the Lubuntu VM
  • Windows XP works; this is a standalone PC
  • The following are all OSs on a multi-OS PC
    • Windows NT 3.51 Server works
    • Windows NT 3.51 & 4.0 Workstation work
    • Windows 2000 (not tried yet)
    • Windows NT 4.0 Server (not tried yet)
    • BE OS 5.0 (not tried yet)


Here are the OSs on the multi-OS PC that don't work and some comments...

DOS 6.2.2
  • Attempting to net use x: \\Lubuntu-vm\tc fails with "access denied" after entering the correct password
  • Note, when I do the lanman login at boot, I am asked if I want to create a password file and I have always said "N"


Window for Workgroups v3.11 (I think this is the correct version)
  • Sees \\LUBUNTU-VM when browsing MSHOME
  • When attempting to map network drive to \\LUBUNTU-VM\TC
  • "Access Denied" after correct password was entered


Windows 95, 98, & ME

  • Sees \\LUBUNTU-VM\IPC$ when browsing MSHOME (see Notes below RE printing...)
  • When attempting to access \\LUBUNTU-VM\IPC$ "Access denied" after correct password
  • When attempting to map network drive to \\LUBUNTU-VM\TC
  • "Access Denied" after correct password was entered


OS/2
  • Sees \\LUBUNTU-VM it its network viewer thing
  • I cannot connect to it from an OS/2 command prompt with "net use"
  • I don't recall if it was Access Denied or if the machine could not be found
  • I have not tried this OS again after adding "lm announce = yes" which was a tidbit found on the interweb


Notes:
  • DOS, WfW, Win9x, OS/2 all can successfully network and connect to the XP PC
  • MSHOME is the workgroup on all of the OSs
  • TC is both a user on the Lubuntu VM and has a SAMBA user
  • All OSs use TC as the user on the machine
  • I don't care about printing from these old OSs so the print-related entries have been removed
  • Security is not a concern as this is a closed home network


I have been Googling and poking through current and old Samba manual pages and below is my smb.conf
I have seen references to hacking the Win9x registry for plain text passwords but that won't help the DOS side of the equation. THere was also some reference to setting "password level = 8" but I could not find details on this.
I'd greatly appreciate any input on getting the above OSs on the multi-boot PC working.

THx!!


Code:

tc@Lubuntu-VM:~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_STANDALONE


Press enter to see a dump of your service definitions


# Global parameters
[global]
    server string = %h server (Samba, Ubuntu)
    workgroup = MSHOME
    lm announce = Yes
    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
    usershare allow guests = Yes
    server max protocol = NT1
    client lanman auth = Yes
    client NTLMv2 auth = No
    client plaintext auth = Yes
    lanman auth = Yes
    map to guest = Bad User
    ntlm auth = Yes
    obey pam restrictions = Yes
    pam password change = Yes
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    passwd program = /usr/bin/passwd %u
    security = USER
    server role = standalone server
    unix password sync = Yes
    dns proxy = No
    idmap config * : backend = tdb




[homes]
    comment = Home Directories
    browseable = No
    create mask = 0775
    directory mask = 0775
    read only = No
tc@Lubuntu-VM:~$


Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>