samba36: add even more size optimizations, binary size is now down to about 2.7M uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30509 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -28,3 +28,16 @@
|
||||
libnetapi_set_error_string(ctx,
|
||||
"Configuration manipulation requested but not "
|
||||
"supported by backend");
|
||||
--- a/source3/smbd/server.c
|
||||
+++ b/source3/smbd/server.c
|
||||
@@ -1210,8 +1210,10 @@ extern void build_options(bool screen);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
+#ifdef REGISTRY_BACKEND
|
||||
if (!W_ERROR_IS_OK(registry_init_full()))
|
||||
exit(1);
|
||||
+#endif
|
||||
|
||||
#ifdef PRINTER_SUPPORT
|
||||
if (!print_backend_init(smbd_messaging_context()))
|
||||
|
Reference in New Issue
Block a user