I have been trying to use Samba to connect my linux machine up to our windows network, with minimal success. This has caused great amusement to my colleagues who have stuck with windows 98.
The network consists of win98 clients connecting to an NT4 server. Users log on to the NT domain when they start up.
It was easy enough to set samba up so it is visible in the workgroup, it shows up in the list of clients. However no matter how I try to set up my shares it always refuses connections. Weirder still, if I restart my samba server the whole thing seems to fall apart. Nothing short of restarting the linux machine seems to work.
To be honest I am not surprised it doesn't work. A username and password to connect to the NT server properly are not stated anywhere, but it is a mystery to me where such information would be put.
It is also unclear to me what mechanism I should use to access the services provided by the clients and server of the NT group itself. I would love to be able to use the laser printer connected to the NT server. But how do I see it? I am used to being able to browse the network in windows, I wouldn't even know how to start doing something similar under Linux.
If I can get the linux machine to connect to the NT workgroup then I can really start to impress people here with the power of linux by providing services over the network, unfortunately samba can't provide any error messages to indicate why win98 clients are failing to connect.
Any and all suggestions would be appreciated. Here is the samba.conf file I am using at the moment:
[global]
guest account = nobody
invalid users = root
; Tighten security just a little: only allow local access
interfaces = 127.0.0.1 eth0
bind interfaces only = Yes
; This assumes you are on a local network with 192.168.x.x IP addresses
hosts allow = 192.168.
; Share-level security is generally easier, although not as secure
security=share
workgroup=TRUST
; Set up a public share, this will be used to retrieve PDFs
; The name of the share will be seen as "shr" by Windows users
[shr]
path = /shr
browseable = yes
writeable = yes
guest ok = yes
force user = nobody
; Set up our PDF-creation print service
[pdf]
path = /tmp
printable = yes
guest ok = yes
print command = /usr/bin/printpdf %s
; There is no need to support listing or removing print jobs,
; since the server begins to process them as soon as they arrive.
; So, we set the lpq (list queued jobs) and lprm (remove jobs in queue)
; commands to be empty.
lpq command =
lprm command =
The error message I get on my win98 clients is:
\Localhost is not accessible
The specified computer did not receive your request. Try again later.
Greetings,
DaveTshave.