Re: [Samba] downloaded win98 print drivers fail in Samba 3.0
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 [EMAIL PROTECTED] RSMAS Computer Facility/Systems grant basham wrote: A PrintPro CUPS (v4.4.1) running Samba 3.0.0 on Fedora/Redhat Linux does pointclick driver download for WinXP just fine, but fails to do pointclick setup for Win98. When I do the pointclick 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 pointclick, 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
[Samba] downloaded win98 print drivers fail in Samba 3.0
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
Re: [Samba] downloaded win98 print drivers fail in Samba 3.0
-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- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] downloaded win98 print drivers fail in Samba 3.0
A PrintPro CUPS (v4.4.1) running Samba 3.0.0 on Fedora/Redhat Linux does pointclick driver download for WinXP just fine, but fails to do pointclick setup for Win98. When I do the pointclick 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 pointclick, 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]