samba36: update to 3.6.11 and refresh patches (based on patch from #12914)
[openwrt/staging/yousong.git] / package / network / services / samba36 / patches / 270-remove_registry_backend.patch
index a1cc87771a07552904c27dd9ca663399b77c6fdf..7714b86b77d958dda58e861012d1a705d8295472 100644 (file)
@@ -30,7 +30,7 @@
                        "supported by backend");
 --- a/source3/smbd/server.c
 +++ b/source3/smbd/server.c
-@@ -1210,8 +1210,10 @@ extern void build_options(bool screen);
+@@ -1184,8 +1184,10 @@ extern void build_options(bool screen);
                exit(1);
        }
  
@@ -39,5 +39,5 @@
                exit(1);
 +#endif
  
- #ifdef PRINTER_SUPPORT
-       if (!print_backend_init(smbd_messaging_context()))
+       /* Open the share_info.tdb here, so we don't have to open
+          after the fork on every single connection.  This is a small