s3:printing only do printing_subsystem_update when printing is enabled
authorChristian Ambach <ambi@samba.org>
Sun, 23 Sep 2012 06:39:49 +0000 (08:39 +0200)
committerChristian Ambach <ambi@samba.org>
Mon, 24 Sep 2012 00:10:29 +0000 (17:10 -0700)
commit9f589ea4066099ed50e7f2323f572b3a8c98c60e
treedac7e77acab58cbf48b23b61a662bdabc7d84af1
parent5f973631b6ba6666ecf5f026d07dded9da15650e
s3:printing only do printing_subsystem_update when printing is enabled

no point in calling this if printing was disabled and no spoolss service was started
this hurts CTDB clusters as the smbds on the cluster nodes will fight for the single record in the TDB

This fixes Bug 9197 - Disabling printing still makes smbd create and access printer_list.tdb
source3/smbd/server.c