Marc Haber
2004-Jun-16 16:52 UTC
[Samba] smbspool to Windows 2000 Server: "ERRgeneral opening remote file"
Hi, I am trying to print from my Debian unstable Notebook to a printer that is connected to a Windows 2000 Server. Target environment is CUPS which uses smbspool as a front-end, and smbspool gives a strange error message. | export DEVICE_URI="smb://account:password@domain/server/printer" | smbspool foo bar Title 1 ignore Makefile gives the error message | ERROR: ERRHRD - ERRgeneral (General failure.) opening remote file Title Same thing happens with | export DEVICE_URI="smb://domain\account:password@server/printer" When I use a different (wrong) password, the error message changes to access denied, so I believe the account is OK. When I boot my notebook with windows, I can print to that printer with the account in question. So the Windows people say that the server is fine. Am I doing something wrong with smbspool? Any hints will be appreciated. I will be on site again on Friday, so I won't reply to answers until I have tried what you suggested. Greetings Marc -- -------------------------------------- !! No courtesy copies, please !! ----- Marc Haber | " Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
Ricardo Nuno
2004-Jun-16 17:00 UTC
[Samba] smbspool to Windows 2000 Server: "ERRgeneral opening remotefile"
hi Marc, I had that problem a few days ago, I solved by on the win2k machine in the Printer properties, go to the "Advance" Tab check if you dont have selected "Print directly to the printer" and select "Spool print..." and it should work, at least for me it worked :-) regards, -- RNuno -----Original Message----- From: samba-bounces+ricardo.nuno=moonlight.pt@lists.samba.org [mailto:samba-bounces+ricardo.nuno=moonlight.pt@lists.samba.org]On Behalf Of Marc Haber Sent: quarta-feira, 16 de Junho de 2004 17:52 To: samba@lists.samba.org Subject: [Samba] smbspool to Windows 2000 Server: "ERRgeneral opening remotefile" Hi, I am trying to print from my Debian unstable Notebook to a printer that is connected to a Windows 2000 Server. Target environment is CUPS which uses smbspool as a front-end, and smbspool gives a strange error message. | export DEVICE_URI="smb://account:password@domain/server/printer" | smbspool foo bar Title 1 ignore Makefile gives the error message | ERROR: ERRHRD - ERRgeneral (General failure.) opening remote file Title Same thing happens with | export DEVICE_URI="smb://domain\account:password@server/printer" When I use a different (wrong) password, the error message changes to access denied, so I believe the account is OK. When I boot my notebook with windows, I can print to that printer with the account in question. So the Windows people say that the server is fine. Am I doing something wrong with smbspool? Any hints will be appreciated. I will be on site again on Friday, so I won't reply to answers until I have tried what you suggested. Greetings Marc -- -------------------------------------- !! No courtesy copies, please !! ----- Marc Haber | " Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Marc Haber
2004-Jun-18 13:22 UTC
[Samba] smbspool to Windows 2000 Server: "ERRgeneral opening remote file"
On Wed, Jun 16, 2004 at 06:52:14PM +0200, Marc Haber wrote:> | export DEVICE_URI="smb://account:password@domain/server/printer" > | smbspool foo bar Title 1 ignore Makefile > gives the error message > | ERROR: ERRHRD - ERRgeneral (General failure.) opening remote file Title > > Same thing happens with > | export DEVICE_URI="smb://domain\account:password@server/printer" > > When I use a different (wrong) password, the error message changes to > access denied, so I believe the account is OK. > > When I boot my notebook with windows, I can print to that printer with > the account in question. So the Windows people say that the server is > fine.Trying to print with smbclient gives the same error message, and smbclient's queue command gives no output while there are jobs in the queue that should be displayed. An strace of smbclient suggests that the error message is indeed generated from and error code returned by the server (but the error message is not in the server's answer in clear text, so I suspect some error number that is translated to the clear text on the client). The system log on the Windows box doesn't attract any special attention. Any more hints what to try? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15 Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29