-----Oorspronkelijk bericht-----
Van: Mark LaPierre [mailto:[email protected]]
Verzonden: donderdag 4 april 2013 3:07
Aan: L.P.H. van Belle
CC: [email protected]; Mark LaPierre
Onderwerp: Re: [Samba] Desperate plea for help with printer share
On 04/03/2013 02:56 AM, L.P.H. van Belle wrote:
-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]]
Namens Mark LaPierre
Verzonden: woensdag 3 april 2013 4:46
Aan: David Kuntadi; Mail List Samba
Onderwerp: Re: [Samba] Desperate plea for help with printer share
On 04/02/2013 09:38 PM, David Kuntadi wrote:
On Sun, Mar 31, 2013 at 7:38 AM, Mark LaPierre <[email protected]
<mailto:[email protected]>> wrote:
>
> Hey Y'all,
>
> I've been trying for months to get samba to share my
printer with my
wife's Win XP machine. I've RTFM, and spent hours on google
to no avail.
>
If only to share to one computer, how about trying to use
IPP printing
instead?
http://<hostname>:631/printers/<printername>
So far for me it is the easiest way to share printer to windows.
DK
Hey Dave,
Thank you for the interesting proposal. If all I had share to the
Windows machine was the printer I would consider doing that
but as have
to share some files too then Samba is probably my best solution.
I've received some help on my issue from others on this thread. The
Windows machine can now send print jobs to the shared printer but is
still unable to status the print queue. I'm getting closer.
--
_
°v°
/(_)\
^ ^ Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/
****
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Hai,
But what do you want? how is it to be used.
and what os are you running?
Do you want to use windows drivers or the linux drivers?
some checks, post them back.
the output of.
net -S PDC -U root%PASSWORD rpc rights list
"DOMAINNAME\Administrator" ( of root if you dont have administrator )
you should see at least SePrintOperatorPrivilege
read http://lists.samba.org/archive/samba/2005-December/114817.html
Point 6 and the part just above point 6.
and, whats the output of lpstat -a
this is 1 the my /etc/printcap entries.
HP040|Hostname|Description Printer HP 040:\
:lp=192.168.249.40%9100:\
:rp=Hostname:\
:sd=/var/spool/lpd/040:\
:sh:
make sure the hostname resolves, else use ip.
set this up with the cups wizard, for the windows spooler
choose RAW queue.
and the last thing,
is in /etc/cups/cupsd.conf
this part, ( the Allow from all part is what you need. )
<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>
Gr.
Lois
But what do you want?
I want to be able to print jobs from my wife's Win XP machine, and
manage those print jobs from the print manager on Win XP
machine. Right
now I can print jobs from the Win XP machine but can not read
the status
of jobs in the Win XP print queue.
and what os are you running?
[mlapier@mushroom ~]$ name
CentOS release 6.4 (Final)
Linux mushroom.patch 2.6.32-358.2.1.el6.i686 #1 SMP Tue Mar 12
21:42:46
UTC 2013 i686 i686 i386 GNU/Linux
[mlapier@mushroom ~]$
Do you want to use windows drivers or the linux drivers?
The Win XP machine has it's own driver installed.
[mlapier@mushroom ~]$ lpstat -a
HP-Color-LaserJet-cp2025dn accepting requests since Tue 26 Mar 2013
06:06:44 PM EDT
HP_Color_LaserJet_CP2025dn accepting requests since Tue 12 Mar 2013
06:19:36 PM EDT
Samsung-ML-1740 accepting requests since Wed 03 Apr 2013
05:58:33 AM EDT
WorkForce-1100 accepting requests since Sat 01 Dec 2012 12:07:03 PM EST
[mlapier@mushroom ~]$
[mlapier@mushroom ~]$ cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
Samsung-ML-1740|Samsung ML-1740:rm=mushroom.patch:rp=Samsung-ML-1740:
HP-Color-LaserJet-cp2025dn|HP Color LaserJet
cp2025dn:rm=mushroom.patch:rp=HP-Color-LaserJet-cp2025dn:
HP_Color_LaserJet_CP2025dn|Color Laser
Printer:rm=mushroom.patch:rp=HP_Color_LaserJet_CP2025dn:
WorkForce-1100|EPSON WorkForce
1100:rm=mushroom.patch:rp=WorkForce-1100:
[mlapier@mushroom ~]$
[nllapie@mushroom ~]$ net rpc rights list
Enter nllapie's password:
SeMachineAccountPrivilege Add machines to domain
SeTakeOwnershipPrivilege Take ownership of files or
other objects
SeBackupPrivilege Back up files and directories
SeRestorePrivilege Restore files and directories
SeRemoteShutdownPrivilege Force shutdown from a remote system
SePrintOperatorPrivilege Manage printers
SeAddUsersPrivilege Add users and groups to the domain
SeDiskOperatorPrivilege Manage disk shares
SeSecurityPrivilege System security
[nllapie@mushroom ~]$
In /etc/cups/cupsd.conf I have three <Location tags. None of them are
<Location /printers>.
I think that covers all your information requests.
--
_
°v°
/(_)\
^ ^ Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/
****