[Samba] Print Management Blank After Working for Years
Aaron de Bruyn
aaron at heyaaron.com
Mon Jan 23 23:04:16 UTC 2023
Stopped samba, cups, etc... and blew away /var/lib/samba/registry.tdb and /var/lib/samba/*winbind* for good measure that that fixed that part of it.
There's still something going on between the Windows Point and Print policies and Print Management.
Blowing away HKLM\Software\Policies\Microsoft\Windows NT\Printers and restarting the print spooler makes Print Management work, but you can't actually connect to the printer and use it until after a gpupdate /force where the point-and-print policy reapplies the settings for which servers it's allowed to connect to.
Microsoft is such a dumpster fire.
On Mon Jan 23, 2023, 09:47 PM GMT, Rowland Penny via samba <mailto:samba at lists.samba.org> wrote:
> On 23/01/2023 21:41, Aaron de Bruyn wrote:
>> There's got to be more to this...
>> I stopped samba, cups, and winbind.
>> I rm -rf'd the my print driver store (under /tank/printing on my systems)
>> I nuked /var/cache/samba/print*
>> I started all the services back up.
>> I closed/opened Print Management, and while it's still suffering from
>> the whole not-displaying-anything problem from before, if I right-click
>> on the Samba box and go to Properties and then the Drivers tab....I see
>> drivers listed. Even though I nuked /tank/printing.
>> Running "net rpc printer driver" shows old Lexmark drivers installed.
>> I tried restarting various RPC services and it still shows those drivers.
>> Where is RPC getting that information?
> You know that mess called 'the registry', probably from there.
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba