[Samba] downloaded win98 print drivers fail in Samba 3.0
Grant Basham
grant at rsmas.miami.edu
Tue Dec 16 13:32:45 GMT 2003
The issue was a bug in the PrintPro "export" function of "printers",
their printer/CUPS setup utility. The solution (from the PrintPro
support group) was to use
cupsaddsmb -v -U root PRINTERNAME
PrintPro says their "export" function will be fixed next release.
Grant Basham (305)361-4026 University of Miami
grant at rsmas.miami.edu RSMAS Computer Facility/Systems
grant basham wrote:
> A PrintPro CUPS (v4.4.1) running Samba 3.0.0 on Fedora/Redhat Linux does
> point&click driver download for WinXP just fine, but fails to do
> point&click setup for Win98. When I do the point&click install, Only the
> ADOBEPS4.DRV file is transferred. If I manually copy the driver files
> from \\server\print$\WIN40[\0] into the Win98 System area, it all works
> fine. If I then delete the queue on Win98, only the ADOBEPS4.DRV file is
> removed; the files copied in manually stay in the SYSTEM dir. If I then
> reinstall the queue via point&click, it all works. If I then delete the
> queue and remove the manually-installed files and reinstall, I am back at
> the beginning with only ADOBEPS4.DRV and a non-working queue. Samba log
> for setup is appended at bottom.
>
> As suggested by Jerry, I updated so 3.0.1.rc2. The
> lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL error message went away,
> but the setup still did not work. Moved the files in drivers/WIN40 to
> drivers/WIN40/0. Still the same problem. Further suggestions greatly
> appreciated.
> --Grant
>
>
> On Thu, 11 Dec 2003, Gerald (Jerry) Carter wrote:
>
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>grant basham wrote:
>>
>>| 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
>>
>>This is fixed in 3.0.1rc2.
>>
>>| /etc/samba/drivers/WIN40:
>>| total 768
>>| 4 0/ 16 DEFPRTR2.PPD* 60 PSMON.DLL*
>>| 568 ADFONTS.MFM* 120 ICONLIB.DLL*
>>
>>There shouldn't bee any files left in WIN40. Perhaps a bad driver install.
>>
>>| /etc/samba/drivers/WIN40/0:
>>| total 1584
>>| 1272 ADOBEPS4.DRV* 196 ADOBEPS4.HLP* 60 mpocol.PPD*
>>| 56 rcfhp.PPD*
>>
>>
>>
>>
>>- --
>>ciao, jerry
>>~ ----------------------------------------------------------------------
>>~ Hewlett-Packard ------------------------- http://www.hp.com
>>~ SAMBA Team ---------------------- http://www.samba.org
>>~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
>>~ "If we're adding to the noise, turn off this song" --Switchfoot (2003)
>>-----BEGIN PGP SIGNATURE-----
>>Version: GnuPG v1.2.1 (GNU/Linux)
>>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>>iD8DBQE/2KrzIR7qMdg1EfYRAoCOAJ9VsGvkkfHkfoXEc4EZbZnulL5dWgCeLMCm
>>NQKhKYy/fHyZCQRfij7ZNSo=
>>=8xhv
>>-----END PGP SIGNATURE-----
>>
>
> ==========current smaba setup log============================
> [2003/12/11 14:39:13, 2] smbd/sesssetup.c:setup_new_vc_session(544)
> setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resour
> ces.
> [2003/12/11 14:39:13, 2] auth/auth.c:check_ntlm_password(312)
> check_ntlm_password: Authentication for user [TEST1210] -> [TEST1210]
> FAILED with e
> rror NT_STATUS_NO_SUCH_USER
> [2003/12/11 14:39:13, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:39:16, 2] smbd/server.c:exit_server(558)
> Closing connections
> [2003/12/11 14:39:18, 2] smbd/sesssetup.c:setup_new_vc_session(544)
> setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resour
> ces.
> [2003/12/11 14:39:18, 2] auth/auth.c:check_ntlm_password(312)
> check_ntlm_password: Authentication for user [TEST1210] -> [TEST1210]
> FAILED with e
> rror NT_STATUS_NO_SUCH_USER
> [2003/12/11 14:39:18, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:39:21, 2] smbd/server.c:exit_server(558)
> Closing connections
> [2003/12/11 14:39:24, 2] smbd/sesssetup.c:setup_new_vc_session(544)
> setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resour
> ces.
> [2003/12/11 14:39:24, 2] auth/auth.c:check_ntlm_password(312)
> check_ntlm_password: Authentication for user [TEST1210] -> [TEST1210]
> FAILED with e
> rror NT_STATUS_NO_SUCH_USER
> [2003/12/11 14:39:24, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:39:24, 1] smbd/service.c:make_connection_snum(705)
> gim98 (129.171.97.21) connect to service print$ initially as user samba
> (uid=1710, g
> id=1710) (pid 23567)
> [2003/12/11 14:39:24, 2] smbd/open.c:open_file(240)
> TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
> [2003/12/11 14:39:24, 2] smbd/close.c:close_normal_file(228)
> samba closed file WIN40/0/ADOBEPS4.DRV (numopen=0)
> [2003/12/11 14:39:24, 2] smbd/open.c:open_file(240)
> TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
> [2003/12/11 14:39:24, 2] smbd/close.c:close_normal_file(228)
> samba closed file WIN40/0/ADOBEPS4.DRV (numopen=0)
> [2003/12/11 14:39:24, 2] smbd/open.c:open_file(240)
> TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
> [2003/12/11 14:39:27, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:39:40, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:39:48, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:40:22, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:40:25, 2] smbd/close.c:close_normal_file(228)
> samba closed file WIN40/0/ADOBEPS4.DRV (numopen=0)
> [2003/12/11 14:40:25, 2] smbd/open.c:open_file(240)
> TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
> [2003/12/11 14:40:25, 2] smbd/close.c:close_normal_file(228)
> samba closed file WIN40/0/ADOBEPS4.DRV (numopen=0)
> [2003/12/11 14:40:25, 2] smbd/open.c:open_file(240)
> TEST1210 opened file WIN40/0/ADOBEPS4.DRV read=Yes write=No (numopen=1)
> [2003/12/11 14:40:25, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
> [2003/12/11 14:40:39, 2] lib/access.c:check_access(324)
> Allowed connection from (129.171.97.21)
>
> Grant Basham 305-361-4026 grant at rsmas.miami.edu
>
>
>
More information about the samba
mailing list