Adding a Linux printer to Windows XP

Kevin J. Cummings cummings at kjchome.homeip.net
Tue Apr 10 22:34:23 UTC 2007


Phil Meyer wrote:
> Phil Meyer wrote:
>> Kevin J. Cummings wrote:
>>> I have even configured my Linux userid/password but the error message I
>>> get back from Windows is permission denied.
>>>
>>> Does anyone have any idea what I'm doing wrong?
>>>   
>>
>> Saw this one just the other day.  Samba did not automatically create
>> the spool directory.  Then when I created it manually it still
>> wouldn't write to it, so I made it 777 and it started to work.  Weird.

1777 would probably be better....

>> First off, the default spool directory is: /usr/spool/samba
>> That is wrong, of course, but there it is.
>> Second, no indication who should own it.
>>
>> I found the error in /var/log/messages:
>>
>> Mar 30 08:33:08 eragon smbd[27923]:   '/usr/spool/samba' does not
>> exist or permission denied when connecting to [lp] Error was No such
>> file or directory
>>
>> Good Luck!
>>
> Forgot to add:
> 
> # ln -s /var/spool /usr/spool
> 
> will correct the problem.  But the package maintainer probably needs to
> correct it in the next update.

I'm not currently trying it as a SAMBA printer, but I've long since
fixed the /usr/spool /var/spool problem, and my /var/spool/samba is 1777
and owned by root.root.  So anyone can write to it.

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)




More information about the fedora-list mailing list