browsing samba server with Win95

Posted on 2000-02-23
Medium Priority
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.

Question by:mattman
LVL 10

Expert Comment

ID: 2553446
Post your smb.conf file pls.

Author Comment

ID: 2556624
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


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


Accepted Solution

mmips earned 200 total points
ID: 2562670

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 = [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.

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.


Expert Comment

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

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

      path = / {This exports all directories}
      read only = No

Expert Comment

ID: 2565307
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

Author Comment

ID: 2567055
Thanks a lot, everything works great.  I'd spent about 3 weeks on this problem before I got your answer, thanks again.

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

624 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