Grahn
asked on
browsing the linux server using win98 and samba
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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?
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?
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!
[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!
ASKER
hey! it works! thanks alot for helping me out!
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..
[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..
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/netlo
locking = no
public = no
secur