openSUSE Forums > Network/Internet » Samba Printing - "Access Denied, Unable to Connect"

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
Page 2 of 6 1 2 34 Last »
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 19-Dec-2008, 17:04
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,884
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Samba Printing - "Access Denied, Unable to Connect"

Quote:
always like to know why I am doing something.
I recommended those things because they work for me. Figured them out so long ago and recorded them for reference. Can't remember the nitty gritty any more and don't want to spend the time to get it fresh in my mind. So it will have to remain a bit of a puzzle (to us both).
Quote:
okay everything is still fine but I had to add this in to dump off that error disable spoolss = yes
without that I receive the error in the log and I never receive a log info for the print job, with disable spoolss = yes I see the printer access and so on. Still do not understand the error and why this resolve the error.
I've not encountered this parameter before. And I've always operated with the default log level. So that's a bit of a mystery to me too. I have seen via Google that you can get worrying log messages that are not actually a worry. And you do have a weird [global] in smb.conf. For example do you really mean to have a "wins server" installed?
__________________
Drop in and visit some time.
Reply With Quote
  #12 (permalink)  
Old 19-Dec-2008, 17:10
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,884
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Samba Printing - "Access Denied, Unable to Connect"

An afterthought: this is the default, you don't have to put it in: TCP_NODELAY.
The general recommendation is to leave the socket options to the defaults set by the devs. There is a hangover of using socket options from Debian (and therefore also from Xbuntu), but I really don't know why because the choices there are the defaults AFAICS. Maybe that's where you got the wins server thing too (Deb/Ubuntu)?
__________________
Drop in and visit some time.
Reply With Quote
  #13 (permalink)  
Old 19-Dec-2008, 17:37
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 43
sullysnet hasn't been rated much yet
Default Re: Samba Printing - "Access Denied, Unable to Connect"

thanks for the answer to both. Not sure why I see the error and it's no big deal either way I am using your settings (thanks) and that one spoolss so I can't see the error LOL. Since it works with that setting I will leave it.

Well I figured it was good to use the Wins server no? Since I have the machine set to master browser I figured I needed that set as well. Mostly my configs come from google and a older book I have. I am open to removing un needed overhead and senseless things.

So do you think I should remove that line for TCP completely and let it do the default settings? I changed that cause it was recommended for a local network but if you feel it is doing nothing for me I will remove it. Everything is for the best performance anyway.

Also about the CUPS managment page do you know why I can't view that anymore? I can see the page but I can't view my printer.

thanks
Reply With Quote
  #14 (permalink)  
Old 19-Dec-2008, 18:18
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,884
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Samba Printing - "Access Denied, Unable to Connect"

Quote:
Originally Posted by sullysnet View Post
Well I figured it was good to use the Wins server no? Since I have the machine set to master browser I figured I needed that set as well. Mostly my configs come from google and a older book I have. I am open to removing un needed overhead and senseless things.
A wins server is a fine thing. I just seldom see them in openSUSE. Stay with it (particularly if it's working).
Quote:
So do you think I should remove that line for TCP completely and let it do the default settings? I changed that cause it was recommended for a local network but if you feel it is doing nothing for me I will remove it. Everything is for the best performance anyway.
It should make no difference at all. Try commenting it out and see if it does make a difference.
Quote:
Also about the CUPS managment page do you know why I can't view that anymore? I can see the page but I can't view my printer.

thanks
I assume you're looking on the address: http://localhost:631
If you can't see the printer on that add a user to the cups admin database like this in a console:
sudo lppasswd -a username
or the root user if the cupsd.conf is configured to refuse the above:
sudo lppasswd -g sys -a root
__________________
Drop in and visit some time.
Reply With Quote
  #15 (permalink)  
Old 19-Dec-2008, 18:27
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 43
sullysnet hasn't been rated much yet
Default Re: Samba Printing - "Access Denied, Unable to Connect"

I am not trying to access it form the server, only from my Vista machine. Would that make a difference?

I will try the command and try removing the socket option
thanks
Reply With Quote
  #16 (permalink)  
Old 19-Dec-2008, 19:02
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 43
sullysnet hasn't been rated much yet
Default Re: Samba Printing - "Access Denied, Unable to Connect"

interesting when trying to add a user account or root I get access denied... wonder why
Reply With Quote
  #17 (permalink)  
Old 19-Dec-2008, 19:58
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 43
sullysnet hasn't been rated much yet
Default Re: Samba Printing - "Access Denied, Unable to Connect"

come to find out this is an issue with SUSE 11.0 I think I told you I was using 10.3 but I think my DVD is label wrong... sorry about that. So there is an issue using that command


Cups lppasswd problems in 11.0 - openSUSE Forums


oh and I am also sorry I had a cached page I cannot view the http://localhost:631 page at all
Reply With Quote
  #18 (permalink)  
Old 19-Dec-2008, 21:11
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,884
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Samba Printing - "Access Denied, Unable to Connect"

I haven't added a printer to openSUSE 11.1 yet (first 24 hours). I'll get back when I have.
__________________
Drop in and visit some time.
Reply With Quote
  #19 (permalink)  
Old 19-Dec-2008, 22:13
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 43
sullysnet hasn't been rated much yet
Default Re: Samba Printing - "Access Denied, Unable to Connect"

I am questioning these configs because in my oringinal config I would see the printer and queues. I would also print a test page but I don't recall if I could admin it. I just liked the ability as a troubleshooting too to print from the web interface.

these lines Require user @

I tried the AuthType Basic to AuthType None but that didn't change a thing. Changing it to Default I couldn't do.

Oh and thanks for all the help
Reply With Quote
  #20 (permalink)  
Old 19-Dec-2008, 22:27
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,884
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Samba Printing - "Access Denied, Unable to Connect"

OK I just installed a printer in 11.1 via the CUPS GUi at localhost:632 and at the end of the install (using "add printer") I was asked for a username and password for which I simply used my linux root credentials.

Now I'll share the printer over Samba and see whether the procedure/config has changed (apart from no use of lppasswd) from the one outlined in this tutorial, which was current up to and including 11.0:
Printer Sharing: Samba Print Server for Suse/openSUSE 10.x Linux & Windows Clients
__________________
Drop in and visit some time.
Reply With Quote
Reply
Page 2 of 6 1 2 34 Last »

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2