Luis Peromarta
2024-May-27 10:35 UTC
[Samba] Printer desappeared... configuration and backup?
From my experience when driver associates or re-associates with printer, printer ?shared name? changes. From a windows client perspective the printer disappears and needs reconnecting. After re-associating check the shared name. LP On 27 May 2024 at 11:10 +0100, Marco Gaiarin via samba <samba at lists.samba.org>, wrote:> > Samba AD domain, composed of different DCs and DMs, someone used (also) as print > server with CUPS, with Point'n'Print (driver loaded server side). > > > This morning in a site all printers but 1 'desappeared': really the don't desappear, > simply the association between printers and driver get lost someway, so > printer come back to standard CUPS printer name, so clients say that printer > desappeared. > > I've simply re-associated driver to printers, using the previous printer > names, and all user get back in job. > > > But... > > 1) i've not found the root cause of that; there's some hint/keyword i can > try to grep in logs to have some clue? > > 2) i've not found the config file or 'TDB' that contain printer > configuration; i remembered something like that happened when i used NT domain, but > there's a 'printer.tdb' (or something like that) that contain all the conf, > so backing up and putting in place the correct file suffices. > > Where are saved printers association with driver, printer names and > generally printer configuration in an AD domain? Directly in AD? > > > Thanks. > > -- > dott. Marco Gaiarin GNUPG Key ID: 240A3D66 > Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ > Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) > marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 > > Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! > http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 > (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Marco Gaiarin
2024-May-31 12:51 UTC
[Samba] Printer desappeared... configuration and backup?
Mandi! Luis Peromarta via samba In chel di` si favelave...> From my experience when driver associates or re-associates with printer, printer ???shared name??? changes. > From a windows client perspective the printer disappears and needs reconnecting. > After re-associating check the shared name.OK. I can confirm that. Right. But 'why' (dis)associate?! In 'NT' samba era, there was a TDB that get corrupted. Now in 'AD' era i've not found a database or config file that contain printers config, particulary printer and driver association, and printer names. These info are written directly in LDAP? And if yes, because get corrupted? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)