Re: Samba
Hello
First thanks to Dai and others who replied to my query regarding Samba.
For the benefit of others, let me state what I learned
Evidently when Debian installs Samba, the nmbd demon
is started in inetd. The Samba documentation explains
how to start nmbd manually and with inetd; it is
not necessary to do this under Debian.
The smbd demon does not appear when I do a ps -aux unless
there is another Win machine that is looking at a share
directory on the Linux server.
I have still have some questions and hope someone can help.
I want to use my Linux box as a print server.
I am on a TCP network and my Linux machine, named ccrps27,
can send print files to various printers.
A typical entry for a remote printer in my printcap is:
cstext:\
:sd=/var/spool/lpd/cstext:\
:mx#0:\
:sh:\
:rm=ultrix6:\
:rp=cstext:
Furthermoe other Win95 machines can print to the cstext printer.
Now, I have set up a printer on my mahcine, also named ccrps27,
and my printcap entry is:
ccrps27:\
:sd=/var/spool/lpd/ccrps27:\
:lp=/dev/lp0:\
:lf=/var/log/lp-errs:\
:pl#66:\
:pw#80:\
:pc#150:\
:mx#0:\
:sh:
I can print to local printer from my machine (ccrps27).
On Win95 machines, I am not able to the printer on my machine.
The local printer shows up grayed out.
I tried to print to the local printer with another linux machine
after setting up the printcap to something like:
ccrps27:\
:sd=/var/spool/lpd/ccrps27:\
:mx#0:\
:sh:\
:rm=ccrps27:\
:rp=ccrps27:
Nothing happens.
The problem, I think, is somehow the lpd demon is not
accepting print requests over the network. I have the
hostname of the remote linux machine in /etc/hosts.lpd.
My smb.conf has a [printers] section
Thanks in advnace.
King Lee
king@ultrix6.cs.csubak.edu
Reply to:
- References:
- Re: Samba
- From: Guoqiang Dai <gqdai@home.com>