[Samba] Where samba store printer/driver information?
Marco Gaiarin
gaio at lilliput.linux.it
Wed Aug 28 08:04:34 UTC 2024
Mandi! Douglas Bagnall via samba
In chel di` si favelave...
> Do you have printQueue objects in the LDB database?
Ahem... WHAT ldb database?! ;-)
I've tried to dump/strings all TDB and LDB databases of my print server, but
i've found nothing...
> I don't know anything about printing, but these have the right kinds of attributes:
> lDAPDisplayName: printQueue
> systemMayContain: driverVersion
> systemMayContain: driverName
> systemMustContain: printerName
Uh. Oh... i've query my AD for 'Printers' and i've effectively found some
object 'printQueue'; so printer and driver association is on AD?
So i've lost a bit of my AD... Mmmh.... Anyway, thanks:
ldbsearch -H /var/lib/samba/private/sam.ldb -b "DC=ad,DC=fvg,DC=lnf,DC=it" "objectClass=printQueue" serverName name description driverName > backup
printer saved. ;-)
--
More information about the samba
mailing list