[Samba] Samba 4.0.5 git. Printer sharing broken?

steve steve at steve-ss.com
Wed Mar 27 04:18:32 MDT 2013


On 26/03/13 05:03, steve wrote:
> Version 4.0.5-GIT-50c476e
> openSUSE 12.3 with CUPS driver on the DC which is printing OK from 
> Linux clients joined to the domain.
>
> Hi everyone
>
> I have set up printing according to:
> http://wiki.samba.org/index.php/Samba4/HOWTO#Step_13:_Setup_a_Printer_share 
>
>
> My smb.conf looks like this:
> [printers]
>     comment = All Printers
>     path = /usr/local/samba/var/spool
>     browseable = Yes
>     read only = No
>     printable = Yes
>
> [print$]
>     comment = Point and Print Printer Drivers
>     path = /usr/local/samba/var/print
>     read only = No
>
> But testparm tells me otherwise (notice the browseable = No):
> [printers]
>         comment = All Printers
>         path = /usr/local/samba/var/spool
>         read only = No
>         printable = Yes
>         print ok = Yes
>         browseable = No
>
> [print$]
>         comment = Point and Print Printer Drivers
>         path = /usr/local/samba/var/print
>         read only = No
>
> Although I can't see the 'Printers and Faxes' share in W7 explorer, I 
> see an empty screen at \\server\printers and when I right click I can 
> choose 'server properties' and proceed to select the correct driver. 
> The driver installs fine from a W7 client and the files appear at:
> /usr/local/samba/var/print/W32X86/3
>
> However, I cannot print anything from Windows. The printer does not 
> appear and cannot therefore be selected even though the driver seems 
> to be correctly installed.
>
> This same config was working fine with 4.0.0. Any ideas what to do to 
> be able to share the printer using the test branch?
>
> Cheers,
> Steve
>
Error messages from smbd:

/usr/local/samba/sbin/smbd: _spoolss_AddPrinterDriverEx: level 8 not yet 
implemented
/usr/local/samba/sbin/smbd: spoolss_addprinterex_level_2: add printer 
for printer hpdeskjetf2200series called and no smb.conf parameter 
"addprinter command" is defined. This parameter must exist for this call 
to succeed

windows says 'Access is denied' when trying to install the printer 
driver. I have opened 631 on the DC for CUPS and also tried without any 
firewall.

Anyone?
Thanks,
Steve




More information about the samba mailing list