Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cups and Windows XP - authentication problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Vanquirius
Retired Dev
Retired Dev


Joined: 14 Jun 2002
Posts: 1297
Location: Ethereal plains

PostPosted: Mon Mar 24, 2003 1:40 am    Post subject: Cups and Windows XP - authentication problem Reply with quote

Hello,

I have a home network and am trying to setup printing services for both computers on the network. No file sharing is necessary (thus no need for samba).

The server: Gentoo Linux running CUPS, HP Deskjet 840C on /dev/usb/lp0.
I <b>can</b> print from the server, works like a charm.
internet connection on eth0,
internal network on eth1 - 192.168.0.1

The client: Windows XP
internal network on eth0 - 192.168.0.2
internet connection sharing between server and client works using masquerade scripts from tldp.org

From what I've read, with Windows 2k and XP I don't need samba, I can just use the IPP protocol.
Thus, to add a printer, I do in Windows XP -> Printers - Add Printer - Connect to Printer on Internet or home/office network - http://192.168.0.1:631/printers/hp - next

Then, a screen pops up asking me about security options - anonymous account, windows logon name or specified user account. In any of these cases, even if I put root and my root password the specified user account, I get a configuration error screen saying that "I do not have access to the printer, please try a different username and password".

Can somebody please enlighten me???
_________________
Hello.
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Mon Mar 24, 2003 12:46 pm    Post subject: Reply with quote

did you enable the network subnet in the cups config on your server ? its switched off by default IIRC ... (so only localhost can connect).

you can check this quite easy by http..ing to your server:

http://yours-server:631/
Back to top
View user's profile Send private message
Vanquirius
Retired Dev
Retired Dev


Joined: 14 Jun 2002
Posts: 1297
Location: Ethereal plains

PostPosted: Mon Mar 24, 2003 5:13 pm    Post subject: Reply with quote

Stupid me... Fixed it by tweaking "BrowseAllow" and "Allow From" in cupsd.conf.

Thanks a lot!
_________________
Hello.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum