summaryrefslogtreecommitdiff
path: root/source3/utils/net_dom.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-01-28s3-rpc_client: remove some more obsolete cli_X.h header files.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2010-11-24s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystemsAndrew Bartlett1-1/+2
The issue here is that libnet and net were both trying to load the smb.conf files, the case tables and set the debug levels. The set of the debug levels caused problems, because it would force the level to 0, not (say) 10 as requested on the command line. This regression was apparently introduced in cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb when eliminating AllowDebugChange. Andrew Bartlett
2010-08-06s3-net: only include netapi header when needed.Günther Deschner1-0/+1
Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-0/+1
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-01-19s3 net: Fix compile warningsKai Blin1-3/+9
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-3/+3
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-08Revert "s3: Make run_rpc_command take strings instead of a ndr_interface_table"Volker Lendecke1-13/+6
This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
2009-11-08s3: Make run_rpc_command take strings instead of a ndr_interface_tableVolker Lendecke1-6/+13
2009-07-30s3 net: i18n support for net domKai Blin1-32/+32
2009-07-22Revert "net: Use samba default command line arguments."Kai Blin1-5/+3
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
2009-05-25net: Use samba default command line arguments.Kai Blin1-3/+5
Attention: The meaning of the -N flag changed. To get the old meaning for net groupmap set, use the long option --ntname The long option for using kerberos changed from --kerberos to --use-kerberos net rpc commands will now prompt for a password if none is given. As a benefit, net will now accept an authentication file like other samba command line tools. So no need to specify the password on the command line in scripts anymore. This should fix bug #6357 Signed-off-by: Kai Blin <kai@samba.org>
2009-05-11s3-net: add "net dom renamecomputer" to rename machines in a domain.Günther Deschner1-1/+113
dmarkey, please test :) Guenther
2009-04-30s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.Günther Deschner1-1/+2
Found by David Markey <admin@dmarkey.com>. Thanks! Guenther
2008-09-08net: use NETSETUP flags consistently.Günther Deschner1-1/+1
Guenther (This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-08-29netapi: use NETSETUP join flags in examples.Günther Deschner1-4/+4
Guenther (This used to be commit 2f6f888d9cf89abf55767dc43a9e3d5de68bbcfb)
2008-07-31netapi: when using NetApi functions forward net's kerberos setting.Günther Deschner1-0/+3
Guenther (This used to be commit d46f648d2e25ad712138f02e5060288278f4c1b1)
2008-07-22Fix warnings on FreeBSD-based platformsZach Loafman1-8/+8
Fix two shadowed declaration warnings on FreeBSD-based platform: 'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in netinet/tcp.h. (This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
2008-07-21Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-5/+6
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-2/+2
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net dom" use functable3Kai Blin1-10/+25
(This used to be commit 11d692de7330b0d6b995fae62746df2ef7830e38)
2008-05-20net: The top level help function for net cmd is always net_cmd_usageKai Blin1-14/+6
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-16net: use the netapi_ctx from the net_context struct.Günther Deschner1-20/+12
Guenther (This used to be commit ff8a9655ccd40bc2ca3ef0403308193d956c4adf)
2008-05-10net: Remove globalsKai Blin1-31/+35
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-04-16net/libnetapi: Include netapi headers early and free on exit.Günther Deschner1-3/+0
Guenther (This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c)
2008-02-28Use libnetapi_get_error_string() in "net dom" commands.Günther Deschner1-2/+2
Guenther (This used to be commit 58048f0c575d6ac5b770873e308d4a1a9ce68123)
2008-01-11Fix libnetapi error string callers.Günther Deschner1-2/+2
Guenther (This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
2007-12-22Fix net_dom_join & net_dom_unjoin.Günther Deschner1-19/+38
Guenther (This used to be commit 6dd17e4840ee6c4bf0df3c3f76f9b232b3674d55)
2007-12-21Move NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.Günther Deschner1-8/+8
Guenther (This used to be commit e640c3a4a7695613e9e619516befbaf3d44ecb10)
2007-12-12Some cleanups for "net dom join".Günther Deschner1-4/+9
Guenther (This used to be commit 3f426f394f3b1454c52d92331c14f41dd1474516)
2007-12-03Actually implement reboot feature for net dom join/unjoin.Günther Deschner1-6/+75
Guenther (This used to be commit bbbeeba163f173d774937103a36560a4a4f49d4b)
2007-11-30Add "net dom unjoin" code.Günther Deschner1-0/+52
Guenther (This used to be commit 58d49023b9bc7d27e770f18a25cc6cebdc95b300)
2007-11-30Add "net dom join" code.Günther Deschner1-0/+116
Guenther (This used to be commit 177dab0ce31970c851531ffd2a6c5946e329a048)