samba36: remove SAMR support and save a bit more space
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30491 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c443ba96fb
commit
21c46423c5
@ -82,3 +82,17 @@
|
|||||||
#ifdef PRINTER_SUPPORT
|
#ifdef PRINTER_SUPPORT
|
||||||
rpc_spoolss_shutdown();
|
rpc_spoolss_shutdown();
|
||||||
#endif
|
#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
|
||||||
|
};
|
||||||
|
@ -132,3 +132,15 @@
|
|||||||
tmp_ctx = talloc_stackframe();
|
tmp_ctx = talloc_stackframe();
|
||||||
if (tmp_ctx == NULL) {
|
if (tmp_ctx == NULL) {
|
||||||
return 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
|
||||||
|
};
|
||||||
|
|
||||||
|
@ -57,3 +57,15 @@
|
|||||||
rpc_initshutdown_shutdown();
|
rpc_initshutdown_shutdown();
|
||||||
#ifdef EXTRA_SERVICES
|
#ifdef EXTRA_SERVICES
|
||||||
rpc_eventlog_shutdown();
|
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,
|
||||||
|
@ -12,3 +12,15 @@
|
|||||||
if (!smb_register_ndr_interface(&ndr_table_initshutdown)) {
|
if (!smb_register_ndr_interface(&ndr_table_initshutdown)) {
|
||||||
return false;
|
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,
|
||||||
|
@ -59,13 +59,13 @@
|
|||||||
return false;
|
return false;
|
||||||
--- a/source3/rpcclient/rpcclient.c
|
--- a/source3/rpcclient/rpcclient.c
|
||||||
+++ b/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,
|
epmapper_commands,
|
||||||
shutdown_commands,
|
shutdown_commands,
|
||||||
test_commands,
|
test_commands,
|
||||||
+#ifdef WKSSVC_SUPPORT
|
+#ifdef WKSSVC_SUPPORT
|
||||||
wkssvc_commands,
|
wkssvc_commands,
|
||||||
+#endif
|
+#endif
|
||||||
|
#ifdef EXTRA_SERVICES
|
||||||
ntsvcs_commands,
|
ntsvcs_commands,
|
||||||
drsuapi_commands,
|
drsuapi_commands,
|
||||||
eventlog_commands,
|
|
||||||
|
@ -85,3 +85,15 @@
|
|||||||
in_addr_to_sockaddr_storage(&ss, p->ip);
|
in_addr_to_sockaddr_storage(&ss, p->ip);
|
||||||
pss = iface_ip((struct sockaddr *)&ss);
|
pss = iface_ip((struct sockaddr *)&ss);
|
||||||
if (!pss) {
|
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,
|
||||||
|
@ -58,3 +58,15 @@
|
|||||||
|
|
||||||
lsarpc_cb.init = lsarpc_init_cb;
|
lsarpc_cb.init = lsarpc_init_cb;
|
||||||
lsarpc_cb.shutdown = NULL;
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user