[Samba] Net use doesn't
Bob Crandell
bob at assuredcomp.com
Sat Aug 17 19:33:01 GMT 2002
Hi,
I have a situation that causing premature gray.
All printers are connected to HP JetDirects. A test print from Linux prints.
Sometimes a test print from Win98 works, usually it gets a spool32 error and I have
to reboot the workstation.
No NT machine can print. There are NT 4 and Win2K machines. When I setup a
printer, it doesn't configure a port.
In Win98, I can add a port in printer Properties/Details/Add Port... but net use
returns:
Error 67: The specified shared directory cannot be found. Make sure you have
specified the network name correctly. If the problem persists, contact your
network administrator.
Kernel 2.4.18-xfs-1.1
Samba 2.2.5
I saw mention of a patch that might have something to do with some printing
issues. Has that been incorporated in 2.2.5 yet?
#======================= Global Settings =====================================
[global]
server string = Samba Server
comment = Our server
netbios name = Master
workgroup = Solarc
local master = yes
domain master = yes
domain logons = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
short preserve case = yes
wins support = true
preserve case = yes
log file = /var/log/samba.log
max log size = 50
debug level = 1
printing = bsd
printcap name = /etc/printcap
load printers = yes
disable spoolss=yes
use client driver = yes
os level = 64
guest account = pcguest
logon script = %U.bat
security = user
logon drive = X:
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon path = \\%N\Profiles\%u
logon home = \\%N\%U
encrypt passwords = yes
[HP1220C]
available = yes
comment = Our HP DeskJet 1220C Printer
path = /var/spool/lpd/HP1220c
print command = /usr/bin/lpr -r -P%p %s
queuepause command = /usr/sbin/lpc -P%p stop
queueresume command = /usr/sbin/lpc -P%p start
public = yes
writable = no
printable = yes
browsable = yes
create mask = 0600
Thanks for a great product guys.
--
Bob Crandell
Assured Computing
When you need to be sure.
Office 541-689-9159
FAX 240-371-7237
bob at assuredcomp.com
www.assuredcomp.com
Eugene, Or. 97402
More information about the samba
mailing list