Configure Samba on CUPS server to automatically serve printers and drivers

0

I am trying to configure my print-server to automatically serve printers and drivers for users in our domain.I'm running a CUPS print server through my CentOS7 virtual machine. I installed samba and configured the smb.conf to look like this

[global]
        workgroup = myGroup
        security = user
        realm = myDomain
        passdb backend = tdbsam

        printing = cups
        printcap name = cups
        load printers = yes
        cups options = raw
        username map = /etc/samba/user.map
        browsable = yes
        guest ok = yes
        read only = yes

        rpc_server:spoolss = external
        rpc_daemon:spoolssd = fork


[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes

[printers]
        comment = All Printers
#       path = /var/tmp
        path = /var/spool/samba
        guest ok = Yes
        printable = yes
        create mask = 0600
        browseable = no
        public = yes

[print$]
        comment = Printer Drivers
        path = /srv/samba/printer_drivers/
        browsable = yes
        read only = no
        write list = @printadmin root, @Domain Admins
        guest ok = yes
        force group = @printadmin
        create mask = 0664
        directory mask = 0775

Next I setup a GPO to serve the printers but that did not seem to do anything. I have searched everywhere on the web but can't find a solution for why it is not working.

I also tried setting it up through print management on windows 10 where I add the print-server but it will not allow me to add a printer as it says The Network Printer Installation Wizard cannot be launced. Make sure that the print spooler service on the server is running and available to client computers.

Any assistance is much appreciated.

Josh

Posted 2019-12-30T20:32:48.560

Reputation: 1

No answers