Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   Configuring samba printer on Fedora 14 (http://www.linux-archive.org/fedora-user/602011-configuring-samba-printer-fedora-14-a.html)

Paolo Galtieri 11-24-2011 01:21 AM

Configuring samba printer on Fedora 14
 
When I had F12 installed on my system I was able to configure a printer attached to my dad's windows system without issues.

I'm now running F14 and I'm having problems.* When I bring up system-config-printer and add a printer via samba I provide just the workgroup name and select browse.* After a bit a dialog pops up showing the share name and then another dialog pops up that says that I need to login to the windows host.* Since no such security requirement has been configured on the windows side I am unable to configure a printer.* The same thing happens when I use my mother's F13 system to configure a samba printer.* I can run


smbclient -L 192.168.1.110

which prompts for a password but hitting return allows it to go ahead and display the available services

[root@peglaptopw mplayer]# smbclient -L 192.168.1.110
Enter root's password:

Domain=[TALOFA01] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]

*** Sharename****** Type***** Comment
*** ---------****** ----***** -------
*** ADMIN$********* Disk***** Remote Admin

*** C$************* Disk***** Default share
*** D$************* Disk***** Default share
*** E$************* Disk***** Default share
*** Epson Stylus Photo 1270 ESCP 2 Printer** Epson Stylus Photo 1270 ESC/P 2

*** EPSON Stylus Photo RX595 Series Printer** EPSON Stylus Photo RX595 Series
*** F$************* Disk***** Default share
*** G$************* Disk***** Default share
*** H$************* Disk***** Default share

<rest deleted>

However, if instead of providing just

WORKGROUP/

in the SMB printer config dialog I enter

WORKGROUP/192.168.1.110/

where 192.168.1.110 is the IP address of TALOFA01 then it finds the list of available printers and I can go ahead and configure them.


This workaround does not work on F13.* I'm still prompted for username and password for system 192.168.1.110.

It seems wrong to me that I need to provide the actual IP address to make it work.* If I provide TALOFA01 instead of the IP address I get prompted again for username and password.


So what do I need to configure on F14 to make printer configuration via samba work right?

On another note there is one thing I find really annoying regarding adding a printer, and that's the number of times I'm asked for the root password.* I'm asked the root password first when I select add printer.* After providing it (correctly) I am asked it again to get privileges to access network printers.* I am asked the root password a third time when I go to apply the printer configuration.* After I enter the password I am again prompted for the root password to get additional privileges.* So in total I was asked for the root password 4 times - this seems excessive.


Paolo

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Tim Waugh 12-14-2011 03:39 PM

Configuring samba printer on Fedora 14
 
On Wed, 2011-11-23 at 18:21 -0800, Paolo Galtieri wrote:
> So what do I need to configure on F14 to make printer configuration
> via samba work right?

There seems to be some kind of issue with authenticating using
libsmbclient, the SMB library that system-config-printer uses:
https://bugzilla.redhat.com/show_bug.cgi?id=767673

> On another note there is one thing I find really annoying regarding
> adding a printer, and that's the number of times I'm asked for the
> root password. I'm asked the root password first when I select add
> printer. After providing it (correctly) I am asked it again to get
> privileges to access network printers. I am asked the root password a
> third time when I go to apply the printer configuration. After I
> enter the password I am again prompted for the root password to get
> additional privileges. So in total I was asked for the root password
> 4 times - this seems excessive.

This is configurable:
https://fedoraproject.org/wiki/Printing/ConfigurationTool#PolicyKit_configuration

and in fact I have asked for the default to be changed:
https://bugzilla.redhat.com/show_bug.cgi?id=596711

Tim.
*/

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


All times are GMT. The time now is 09:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.