[Bug 967410] Re: Windows clients cannot connect to shared printers
Tony C.
967410 at bugs.launchpad.net
Mon Apr 2 17:53:44 UTC 2012
Using a small test setup. Exactly the same on the 32 or 64 bit
versions.
After clearing out the log files and rebooting .
Performing smbclient -L localhost the printers do not show in the listing.
tony at u32:/var/log/samba$ smbclient -L localhost
Enter tony's password:
Domain=[CORPORATE] OS=[Unix] Server=[Samba 3.6.3]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (u32 server (Samba,))
tony Disk Home Directories
Domain=[CORPORATE] OS=[Unix] Server=[Samba 3.6.3]
Server Comment
--------- -------
DECO Denise's DeskTop
U32 u32 server (Samba)
Workgroup Master
--------- -------
CORPORATE DECO
After manually running
sudo service smbd reload
sudo service smbd restart
smbd stop/waiting
smbd start/running, process 2878
The printers now appear
tony at u32:/var/log/samba$ smbclient -L localhost
Enter tony's password:
Domain=[CORPORATE] OS=[Unix] Server=[Samba 3.6.3]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (u32 server (Samba))
Brother Printer Brother HL5340D
Brother-HL-5340D-series Printer Brother HL-5340D series
tony Disk Home Directories
Domain=[CORPORATE] OS=[Unix] Server=[Samba 3.6.3]
Server Comment
--------- -------
DECO Denise's DeskTop
U32 u32 server (Samba)
Workgroup Master
--------- -------
CORPORATE DECO
At this point, this is what is in the log.smbd file
cat log.smbd
[2012/04/02 13:17:15, 0] smbd/server.c:1051(main)
smbd version 3.6.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/04/02 13:17:15.081522, 0] smbd/server.c:1107(main)
standard input is not a socket, assuming -D option
[2012/04/02 13:17:15.089590, 0] printing/print_cups.c:110(cups_connect)
Unable to connect to CUPS server localhost:631 - Connection refused
[2012/04/02 13:17:15.090587, 0] printing/print_cups.c:487(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2012/04/02 13:27:39, 0] smbd/server.c:1051(main)
smbd version 3.6.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/04/02 13:27:39.668921, 0] smbd/server.c:1107(main)
standard input is not a socket, assuming -D option
I now go to the XP machine, open add a new printer, browse for printer.
I can see my Linux box and see the printer.
When I select the printer I can see the Comment and Status is "Ready"
Select next. I says I do not have the correct print drivers do i want to install locally. ( this is correct i did not install them on the linux box )
I select the correct drivers and click next. A 'Connect to Printer' dialog box appears with the message
'Windows cannot connect to the printer. Either the printer name was typed incorrectly or the printer has lost its connection to the server"
At this point the log file looks likes this ( it has not changed )
cat log.smbd
[2012/04/02 13:17:15, 0] smbd/server.c:1051(main)
smbd version 3.6.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/04/02 13:17:15.081522, 0] smbd/server.c:1107(main)
standard input is not a socket, assuming -D option
[2012/04/02 13:17:15.089590, 0] printing/print_cups.c:110(cups_connect)
Unable to connect to CUPS server localhost:631 - Connection refused
[2012/04/02 13:17:15.090587, 0] printing/print_cups.c:487(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2012/04/02 13:27:39, 0] smbd/server.c:1051(main)
smbd version 3.6.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/04/02 13:27:39.668921, 0] smbd/server.c:1107(main)
standard input is not a socket, assuming -D option
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/967410
Title:
Windows clients cannot connect to shared printers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/967410/+subscriptions
More information about the Ubuntu-server-bugs
mailing list