Again: delete printer does not work

Martin Zielinski mz at seh.de
Wed Dec 22 15:02:36 GMT 2004


Hello list,

I'm still not able to delete printers via rpc calls.
I'm using Samba 3.0.10 with jerry's printing patch.

As mentioned in an earlier post, the reason seems to be
that lp_killunused() in param/loadparm.c does not delete autoloaded services.
When using a simple [printers] - share, the printers are marked autoloaded in 
lp_add_one_printer() (also in param/loadparm.c).

Now after deleting a printer, the logfiles are filled with error messages from 
the printing subsystem (cups).

When I mark the printers as autoloaded = False, the printer is deleted.
Nevertheless the SECDESC\printername key in ntprinters.tdb as well as the 
printers\printername.tdb remains. 

Please tell me, if somone (Jerry ?) is working on it.

Thanks and Greetings,
Martin

-- 
Martin Zielinski                       mz at seh.de
Software Development
SEH Computertechnik GmbH     www.seh.de


More information about the samba-technical mailing list