[Samba] Where samba store printer/driver information?

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Wed Aug 28 01:11:09 UTC 2024


On 19/08/24 21:32, Marco Gaiarin via samba wrote:
> 
> Samba in AD mode, of course; printer server on a domain member with cups.
> 
> 
> For the second time i'me lost, on a server, all the associaton between
> printers and drivers, so i've to set it all.
> 
> Old samba 3 was clear:
> 
> 	https://www.samba.org/samba/docs/old/Samba3-HOWTO/tdb.html
> 
> but now i've not found (even doing 'tdbdump') where printer names, driver
> association and so on are stored. I've found:
> 
> 	https://wiki.samba.org/index.php/TDB_Locations
> 
> but nothing more.
> 
> 
> Someone can help me? Thanks.

Do you have printQueue objects in the LDB database?

I don't know anything about printing, but these have the right kinds of attributes:

  lDAPDisplayName: printQueue
  systemMayContain: driverVersion
  systemMayContain: driverName
  systemMustContain: printerName


Douglas




More information about the samba mailing list