r3727: Update from Rob Foehl (rwf@loonybin.net):
authorJim McDonough <jmcd@samba.org>
Sun, 14 Nov 2004 03:12:46 +0000 (03:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:16 +0000 (10:53 -0500)
commit82eb168c827b4b7310b42c0f36c504e0fa16dc99
treec04508716b661459803e1415a0cbbbab52e5cacf
parent4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1
r3727: Update from Rob Foehl (rwf@loonybin.net):
Try modifying printer before adding it,since add logic appends ObjectClass to mods, which caused a contraint violation when modifying an already published printer.

Also cleanup the check_published_printers() logic when verifying published status on startup.
source/printing/nt_printing.c