[Samba] printing to a Mac from Windows does not work

robert b jsp7rc002 at sneakemail.com
Fri May 26 15:32:29 GMT 2006


I am able to connect to my printer connected to my Mac (OSX 10.4.6) from both the Mac itself and from a Linux machine:

$ smbclient "//MINI/HP LaserJet 5L"

But, when I try to test printing, I get an error:

$ smbclient "//MINI/HP LaserJet 5L"
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.10]
smb: \> print test.txt
Error writing file: NT_STATUS_FILE_LOCK_CONFLICT
putting file test.txt as test.txt (0.0 kb/s) (average 0.0 kb/s)

Also, for some reason, after connecting, it seems that I am browsing /tmp:

smb: \> dir
  .                                   D        0  Mon May 22 07:34:13 2006
  ..                                  D        0  Sat May 20 18:55:57 2006
  .e000002.f6184                      H        3  Sat May 20 19:04:54 2006
  .winbindd                          DH        0  Sun May 21 17:40:59 2006
  501                                 D        0  Sun May 21 17:24:06 2006
  objc_sharing_ppc_4294967294                 12  Sun May 21 18:56:22 2006
  objc_sharing_ppc_501                        48  Mon May 22 06:55:14 2006
  objc_sharing_ppc_92                         24  Sat May 20 18:56:34 2006
  printers                            D        0  Sat May 20 18:56:40 2006

                38026 blocks of size 1048576. 19288 blocks available

I have precisely the same behavior when connecting from my Windows 98-SE
machine -- I am not able to print.

My printers entry in smb.conf is simple:

[printers]
        path = /tmp
        guest ok = Yes
        printable = Yes
        browseable = no

Any ideas what might be going wrong?

Thanks for any help.


More information about the samba mailing list