Hi,
I have a problem setting up shared printers in samba4, I used the manual in
https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Step_13:_Setup_a_Printer_share
- I added a printer using cups
- I added the printer en printer driver share as written in the wiki
- I logged on as samba 4 administrator on a windows 7 client
- I tried to add the printer
On windows I get "acces denied" on the samba4 server in 
/var/log/samab4/log/smbd I get:
Add printer for printer Ricoh Aficio MP 4000 PCL6 called and no smb.conf
parameter "addprinter command" is defined. This parameter must exist
for this call to succeed
I thought the addprinter command was not available anymore for samba4?
The server is a CentOS release 6.3
sama version: samba4-4.0.1
smb.conf:
# Global parameters
[global]
     workgroup =DOMAIN
     realm = domain.nl
     netbios name = PUPPETDEV01
     server role = active directory domain controller
     dns forwarder = 172.19.1.12
[netlogon]
     path = /var/lib/samba4/sysvol//domain.nl/scripts
     read only = No
[sysvol]
     path = /var/lib/samba4/sysvol/
     read only = No
[printers]
     comment = All Printers
     path = /var/lib/samba4/spool
     browseable = Yes
     read only = No
     printable = Yes
[print$]
     comment = Point and Print Printer Drivers
     path = /var/lib/samba4/print
     read only = No
Chantal Rosmuller
2013-Feb-28  13:53 UTC
[Samba] problem with adding printers to samba4 [solved]
I solved it myself, the rpm I installed was not compiled with cups support On 02/27/2013 02:56 PM, Chantal Rosmuller wrote:> Hi, > > I have a problem setting up shared printers in samba4, I used the > manual in > > https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Step_13:_Setup_a_Printer_share > > > - I added a printer using cups > - I added the printer en printer driver share as written in the wiki > - I logged on as samba 4 administrator on a windows 7 client > - I tried to add the printer > > On windows I get "acces denied" on the samba4 server in > /var/log/samab4/log/smbd I get: > > Add printer for printer Ricoh Aficio MP 4000 PCL6 called and no > smb.conf parameter "addprinter command" is defined. This parameter > must exist for this call to succeed > > I thought the addprinter command was not available anymore for samba4? > > The server is a CentOS release 6.3 > sama version: samba4-4.0.1 > > smb.conf: > > > # Global parameters > [global] > workgroup =DOMAIN > realm = domain.nl > netbios name = PUPPETDEV01 > server role = active directory domain controller > dns forwarder = 172.19.1.12 > > [netlogon] > path = /var/lib/samba4/sysvol//domain.nl/scripts > read only = No > > [sysvol] > path = /var/lib/samba4/sysvol/ > read only = No > > [printers] > comment = All Printers > path = /var/lib/samba4/spool > browseable = Yes > read only = No > printable = Yes > > [print$] > comment = Point and Print Printer Drivers > path = /var/lib/samba4/print > read only = No > >
Andrew Martin
2013-Feb-28  14:47 UTC
[Samba] problem with adding printers to samba4 [solved]
----- Original Message -----> From: "Chantal Rosmuller" <chantal at antenna.nl> > To: samba at lists.samba.org > Sent: Thursday, February 28, 2013 7:53:44 AM > Subject: Re: [Samba] problem with adding printers to samba4 [solved] > > I solved it myself, the rpm I installed was not compiled with cups > support > > On 02/27/2013 02:56 PM, Chantal Rosmuller wrote: > > Hi, > > > > I have a problem setting up shared printers in samba4, I used the > > manual in > > > > https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Step_13:_Setup_a_Printer_share > > > > > > - I added a printer using cups > > - I added the printer en printer driver share as written in the > > wiki > > - I logged on as samba 4 administrator on a windows 7 client > > - I tried to add the printer > > > > On windows I get "acces denied" on the samba4 server in > > /var/log/samab4/log/smbd I get: > > > > Add printer for printer Ricoh Aficio MP 4000 PCL6 called and no > > smb.conf parameter "addprinter command" is defined. This parameter > > must exist for this call to succeed > > > > I thought the addprinter command was not available anymore for > > samba4? > > > > The server is a CentOS release 6.3 > > sama version: samba4-4.0.1 > > > > smb.conf: > > > > > > # Global parameters > > [global] > > workgroup =DOMAIN > > realm = domain.nl > > netbios name = PUPPETDEV01 > > server role = active directory domain controller > > dns forwarder = 172.19.1.12 > > > > [netlogon] > > path = /var/lib/samba4/sysvol//domain.nl/scripts > > read only = No > > > > [sysvol] > > path = /var/lib/samba4/sysvol/ > > read only = No > > > > [printers] > > comment = All Printers > > path = /var/lib/samba4/spool > > browseable = Yes > > read only = No > > printable = Yes > > > > [print$] > > comment = Point and Print Printer Drivers > > path = /var/lib/samba4/print > > read only = No > > > > >Chantal, Can you elaborate a bit on how you have integrated CUPS into your samba4 environment? I have configured a samba4 DC and set up a separate CUPS server with samba3 to export the printer share. In samba4, where/how do you set up the printers? Is there a way to push them out to domain computers using Group Policy? Thanks, Andrew