Bug 1468997 - During the configuration of the smb backend credential verification doesn't work
Summary: During the configuration of the smb backend credential verification doesn't work
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1532175
TreeView+ depends on / blocked
 
Reported: 2017-07-10 08:25 UTC by Andreas Schneider
Modified: 2018-05-29 11:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1532175 (view as bug list)
Environment:
Last Closed: 2018-05-29 11:20:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andreas Schneider 2017-07-10 08:25:55 UTC
Description of problem:

1. Windows ADS
--------------

a) Install a Windows Active Directory Server (Windows 2012 here)
b) Create a printer on the Windows 2012 server (e.g. Virtual PDF Printer with 
   FreePDF)
c) Share the printer over the network

2. Install Fedora
-----------------

a) Install a Fedora distribution
b) Install samba, samba-krb5-printing and cups
c) Join the machine to AD (net ads join)
d) Setup winbind with authconfig
e) Configure CUPS
   * Stop cups with:
     systemctl stop cups.service; systemctl stop cups.socket; \
     systemctl stop cups.path
   * Edit '/etc/cups/cupsd.conf' and change 'DefaultAuthType Basic' to 
     'DefaultAuthType Negotiate'
     Make sure you have:
     'Listen /var/run/cups/cups.sock'
   * Start cups again with 'systemctl start cups.service'
   * Start system-printer-config as root
   * Click on 'Add' to add a printer
     - Select 'Windows Printer via SAMBA'
     - Add the smb url: win-dc02.earth.milkyway.site/FreePDF
     - Make sure in Authentication that 'Prompt user if authentication is
       requried' is selected
   * Click on "Verify"

Expected result:

There should be a pop up asking for credentials to authenticate against Windows.

Comment 2 Andreas Schneider 2017-07-10 08:40:10 UTC
Instead of using Windows, you can use a Samba AD.

Either install rawhide (f27) or use the packages from https://copr.fedorainfracloud.org/coprs/asn/samba_ad_dc/

You need to install the package 'samba-dc' and then provision the DC with samba-tool.

This is described here:
https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller

If it is up and working, create a printer:
https://wiki.samba.org/index.php/Virtual_PDF_Printer

Comment 3 Fedora End Of Life 2018-05-03 08:01:38 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2018-05-29 11:20:32 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.