Solved

browsing samba server with Win95

Posted on 2000-02-23
6
251 Views
Last Modified: 2010-03-18
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
Comment
Question by:mattman
6 Comments
 
LVL 10

Expert Comment

by:rbr
Comment Utility
Post your smb.conf file pls.
0
 

Author Comment

by:mattman
Comment Utility
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
 
LVL 1

Accepted Solution

by:
mmips earned 50 total points
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 1

Expert Comment

by:mmips
Comment Utility
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
 

Expert Comment

by:lugnut1221
Comment Utility
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
 

Author Comment

by:mattman
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now