[Samba] downloaded win98 print drivers fail in Samba 3.0
grant basham
grant at rsmas.miami.edu
Thu Dec 11 12:56:26 GMT 2003
Windows 98 client cannot print via samba to PrintPro printer "exported"
via Cups/PrintPro on PrintPro/Samba server. "Exporting" with Cups on
server node allows print drivers to be downloaded to Windows clients from
the server. Any help or suggestions are greatly appreciated.
Win98 node gim98.rsmas.miami.edu [129.171.97.21] connects to Samba 3.0.0-15
server "prima" (also PrintPro/cups server). Cups server is running PrintPro
4.4.1. Prima (server node) is Linux Fedora/Redhat 1.0 on Dual Xeon
hardware. Print drivers are Adobe Windows PS drivers.
129.171.97.log (below) is samba log from prima showing initial connection
from Win98 node.
gim98.log is samba log from prima showing user TEST1210 on the Win98 node
being authorized by samba on prima as the samba guest account, "samba".
Print que rcfhp is exported on prima. The que sets up "successfully" on the
Win98 node in that the que setup of \\prima\rcfhp completes and creates a
spooling window. On attempt to print from the Win98 node an immediate error
message reports that printing fails (no other details). Errors shown below
in the gim98 samba log on the samba server as
lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy
Cups access_log/error_log in debug mode show no indication of any contact
with Cups printing software from the windows node, or any contact of the
"rcfhp" printer during the test period.
The samba/printpro rcfhp printer works fine from the server itself, from
linux cups clients, and from windows xp nodes. The printer export works
successfully for windows xp.
The windows 98 node can successfully open samba "home" directories on the
samba/cups server, prima. It could successfully add the rcfhp printer prior
to export of the printer. A listing of the Drivers directory area is
appended.
============129.171.97.21.log=======================
[2003/12/10 12:18:43, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:18:43, 2] smbd/reply.c:reply_special(93)
netbios connect: name1=PRIMA name2=GIM98
[2003/12/10 12:18:43, 2] smbd/reply.c:reply_special(100)
netbios connect: local=prima remote=gim98, name type = 0
[2003/12/10 12:18:50, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:18:50, 2] smbd/reply.c:reply_special(93)
netbios connect: name1=PRIMA name2=GIM98
[2003/12/10 12:18:50, 2] smbd/reply.c:reply_special(100)
netbios connect: local=prima remote=gim98, name type = 0
[2003/12/10 12:18:59, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:18:59, 2] smbd/reply.c:reply_special(93)
netbios connect: name1=PRIMA name2=GIM98
[2003/12/10 12:18:59, 2] smbd/reply.c:reply_special(100)
netbios connect: local=prima remote=gim98, name type = 0
=================gim98.log=======================================
[2003/12/10 12:18:43, 2] smbd/sesssetup.c:setup_new_vc_session(535)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2003/12/10 12:18:43, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [TEST1210] -> [TEST1210] FAILED with error NT_STATUS_NO_SUCH_USER
[2003/12/10 12:18:43, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:18:45, 2] smbd/server.c:exit_server(558)
Closing connections
[2003/12/10 12:18:50, 2] smbd/sesssetup.c:setup_new_vc_session(535)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2003/12/10 12:18:50, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [TEST1210] -> [TEST1210] FAILED with error NT_STATUS_NO_SUCH_USER
[2003/12/10 12:18:50, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:51, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:18:53, 2] smbd/server.c:exit_server(558)
Closing connections
[2003/12/10 12:18:59, 2] smbd/sesssetup.c:setup_new_vc_session(535)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2003/12/10 12:18:59, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [TEST1210] -> [TEST1210] FAILED with error NT_STATUS_NO_SUCH_USER
[2003/12/10 12:18:59, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:18:59, 1] smbd/service.c:make_connection_snum(698)
gim98 (129.171.97.21) connect to service print$ initially as user samba (uid=1710, gid=1710) (pid 9954)
[2003/12/10 12:18:59, 2] smbd/open.c:open_file(250)
TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
[2003/12/10 12:18:59, 2] smbd/close.c:close_normal_file(228)
samba closed file WIN40/0/ADOBEPS4.DRV (numopen=0)
[2003/12/10 12:18:59, 2] smbd/open.c:open_file(250)
TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
[2003/12/10 12:18:59, 2] smbd/close.c:close_normal_file(228)
samba closed file WIN40/0/ADOBEPS4.DRV (numopen=0)
[2003/12/10 12:18:59, 2] smbd/open.c:open_file(250)
TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
[2003/12/10 12:19:00, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:19:00, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:19:02, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:19:04, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:19:07, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:19:11, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:19:11, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:19:21, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:19:21, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:19:31, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:19:31, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
[2003/12/10 12:19:42, 2] lib/access.c:check_access(324)
Allowed connection from (129.171.97.21)
[2003/12/10 12:19:42, 0] lib/util_str.c:safe_strcpy_fn(577)
ERROR: NULL dest in safe_strcpy
================/etc/samba/drivers====================
prima* ls -sF /etc/samba/drivers
total 8
4 W32X86/ 4 WIN40/
prima* ls -sRF /etc/samba/drivers
/etc/samba/drivers:
total 8
4 W32X86/ 4 WIN40/
/etc/samba/drivers/W32X86:
total 4
4 2/
/etc/samba/drivers/W32X86/2:
total 632
16 cups5.hlp* 220 cupsui5.dll* 56 rcfhp.PPD*
280 cupsdrv5.dll* 60 mpocol.PPD*
/etc/samba/drivers/WIN40:
total 768
4 0/ 16 DEFPRTR2.PPD* 60 PSMON.DLL*
568 ADFONTS.MFM* 120 ICONLIB.DLL*
/etc/samba/drivers/WIN40/0:
total 1584
1272 ADOBEPS4.DRV* 196 ADOBEPS4.HLP* 60 mpocol.PPD* 56 rcfhp.PPD*
Grant Basham 305-361-4026 grant at rsmas.miami.edu
More information about the samba
mailing list