Solved

browsing the linux server using win98 and samba

Posted on 1999-01-18
6
276 Views
Last Modified: 2010-03-18
i've downloaded and installed the samba utility on my linux server. i can browse the shares on the win98 machine from the linux machine using the smbclient program.
my problem is to browse the linux machine from my win98 machine. 've tried to map network drives´and stuff but it don't seem to work.
how do i set the name for the linux machine to be used from win98? is it the same as the hostname?

well, here's my smb.conf

[general]
 workgroup = GRAHN
 hosts allow = localhost, 192.168.1.0/255.255.255.0
 security = USER

[test]
 path = /home/anders
 writeable = true
 public = yes
0
Comment
Question by:Grahn
  • 4
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
wqclatre earned 20 total points
ID: 1588136
Oh.. that was a small config file.
To name the computer add:
netbios name = Name in the general part.

Is the 192.168.1.0 the ip of the win98 machine?
Add:
remote announce = 192.168.1.0

Do you like to have direct acess to /home/anders (Without any password?

Then try to change to:

security = share


Tell me how you like it to work and I'll post a smb.conf file for you.
Or try this... I don't know how like it to work so it's hard to give you an answer...


[global]
   netbios name = Bill
   workgroup = GRAHN  
   remote announce = 192.168.1.0
   browseable = yes    
   guest account = nobody

   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   socket options = TCP_NODELAY
   local master = yes
   os level = 33
   domain master = yes
   preferred master = yes
   domain logons = yes
   wins support = yes

[test]
   comment = Hmmmmmm
   path = /home/anders
   public = yes
   writable = yes



0
 
LVL 2

Expert Comment

by:wqclatre
ID: 1588137
I saw that you have [general] in the beginning. I think it shall be [global]
If you like to login with username anders and password anders You have to run
smb smbadduser anders:anders

then change to this in smb.conf:

[global]

   workgroup = GRAHN
   log file = /var/log/log.%m
   max log size = 250
   security = user
  password level = 8
  encrypt passwords = yes
   socket options = TCP_NODELAY
  remote announce = ip_of_win98_machine
   local master = yes
   os level = 33
   domain master = yes
   preferred master = yes
   domain logons = yes
   wins support = yes

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

 [netlogon]
   comment = Network Logon Service
   path = /usr/local/samba/lib/netlogon
   locking = no
   public = no


secur
0
 

Author Comment

by:Grahn
ID: 1588138
hmmm, still not working...but thanks for taking time helping me!
well, here's how i want it to work:

win98 machine:
ip: 192.168.1.13
name: win98
workgroup: grahn

linux machine:
ip 192.168.1.11
name: linux

samba:
-1 one share called "test", which will be password protected/only user "anders" should have access to it

-1 one share called "pub", which all users will have read access to.

-the shares have to be accessed by either browsing the network or mapping a network drive.

-netlogon is not necessary



.and finally a small question: do i have to change my network settings in win98 in any way?
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 2

Expert Comment

by:wqclatre
ID: 1588139
Try this:

[global]
netbios name = linux
   workgroup = grahn
   remote announce = 192.168.1.13
   guest account = nobody
   log file = //var/log/samba/log.%m
   max log size = 50
   security = share
   password level = 8
   encrypt passwords = yes
   socket options = TCP_NODELAY
   local master = yes
   os level = 33
   domain master = yes
   preferred master = yes
   wins support = yes
   dns proxy = no

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

This will get youre linuxmachine to act as a wins server. I might be a good idea to set youre linuxmachine as primary and secondary wins server in Win98.

Hope this works. I don't have any win-machine to try with.

You also have to do a smbadduser anders:anders
to get this to work.

Good luck!
0
 

Author Comment

by:Grahn
ID: 1588140
hey! it works! thanks alot for helping me out!

0
 
LVL 2

Expert Comment

by:wqclatre
ID: 1588141
It seems like I forgott the public part:
[Pub]
   comment = Public
   path = /home/samba
   public = yes
   writable = no

I think you can add writelist=anders if you want the user anders to have write acess..
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how does facebook / twitter store data? 3 150
Postfix DNS lookups setup 5 45
How to get IPA working with samba on RHEL 6? 1 103
Vmware tools installation in ubuntu 14.04 11 108
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 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