RHEL, Samba, Cups, Windows and AD
Thierry Leurent
thierry.leurent at asgardian.be
Fri Nov 21 15:29:29 UTC 2008
Hello,
On a RHEL ES 3, I have :
- One cups (1.1.17) server used by Linux application.
- One samba (3.0.22) server AD integrated used to share Linux disk to
Windows systems.
I would like print form Windows using Samba and Cups.
I added this section to my smb.conf :
# | Global printers definition
# ------------------------------------------------------
[printers]
comment = All Printers using CUPS
path = /var/spool/samba
printable = yes
browseable = no
create mode = 1777
I created /var/spool/samba and I changed the right to 1777.
On Windows as Domain adminitrator, I added a new printer and I used the HP
Universal Printing PS.
When I want print a test page, that don't work.
In Samba's log, I see the following messages :
Nov 20 16:02:48 PrintServer smbd[5899]: [2008/11/20 16:02:48, 0]
lib/util_sock.c:read_data(529)
Nov 20 16:02:48 PrintServer smbd[5899]: read_data: read failure for 4
bytes to client 128.1.10.119. Error = Connection reset by peer
Nov 20 16:03:06 PrintServer smbd[5898]: [2008/11/20 16:03:06, 0]
printing/printing.c:allocate_print_jobid(2241)
Nov 20 16:03:06 PrintServer smbd[5898]: allocate_print_jobid: failed to
allocate a print job for queue 1D751_A4_WINDOWS
Nov 20 16:03:06 PrintServer smbd[5898]: Permission denied-- user not
allowed to delete, pause, or resume print job. User name:
MyDomain+administrator. Printer name: 1D751_A4_WINDOWS.
Nov 20 16:06:24 PrintServer smbd[5868]: [2008/11/20 16:06:24, 0]
lib/util_sock.c:get_peer_addr(1225)
Nov 20 16:06:24 PrintServer smbd[5868]: getpeername failed. Error was
Transport endpoint is not connected
Nov 20 16:06:24 PrintServer smbd[5948]: [2008/11/20 16:06:24, 0]
lib/util_sock.c:get_peer_addr(1225)
Nov 20 16:06:24 PrintServer smbd[5948]: getpeername failed. Error was
Transport endpoint is not connected
Nov 20 16:06:24 PrintServer smbd[5948]: [2008/11/20 16:06:24, 0]
lib/util_sock.c:write_data(557)
Nov 20 16:06:24 PrintServer smbd[5948]: write_data: write failure in
writing to client 0.0.0.0. Error Connection reset by peer
Nov 20 16:06:24 PrintServer smbd[5948]: [2008/11/20 16:06:24, 0]
lib/util_sock.c:send_smb(765)
Nov 20 16:06:24 PrintServer smbd[5948]: Error writing 4 bytes to client.
-1. (Connection reset by peer)
I see nothing in Cups' logs.
Do you have an idea or do you have still implement this kind of server and
you have some samples for me ?
Thanks.
--
Thierry Leurent
More information about the redhat-sysadmin-list
mailing list