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

2012-12-07 Thread Socket
Comment #5 works also for me with both server and client running Ubuntu
12.04. Without that directive it seems there's some privileges problems
with the nobody user (the default bad-user mapping)

Excerpt from server's smb.conf:

[global]
   map to guest = bad user
## Printing ##
   load printers = yes
   printing = cups
   printcap name = cups   
   use client driver = yes

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   public = yes
   guest ok = yes
   read only = yes
   create mask = 0700

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-10-13 Thread Thanos Kyritsis
Comment #5 works for me as well.

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-10-12 Thread rasos
Fix as described in askubuntu #7 worked for me. I copy it here for
reference with some adaptions, credits go to RobDavenport.

== Set up printer shared on a sambe network with authentication ==

Choose Add new printer in Printing, click open 'Network Printers',
select 'Windows Printer via SAMBA'

Click 'Browse' to browse for printer (it prompts for authentication
to access Windows server with printer)

or enter  'smb://sambadomain/servername/printername' e.g.
smb://uclv/printers.mycompany.at/a4-e105

Select 'Set authentication details now'

Enter details as 'domain\username' and password 
(if you click 'verify' now it will say printer is not accessible, but click 
Forward anyway.)

Select driver

Print test page

Just to be clear: I always could print from Ubuntu 11.10, but not from 12.04 
Desktop to printers served by a Windows server. 
If I rename a printer, I get again the authentication error. The above set up 
worked.

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-09-09 Thread Jan Rathmann
Adding 'use client driver = yes' worked for me also.

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-09-03 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: samba (Ubuntu)
   Status: New = Confirmed

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-07-21 Thread hamishcarpenter
The fix in Comment #5 worked for me; adding 'use client driver = yes'
under the [printers] section of /etc/samba/smb.conf

Same situation as OP: Ubuntu 11.10 upgrades to 12.04.
Windows client: Windows XP

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-06-25 Thread 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?

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.
  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.

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

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-06-25 Thread Fred Müller
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 @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
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/990388

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2012-06-22 Thread Till Kamppeter
Can also be a Samba problem as a change in smb.conf solves the problem.

** Also affects: samba (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  acces denied samba printer shares after upgrade precise

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs