s3: put printing/ under cache_dir, not lock_dir
[tprouty/samba.git] / source3 / printing / nt_printing.c
index ac3817b94a8f43255a9825c09b72378e71f0135f..bfbc35f3d3b0c9307a066f9583338fc966de5b11 100644 (file)
@@ -2577,7 +2577,7 @@ uint32 del_a_printer(const char *sharename)
 
        if (geteuid() == 0) {
                if (asprintf(&printdb_path, "%s%s.tdb",
-                               lock_path("printing/"),
+                               cache_path("printing/"),
                                sharename) < 0) {
                        return (uint32)-1;
                }