LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SAMBA/CUPS failure after upgrade (http://www.linuxquestions.org/questions/linux-networking-3/samba-cups-failure-after-upgrade-345518/)

wombat53 07-21-2005 05:47 PM

SAMBA/CUPS failure after upgrade
 
Hi group
A (quick?) question, please.
I have SAMBA and CUPS successfully in place for over year now, and from my Slackware LINUX instance I can print to a printer locally attached to my wife's WIN XP box. This has always worked, until it stopped...with:
Printer State: idle, accepting jobs.
"Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED"
Device URI: smb://WORKGROUP/GAIL/hpdeskje

Now, the obvious question is "what changed" and the answer is "nothing", except that I did upgrade Slackware from 9.1 to 10.1 (perhaps a big change?).
Regardless, unless someone has an obvious "fix" to this question of min,e I am wondering where in the SAMBA logging sub-system I can start to look for the source of this error (presumably authorization-based). I have looked at var/log/samba, and var/log samba log files also, but they are of little help. CUPS log just repeats the error above, and presumably CUPS is at the end of the trail,k the symptom, not the cause.

"[21/Jul/2005:18:27:08 -0400] [Job 337] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED"
(from var/log/cups/error_log)
Thanks
wombat

broch 07-21-2005 06:25 PM

you need to re-run
#smbpasswd
and if you can't get to CUPS web admin page also re-run
#lppasswd

wombat53 07-22-2005 12:04 AM

broch - thanks. It's over a year since I set this up! I have run smbpasswd as root. The WIN client does not use passwords, so - as root - I I have just responded enter, twice. Didn't work. I tried another defined user (on WIN) called "george", who has no password, and could still not print. I changed SMB.CONF to enable null passwords = yes, and set them again for those users with the -n option
"Home server: george
User george password set to none"


It's a mystery, how something that once worked, was not reconfigured, then no longer works.
Let me add, that I have never set up a lppasswd before, and I do have access to the web-base CUPS interface...

I have no doubt that this is an authorization-based thing, but cannot figure it out...the other win boxes can all communicate happily with my win partitions and printer (when I am running LINUX) , just as my Linux can communicate with their various win partitions...I have jut lost access to this win-based printer.....
Thanks
George


All times are GMT -5. The time now is 01:21 AM.