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)
commit3e8e24c629a5520318029f737cc06421ee656cd7
tree82b5a2f89cd7f42518f2475b8cb5d1b9fe4c5ae8
parent1b31f46f22831781b9ec5592da189a5210cfbc45
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.
(This used to be commit 82eb168c827b4b7310b42c0f36c504e0fa16dc99)
source3/printing/nt_printing.c