[Samba] Samba 3 and CUPs printer causes explorer to abend
John H Terpstra
jht at samba.org
Sat Nov 15 01:01:32 GMT 2003
Paul,
Have you followed the documentation in the CUPS Chapter of the
Samba-HOWTO-Collection.pdf that ships with Samba-3?
It's available from:
http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
(Refer to the Documentation Web pages on Samba.org).
>From my recollection, you might want to update your CUPS to version 1.1.18
or later.
If you have followed the information presented in the HOWTO, then please
document precisely how I may reproduce your problem. This will need to
document every step while making no assumptions that whoever is following
them has any intelligence. We can fix only a problem we can reproduce.
Cheers,
John T.
On Fri, 14 Nov 2003, Orwig, Paul wrote:
> I am attempting to setup a Samba printserver to replace our Windows Print
> servers.
> I have defined a few printers in CUPS, some raw, and some not.
> When I use the GUi to upload the drivers, The dialog works, however after
> that is accomplished, any attempt to get the printer properties or to use
> the printer from my W2K system (cpq0277) causes explorer to ABEND.
>
> System setup:
> RedHat 9
> CUPS 1.1.17-13.3
> Samba 3.0.0-2
>
> I get the following in the samba log.cpq0277 file:
>
> [2003/11/14 16:07:18, 0] lib/util_str.c:safe_strcpy_fn(577)
> ERROR: NULL dest in safe_strcpy
> [2003/11/14 16:07:19, 0] lib/util_str.c:safe_strcpy_fn(577)
> ERROR: NULL dest in safe_strcpy
> [2003/11/14 16:07:19, 0] lib/util_str.c:safe_strcpy_fn(577)
> ERROR: NULL dest in safe_strcpy
> [2003/11/14 16:07:41, 0] smbd/connection.c:register_message_flags(220)
> register_message_flags: tdb_fetch failed
> [2003/11/14 16:07:41, 0] lib/util_str.c:safe_strcpy_fn(577)
> ERROR: NULL dest in safe_strcpy
> [2003/11/14 16:08:32, 1] smbd/service.c:close_cnum(880)
> cpq0277 (10.145.8.19) closed connection to service print$
>
>
> smb.conf is:
> # Global parameters
> [global]
> workgroup = DOMAIN
> server string = ANNLPR01
> security = DOMAIN
> map to guest = Bad User
> log file = /var/log/samba/log.%m
> max log size = 50
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> preferred master = No
> local master = No
> domain master = No
> dns proxy = No
> wins server = ipaddress
> ldap ssl = no
> idmap uid = 10000-20000
> idmap gid = 10000-20000
> template shell = /bin/bash
> winbind separator = +
> winbind use default domain = Yes
> printing = cups
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
> printer admin = porwig
>
> [print$]
> comment = Printer Driver Download Area
> path = /etc/samba/drivers
> browseable = yes
> guest ok = yes
> read only = yes
> write list = porwig
>
>
>
> CUPS printers.conf:
>
> # Written by cupsd on Fri 14 Nov 2003 11:23:25 PM GMT
> <DefaultPrinter DW01>
> Info Created by redhat-config-printer 0.6.x
> Location HPLJ 8000DN
> DeviceURI socket://192.168.8.54:9100
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer DW02-C>
> Info Created by redhat-config-printer 0.6.x
> Location HPLJ 4500 Color
> DeviceURI socket://192.168.8.52:9100
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer DW03>
> Info Created by redhat-config-printer 0.6.x
> Location HPLJ 4000 CP2-250
> DeviceURI socket://192.168.8.53:9100
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer NOG01>
> Info NT Group HPLJ 8000N
> Location CP2-250
> DeviceURI socket://192.168.8.51
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
>
>
>
> What have I done wrong?
>
>
> Paul Orwig
> Pacific Life Annuities
> Newport Beach, California
>
> ------------------------------------------------------------------------------
> The information in this e-mail and any attachments are for the sole use of the
> intended recipient and may contain privileged and confidential information.
> If you are not the intended recipient, any use, disclosure, copying or
> distribution of this message or attachment is strictly prohibited. If you
> believe that you have received this e-mail in error, please contact the sender
> immediately and delete the e-mail and all of its attachments.
> ==============================================================================
>
>
--
John H Terpstra
Email: jht at samba.org
More information about the samba
mailing list