View previous topic :: View next topic |
Author |
Message |
MorphiusFaydal Tux's lil' helper
Joined: 20 Aug 2003 Posts: 113 Location: West Texas
|
Posted: Mon Aug 27, 2007 8:32 pm Post subject: |
|
|
When I follow this; I get:
Code: |
Unable to copy Windows 2000 printer driver files (1)!
Running command: smbclient //localhost/print$ -N -A /var/spool/cups/tmp/46d33448180b1 -c 'mkdir W32X86;put /var/spool/cups/tmp/46d33421b4134 W32X86/HL-2040.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
|
I'm running:
Code: |
cupsaddsmb -H localhost -U root -h localhost -v HL-2040
|
_________________ Registered Linux User # 309023
vanilla-sources
XFce 4.4 and GNOME 2.20 |
|
Back to top |
|
|
atdsm Tux's lil' helper
Joined: 15 Jun 2003 Posts: 118 Location: Pennsylvania
|
Posted: Tue Aug 28, 2007 9:56 pm Post subject: |
|
|
I'm sorry; I haven't worked with these drivers in over a year now. I don't even know what version they're up to; this HOWTO may very well be obsolete. _________________ There are 10 kinds of people: those who know binary and those who don't. |
|
Back to top |
|
|
MorphiusFaydal Tux's lil' helper
Joined: 20 Aug 2003 Posts: 113 Location: West Texas
|
Posted: Tue Aug 28, 2007 10:01 pm Post subject: |
|
|
6.0 is still the latest. _________________ Registered Linux User # 309023
vanilla-sources
XFce 4.4 and GNOME 2.20 |
|
Back to top |
|
|
echto Tux's lil' helper
Joined: 30 Jun 2002 Posts: 108
|
Posted: Wed Oct 03, 2007 9:07 pm Post subject: |
|
|
Code: |
Unable to copy Windows 2000 printer driver files (1)!
Running command: smbclient ///var/run/cups/cups.sock/print$ -N -A /var/spool/cups/tmp/449bfe3fcdd30 -c 'mkdir W32X86;put /var/spool/cups/tmp/449bfe38c45a6 W32X86/LexmarkE220.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
Connection to failed
|
Make sure your 'write list' contains a valid user such as 'root'.
Code: |
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
guest ok = no
browseable = yes
read only = yes
write list = root
|
|
|
Back to top |
|
|
MorphiusFaydal Tux's lil' helper
Joined: 20 Aug 2003 Posts: 113 Location: West Texas
|
Posted: Sun Oct 07, 2007 10:16 pm Post subject: |
|
|
echto wrote: | Code: |
Unable to copy Windows 2000 printer driver files (1)!
Running command: smbclient ///var/run/cups/cups.sock/print$ -N -A /var/spool/cups/tmp/449bfe3fcdd30 -c 'mkdir W32X86;put /var/spool/cups/tmp/449bfe38c45a6 W32X86/LexmarkE220.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
Connection to failed
|
Make sure your 'write list' contains a valid user such as 'root'.
Code: |
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
guest ok = no
browseable = yes
read only = yes
write list = root
|
|
Yes.
Code: | Running command: smbclient //localhost/print$ -N -A /var/spool/cups/tmp/47095a8c44379 -c 'mkdir W32X86;put /var/spool/cups/tmp/47095a8642f4e W32X86/HL-2040.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]
Server not using user level security and no password supplied.
NT_STATUS_NETWORK_ACCESS_DENIED making remote directory \W32X86
Failed to open \W32X86/HL-2040.ppd: NT_STATUS_OBJECT_PATH_NOT_FOUND
Failed to open \W32X86/ps5ui.dll: NT_STATUS_OBJECT_PATH_NOT_FOUND
Failed to open \W32X86/pscript.hlp: NT_STATUS_OBJECT_PATH_NOT_FOUND
Failed to open \W32X86/pscript.ntf: NT_STATUS_OBJECT_PATH_NOT_FOUND
Failed to open \W32X86/pscript5.dll: NT_STATUS_OBJECT_PATH_NOT_FOUND
Unable to copy Windows 2000 printer driver files (1)! |
Is what I'm getting now.
Here's my smb.conf:
Code: |
[global]
workgroup = Workgroup
netbios name = REMUS
server string = Remus (Samba Server %v)
security = share
preferred master = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# vfs object = vscan-clamav
# vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
printcap name = cups
printing = cups
load printers = yes
[public]
comment = Public files
path = /home/samba/public
read only = no
writeable = yes
guest ok = yes
[print$]
comment = Printer drivers
path = /etc/samba/printer
guest ok = yes
browseable = yes
read only = yes
write list = root
[HL-2040]
comment = Brother HL-2040 Series
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root
[printers]
comment = All Printers
browseable = no
printable = yes
writeable = yes
public = yes
guest ok = yes
path = /var/spool/samba
printer admin = root
write list = root |
_________________ Registered Linux User # 309023
vanilla-sources
XFce 4.4 and GNOME 2.20 |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
Posted: Sun Oct 07, 2007 10:29 pm Post subject: |
|
|
Are you using Gentoo? And emerge to install Samba?
If so it might behoove you to use the paths that are already properly setup by the ebuild. Look at the example smb.conf that is provided, zoom in on the print$ share and you may begin to see the problem.
Chris _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
MorphiusFaydal Tux's lil' helper
Joined: 20 Aug 2003 Posts: 113 Location: West Texas
|
Posted: Sun Oct 07, 2007 10:36 pm Post subject: |
|
|
darkphader wrote: | Are you using Gentoo? And emerge to install Samba?
If so it might behoove you to use the paths that are already properly setup by the ebuild. Look at the example smb.conf that is provided, zoom in on the print$ share and you may begin to see the problem.
Chris |
Can you copy that here, I believe I deleted mine. Or at least; it's not in /etc/samba not /usr/share/doc/samba-3.0.24-r3 _________________ Registered Linux User # 309023
vanilla-sources
XFce 4.4 and GNOME 2.20 |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
Posted: Sun Oct 07, 2007 10:40 pm Post subject: |
|
|
MorphiusFaydal wrote: | Can you copy that here, I believe I deleted mine. Or at least; it's not in /etc/samba not /usr/share/doc/samba-3.0.24-r3 |
It's smb.conf.example in /etc/samba/ - just remerge samba or untar the corresponding gentoo package. _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
MorphiusFaydal Tux's lil' helper
Joined: 20 Aug 2003 Posts: 113 Location: West Texas
|
Posted: Mon Oct 08, 2007 2:56 am Post subject: |
|
|
Okay; here's the relevant section in the example conf:
Code: | [print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = @adm root
guest ok = yes |
And here's mine now:
Code: | [print$]
comment = Printer drivers
path = /var/lib/samba/printers
guest ok = yes
browseable = yes
read only = yes
write list = @adm root |
SO!
Here's the now-current error:
Code: | Running command: smbclient //localhost/print$ -N -A /var/spool/cups/tmp/47099c564cd1d -c 'mkdir W32X86;put /var/spool/cups/tmp/47099c5263030 W32X86/HL-2040.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]
Server not using user level security and no password supplied.
NT_STATUS_NETWORK_ACCESS_DENIED making remote directory \W32X86
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/HL-2040.ppd
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/ps5ui.dll
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/pscript.hlp
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/pscript.ntf
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/pscript5.dll
Unable to copy Windows 2000 printer driver files (1)! |
cupsaddsmb -H localhost -U root -h localhost -v HL-2040 _________________ Registered Linux User # 309023
vanilla-sources
XFce 4.4 and GNOME 2.20 |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
|
Back to top |
|
|
MorphiusFaydal Tux's lil' helper
Joined: 20 Aug 2003 Posts: 113 Location: West Texas
|
Posted: Mon Oct 08, 2007 5:32 am Post subject: |
|
|
Because I was trying to set up a general-access fileshare. I do on occasion have people over to my apartment with their computers, and rather than have to train them in the use of usernames and passwords and set up usernames for everyone, I just set the security to share. Which I was under the impression that that was an acceptable method of setting up a share. Or else why would it be in SAMBA?
Also; the lack of of a big "ERROR" or similar next to the "Server not using user level security and no password supplied." meant to *me* that it was a warning or status message of some kind, that wasn't relevant to the operation at hand. Especially since it asks me for the password to the root samba user every time I run the command. _________________ Registered Linux User # 309023
vanilla-sources
XFce 4.4 and GNOME 2.20 |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
Posted: Mon Oct 08, 2007 5:50 am Post subject: |
|
|
MorphiusFaydal wrote: | I just set the security to share. Which I was under the impression that that was an acceptable method of setting up a share. Or else why would it be in SAMBA? |
If you read the docs you will find the answer to that question. Basically you can't do domain PDC stuff with share level security - you're acting like an old Win95 box (don't expect auto-driver download, etc.). It's easy enough to set up guest shares without resorting to "security = share" which is generally frowned upon (a reading of 'man smb.conf' should convince you of this).
The main problem with Samba is not 'with Samba', it's that many users don't understand Windows networking which Samba emulates. The reality is, that a working knowledge of Windows networking is very useful to implenting Samba without a lot of new study. If you don't have that background, read the docs and start with the defaults. _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
boogles n00b
Joined: 23 Jan 2008 Posts: 1 Location: San Francisco, California, US
|
Posted: Wed Jan 23, 2008 2:51 am Post subject: |
|
|
Quote: |
Paperone samba # cupsaddsmb -U root -v PSC-1215
Password for root required to access /var/run/cups/cups.sock via SAMBA:
No Windows printer drivers are installed!
No Windows printer drivers are installed!
No Windows printer drivers are installed!
No Windows printer drivers are installed!
No Windows printer drivers are installed!
No Windows printer drivers are installed!
No Windows printer drivers are installed!
No Windows printer drivers are installed!
No Windows printer drivers are installed!
...
|
I had this problem too. After some experimentation I discovered that is because the files that cupsaddsmb is looking for are case sensitive.
This is a really old thread, but it is what came up in Google when I searched for help.
-b |
|
Back to top |
|
|
stephelton Tux's lil' helper
Joined: 29 Mar 2004 Posts: 84 Location: Dallas, TX, USA
|
Posted: Fri Jan 25, 2008 8:53 pm Post subject: |
|
|
Just thought I'd post the problem I ran in to and my solution.
I had set up the printers, got it shared with a windows machine, and had tried printing many jobs. All would fail and I would find this in my cups log:
Code: | PID 16862 (/usr/libexec/cups/filter/pstoraster) crashed on signal 11! |
A long story short, I finally tried messing with the printer options under the windows machine I was trying to print from. It was trying to print at 5760x1440 dpi! Now I knew that this crappy printer wouldn't handle that, so I changed it to something more reasonable -- 720 dpi. Worked like a charm.
To access the printer options, browse to the printer, view its properties, select the General tab, click "Printing Preferences...", Select the "Paper/Quality" tab, click "Advanced..." and you'll find what appear to be the same options found under the cups web interface.
Hope that helps some people! |
|
Back to top |
|
|
|