samba36: remove SAMR support and save a bit more space
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Feb 2012 12:16:47 +0000 (12:16 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Feb 2012 12:16:47 +0000 (12:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30491 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/samba36/patches/130-remove_services.patch
net/samba36/patches/140-no_winreg_support.patch
net/samba36/patches/150-no_dfs_api.patch
net/samba36/patches/160-add_missing_ifdef.patch
net/samba36/patches/170-no_wkssvc_support.patch
net/samba36/patches/180-no_domain_logon.patch
net/samba36/patches/190-no_srvsvc.patch

index 5b873a3..706048c 100644 (file)
  #ifdef PRINTER_SUPPORT
                rpc_spoolss_shutdown();
  #endif
+--- a/source3/rpcclient/rpcclient.c
++++ b/source3/rpcclient/rpcclient.c
+@@ -635,9 +635,11 @@ static struct cmd_set *rpcclient_command
+       shutdown_commands,
+       test_commands,
+       wkssvc_commands,
++#ifdef EXTRA_SERVICES
+       ntsvcs_commands,
+       drsuapi_commands,
+       eventlog_commands,
++#endif
+       winreg_commands,
+       NULL
+ };
index 0751c84..3726bc2 100644 (file)
        tmp_ctx = talloc_stackframe();
        if (tmp_ctx == NULL) {
                return NULL;
+--- a/source3/rpcclient/rpcclient.c
++++ b/source3/rpcclient/rpcclient.c
+@@ -640,7 +640,9 @@ static struct cmd_set *rpcclient_command
+       drsuapi_commands,
+       eventlog_commands,
+ #endif
++#ifdef WINREG_SUPPORT
+       winreg_commands,
++#endif
+       NULL
+ };
index 7b69087..00db758 100644 (file)
                rpc_initshutdown_shutdown();
  #ifdef EXTRA_SERVICES
                rpc_eventlog_shutdown();
+--- a/source3/rpcclient/rpcclient.c
++++ b/source3/rpcclient/rpcclient.c
+@@ -629,7 +629,9 @@ static struct cmd_set *rpcclient_command
+ #endif
+       netlogon_commands,
+       srvsvc_commands,
++#ifdef DFS_SUPPORT
+       dfs_commands,
++#endif
+       echo_commands,
+       epmapper_commands,
+       shutdown_commands,
index 4aab79a..c2d9cd2 100644 (file)
        if (!smb_register_ndr_interface(&ndr_table_initshutdown)) {
                return false;
        }
+--- a/source3/rpcclient/rpcclient.c
++++ b/source3/rpcclient/rpcclient.c
+@@ -632,7 +632,9 @@ static struct cmd_set *rpcclient_command
+ #ifdef DFS_SUPPORT
+       dfs_commands,
+ #endif
++#ifdef DEVELOPER
+       echo_commands,
++#endif
+       epmapper_commands,
+       shutdown_commands,
+       test_commands,
index 40dd9fb..5573575 100644 (file)
                return false;
 --- a/source3/rpcclient/rpcclient.c
 +++ b/source3/rpcclient/rpcclient.c
-@@ -634,7 +634,9 @@ static struct cmd_set *rpcclient_command
+@@ -638,7 +638,9 @@ static struct cmd_set *rpcclient_command
        epmapper_commands,
        shutdown_commands,
        test_commands,
 +#ifdef WKSSVC_SUPPORT
        wkssvc_commands,
 +#endif
+ #ifdef EXTRA_SERVICES
        ntsvcs_commands,
        drsuapi_commands,
-       eventlog_commands,
index 6345658..aa24962 100644 (file)
        in_addr_to_sockaddr_storage(&ss, p->ip);
        pss = iface_ip((struct sockaddr *)&ss);
        if (!pss) {
+--- a/source3/rpcclient/rpcclient.c
++++ b/source3/rpcclient/rpcclient.c
+@@ -627,7 +627,9 @@ static struct cmd_set *rpcclient_command
+ #ifdef PRINTER_SUPPORT
+       spoolss_commands,
+ #endif
++#ifdef NETLOGON_SUPPORT
+       netlogon_commands,
++#endif
+       srvsvc_commands,
+ #ifdef DFS_SUPPORT
+       dfs_commands,
index 91cb20b..e9aefe1 100644 (file)
  
        lsarpc_cb.init         = lsarpc_init_cb;
        lsarpc_cb.shutdown     = NULL;
+--- a/source3/rpcclient/rpcclient.c
++++ b/source3/rpcclient/rpcclient.c
+@@ -630,7 +630,9 @@ static struct cmd_set *rpcclient_command
+ #ifdef NETLOGON_SUPPORT
+       netlogon_commands,
+ #endif
++#ifdef NETLOGON_SUPPORT
+       srvsvc_commands,
++#endif
+ #ifdef DFS_SUPPORT
+       dfs_commands,
+ #endif