Hello.
I have a RedHat Linux 7.2 server running, with Samba, version 2.2.1a
(or 2.2.4, not completely sure.) I have three problems.
1. I can't figure out how to configure Samba so that my W2K box will
see it.
2. (less important) how do I setup my Linux box to print to my W2K
printer?
3. (much much less important) how to I get my MAC G3 running OS 8.6 to
see/use the Samba server?
The primary problem, of course, is #1. Here's some background
information:
-- W2K BOX --
On my W2K box, I can FTP or telnet to the Linux Server...no problems
there.
At a command prompt, when I first typed "net use
\\linux_server\webdocs" I got the following error message:
"System error 1234 has occured.
No service is operating at the destination network endpoint on the
remote system."
After manually running /usr/local/samba/bin/smbd -D (and nmbd -D) I
get the error: "System error 53 has occured. The network path was not
found."
When I browse my entire network using Windows Explorer, it finds my
workgroup (Web), but not other computers. Typing in \\server\\share or
\\ip address\share also does not work.
On my W2K box, my workgroup is set to "WEB". (I have also had it set
to WEB_DEVELOPMENT, that doesn't work either. More on that in a
sec...)
The c:\windows\system32\drivers\etc\hosts file contains the following
entries:
127.0.0.1 localhost # This Computer
192.168.1.150 linux_server # Red Hat Linux Server
192.168.1.250 mac # MAC G3
-- LINUX BOX --
I can use swat, via browser at http://127.0.0.1:901. Swat is started
via xinetd
On the Linux box, when I type "smbclient -L localhost", and enter the
password (or leave blank & press enter), I get the following:
Domain=[WEB] OS=[LINUX] Server=[Samba 2.2.4]
Sharename Type Comment
--------- ---- -------
webdocs disk Web files (/web/docs)
IPC$ IPC IPC Service (Samba 2.2.4)
ADMIN$ Disk IPC Service (Samba 2.2.4)
Server Comment
------ -------
Workgroup Master
--------- ------
WEB_DEVELOPMENT LINUX_SERVER
The first odd thing I notice about the results is that there is no
entry under "Server" (see above). I would assume linux_server would
appear there.
The next odd thing I notice is that at one time, I did have the
workgroup defined as "WEB_DEVELOPMENT" but then changed it to "WEB".
When I make changes to this file, (e.g., the share name [webdocs] to
[foo]) it appears when running smbclient -L localhost. But changing
the workgroup = web from workgroup = WEB_DEVELOPMENT, does not change
the results. The file I edited was /usr/local/samba/lib/smb.conf.
Here's the contents of that file:
[global]
netbios name = LINUX_SERVER
workgroup = WEB
security = user
# encrypt passwords = Yes
smb passwd file = /usr/local/samba/private/smbpasswd
hosts allow = 192.168.1. 127.
[webdocs]
path = /web/docs
comment = /web/docs is the location of web pages on this Linux box.
read only = No
guest ok = Yes
Another odd thing I found was that there's an additional smb.conf file
located in /etc/samba/, which I did not put there. It includes a ton
of extra documentation, and options, the majority of which are
commented out. I'm assuming it's a sample config file, but I modified
it as well.
Here's one possible problem: I thought Samba was executed via xinetd
at startup. I just noticed that I don't have a samba entry in there
though. So I manually ran /usr/local/samba/bin/smbd -D (and nmbd -D).
Any help on getting this up & running would be MUCH appreciated!
P.S. Extra credit (if you're so inclined) are the following:
1. How do I configure my Linux box so that it can print to a printer
on the W2K box? I have file/printer sharing on, on the W2K box. Just
not sure how to setup the smbclient on Linux and anything else that
needs to be done.
2. How can I get the MAC G3 running OS 8.6 (also on the same router as
the other two boxes) to see the Linux Server?
Thank you VERY much in advance for any help you can provide!!!