svn commit: samba r2571 - in trunk/source: libads printing rpc_server

jerry at samba.org jerry at samba.org
Thu Sep 23 19:45:11 GMT 2004


Author: jerry
Date: 2004-09-23 19:45:10 +0000 (Thu, 23 Sep 2004)
New Revision: 2571

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source&rev=2571&nolog=1

Log:
Patch from Rob Foehl <rwf at loonybin.net>:

- fix typo in libads/ldap_printer.c:39, ads_find_printer_on_server()
  (originally libads-typo.patch)
- fix leak in printing/nt_printing.c, is_printer_published()
  (originally is_printer_published-leak.patch)
- fix double print_backend_init() calls, now only called from main()
- restructuring in printing/nt_printing.c
  - replaced (un)publish_it() with ads-specific functions
  - moved common code to nt_printer_publish()
  - improved error handling in several places
- added check_published_printers() in printing/nt_printing.c, to verify
  that each published printer is actually in the directory at startup
- changed calling semantics of mod_a_printer, dump_a_printer, and
  update_driver_init to be more consistent with the rest of the api and
  reduce some copying

also merge DEBUG string fix from 3.0 relating to printer publishing.


Modified:
   trunk/source/libads/ldap_printer.c
   trunk/source/printing/nt_printing.c
   trunk/source/printing/printing.c
   trunk/source/rpc_server/srv_spoolss_nt.c


Changeset:
Sorry, the patch is too large (627 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source&rev=2571&nolog=1


More information about the samba-cvs mailing list