• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

browsing samba server with Win95

I have a linux box with Redhat 6.1 installed and a Win95 box networked together.  I can mount the windows box on the linux box using smbmount fine and dandy, but when I try to look at the contents of my linux box, I can see the samba server and the name for it in network neighborhood, but when I try to look at it, is give me the message "\\linux is not available, the network is busy"  can anyone help?  I have samba started already.

Thanks
0
mattman
Asked:
mattman
1 Solution
 
rbrCommented:
Post your smb.conf file pls.
0
 
mattmanAuthor Commented:
I erased my smb.conf file and put in the [global] [homes] and [printers] sections so linuxconf could configure it.  Then I set everything like disk shares and stuff up and now I can see the samba server on the Win95 box, but it still does the same thing when I double-click it and try to look at the contents, except now it says

"//Matt is inaccessible

The specified computer did not recieve your request, please try again later."

where //Matt is the samba server.

Here is a copy of my smb.conf file.[global]
    unix password sync = yes
    comment = linux
    workgroup = Despain
    encrypt passwords = yes
    security = user
    map to guest = never
    password level = 0
    null passwords = no
    allow hosts = despains
    os level = 0
    preferred master = no
    domain master = no
    wins support = no
    dead time = 0
    debug level = 0
    load printers = no
   


[homes]

[printers]
[linux]
    browseable = yes
    path = /windows
    public = yes
    guest only = no
    writable = yes
    only user = no
    allow hosts = despains
    user = despains
    valid users = despains


0
 
mmipsCommented:
Questions.

1. does the linux machine have a user that has the same username and password as the win95 machine? If not you can create a user map file and place it in the /etc directory. Name it username.map. Use the following format:

root = administrator admin
userName = someOtherUser anotherUser

Then add an entry to the global section :

username map = /etc/username.map

2. is the win95 workgroup name Despain?

Now, in the global section add an entry:

netbios name = YourServerName

in the allow hosts entry use a whitespace separated list of ip's...i.e.

hosts allow = 127.0.0.1 [Your IP 192.168.1. leave off the last to allow all machines on your local net access]

Since you have encrypt passwords = Yes, Did you create the smbpasswd file?

Have you added all network computer names/IP addresses to the /etc/hosts file.



0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
mmipsCommented:
As a second example here is a simple working smb conf file from our test RH6.1 server.

# Global parameters
[global]
      workgroup = HOME
      netbios name = EINSTEIN {Your Computer Name goes here}
      interfaces = 192.168.100.59/255.255.255.0 {Your Linux box IP goes here}
      security = SERVER
      encrypt passwords = Yes
      hosts allow = 192.168.100. {Only allow computers on my subnet}

[All]
      path = / {This exports all directories}
      read only = No
0
 
lugnut1221Commented:
try smbadduser linuxname:NTname

so for instance if your log on name for windows is joe then use

smbadduser joe:joe
it will ask you to enter the password you want to use.  Now just log on to the windows box using joe and the password and you should be fine
0
 
mattmanAuthor Commented:
Thanks a lot, everything works great.  I'd spent about 3 weeks on this problem before I got your answer, thanks again.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now