Gentoo Archives: gentoo-user

From: Nick Rout <nick@×××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] printing - via windows PC
Date: Mon, 26 Sep 2005 05:00:22
Message-Id: 20050926164841.534F.NICK@rout.co.nz
In Reply to: Re: [gentoo-user] printing - via windows PC by Michael Crute
1 On Sun, 25 Sep 2005 23:17:18 -0400
2 Michael Crute wrote:
3
4 > On 9/25/05, Ian Porter <ian@×××××××××××××××.uk> wrote:
5 > >
6 > > NT_STATUS_ACCESS_DENIED message via the smb url or ERRDOS via the lpd
7 > > method.
8 > > I have tried to have the smb://guest@workgroup/pcname/printer and also my
9 > > smb://userid:password@workgroup/pcname/printer
10 > > (with also the lpd version) but that does not work either, I just get
11 > > either
12 > > access denied or just sticks at 21% printer (on the test printer part of
13 > > cups) and then it says that the pc is not available,
14 > >
15 >
16 > Just an observation, isnt it smb://usrname@pcname/printer? That's the way I
17 > have always accessed samba shares. Perhaps it makes no difference. Also, not
18 > to state the obvious, but is the guest account turned on for the xp box?
19
20 from http://www.linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/VI.CUPS-Connections/VI.tutorial-handout-cups-connections.html
21
22
23 "The "smbspool" program is provided with SAMBA starting with SAMBA
24 2.0.6. Once you have made the link [1] and restarted CUPS you can
25 configure your printers with one of the following device URIs:
26
27 smb://<workgroup>/<server>/<sharename>
28 smb://<server>/<sharename>
29 smb://<user>:<password>@<workgroup>/<server>/<sharename>
30 smb://<user>:<password>@<server>/<sharename>"
31
32
33 [1] this is the link from /usr/lib/cups/backend/smb to
34 /usr/bin/smbspool. you shouldn't need to worry about it, as the samba
35 ebuild makes it.
36
37 >
38 > -Mike
39 >
40 > --
41 > ________________________________
42 > Michael E. Crute
43 > Software Developer
44 > SoftGroup Development Corporation
45 >
46 > Linux, because reboots are for installing hardware.
47 > "In a world without walls and fences, who needs windows and gates?"
48
49 --
50 Nick Rout <nick@×××××××.nz>
51
52 --
53 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] printing - via windows PC Nick Rout <nick@×××××××.nz>