[Bug 990388] Re: acces denied samba printer shares after upgrade precise

Fred Müller tim1900 at gmx.de
Mon Jun 25 14:05:31 UTC 2012


Hallo,

Am 25.06.2012 14:46, schrieb Robie Basak:
> Could affected users who haven't already reported please report whether
> the workaround of adding "use client driver = no" works for you, or if
> it fails for you?

Diese Konfigurationseinstellung "use client driver = yes|no" hatte ich
bis Precise (Version <= Oneiric) überhaupt nicht verwendet.

Ich verwende auch keine Windows-Clients sondern habe aus Kompatibilität
immer den Sambazugriff für die Drucker auch in Linux eingerichtet. Was
auch immer problemlos funktionierte bis Version Ubuntu Precise. Das war
auch kein Upgradeproblem sondern war bei einer Neuinstallation ebenso
vorhanden.

In der ersten Antwortmail von .... at bugs.launchpad.net war die
Konfigurationseinstellung "use client driver = yes", welche ich dann
verwendete -> Fazit Verbindungsproblem durch "Access Denied" war behoben.

Es handelte sich immer nur um Druckprobleme, welche sich in fehlerhafter
Autorisierung äußerten. Mit smbclient war dies ebenso. Hinweis mit der
gleichen Konfigurationsdatei smb.conf unter Oneiric funktionierte alles
ohne Probleme, auch ohne Konfigurationseintrag "use client driver =
....".

> Assuming that "use client driver = yes" fixes the problem, it seems to
> me that this is a question about how the Windows printer driver concept
> works with samba.
> 
> If we don't want to ever install Windows printer drivers into samba,
> then it would make sense for Ubuntu to enable "use client driver = yes"
> by default. If we do want to be able to install Windows printer drivers
> into samba, then we must have "use client driver = no" (the default) in
> smb.conf by default.
> 
> If my understanding is correct, then users can:
>   1) Set "use client driver = yes" and install printer drivers locally on each Windows client manually.

Set "use client driver = yes" and the connection to printer is ok
(access ok). Set "use client driver = no" or entry not available in
smb.conf -> error: access denied.

>   2) Set "disable spoolss = yes" and downgrade samba's behaviour to older printing protocols, which do not support server-side storage of Windows printer drivers.
>   3) Install a Windows printer driver into samba for each printer for which sharing is required, which is how printing works on Windows servers. This is documented but is a bit involved to set up, but it does provide the cleanest and most functional printing experience to Windows users.

Ich habe keine windows treiber installiert und dies auch zu keinem
Augenblick gewollt. die Treiber waren bereits eingerichtet (Linux
debian, ubuntu oneiric).

> So what should the default be? The current packaging does provide
> defaults to permit the beginnings of option 3, and changing the default
> to option 1 would break this.
> 
> ** Changed in: samba (Ubuntu)
>    Importance: Undecided => Medium

Ich möchte ein Upgrade machen ohne ständig Fehler zu suchen oder das
System ewig lang wieder zurückzustellen. Das System muss danach in einem
funktionsfähigen Zustand sein, dazu gehört Samba. Das ist wiederholt bei
einem Upgrade nicht der Fall. Da wird der Rechner einfach ausgeschaltet
- obwohl das Root-FS noch gemountet ist (schon 2x der Fall - selbst
Neuinstallation von Precise), etc. (anderer Bug) oder Cups startet nach
Samba, .... .

Abfolge: Upgrade Oneiric -> Precise -> danach konnte über Samba nicht
mehr gedruckt werden. Problem access denied. Die
Konfigurationseinstellung "use client driver = yes" behebt das Problem.

Viele Grüße

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/990388

Title:
  acces denied samba printer shares after upgrade precise

Status in “cups” package in Ubuntu:
  Confirmed
Status in “samba” package in Ubuntu:
  New

Bug description:
  
  --Google translate--
  After upgrading to Precise access via Samba to the CUPS printer is no longer possible (see system below). Access to directory sharing works fine. The configuration file is smb.conf been secured and correctly.
  The printer is in power readily identifiable, but fails to connect.
  Error on the client PC "ACCESS_DENIED ....."

  --Original--
  Nach dem Upgrade auf Precise ist ein Zugriff über Samba auf die Cups-Printer nicht mehr möglich (siehe System unten). Ein Zugriff auf Verzeichnisfreigaben funktioniert problemlos. Die Konfigurationsdatei smb.conf ist gesichert worden und korrekt.
  Der Drucker ist im Netz problemlos auffindbar, jedoch schlägt eine Verbindung fehl.
  Fehler auf dem Client PC "ACCESS_DENIED....."

  Server (Samba, Cups):
  -----------------------------
  Description:	Ubuntu 12.04 LTS
  Release:	12.04

  Client:
  --------
  Description:	Ubuntu 11.10
  Release:	11.10

  und

  Description:	Ubuntu 12.04 LTS
  Release:	12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/990388/+subscriptions




More information about the foundations-bugs mailing list