1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

22 Commits

Author SHA1 Message Date
Kai Blin
fb262f79fa net: Use samba default command line arguments.
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-25 23:35:38 +02:00
Günther Deschner
b1a4649438 s3-net: add "net dom renamecomputer" to rename machines in a domain.
dmarkey, please test :)

Guenther
2009-05-11 10:55:40 +02:00
Günther Deschner
ab4b8c9c04 s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.
Found by David Markey <admin@dmarkey.com>. Thanks!

Guenther
2009-04-30 23:40:09 +02:00
Günther Deschner
c464969b64 net: use NETSETUP flags consistently.
Guenther
(This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-09-08 10:17:21 +02:00
Günther Deschner
e710a87177 netapi: use NETSETUP join flags in examples.
Guenther
(This used to be commit 2f6f888d9cf89abf55767dc43a9e3d5de68bbcfb)
2008-08-29 13:58:06 +02:00
Günther Deschner
52a8501515 netapi: when using NetApi functions forward net's kerberos setting.
Guenther
(This used to be commit d46f648d2e25ad712138f02e5060288278f4c1b1)
2008-07-31 15:26:15 +02:00
Zach Loafman
863a6aa07e Fix warnings on FreeBSD-based platforms
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-22 15:00:48 +02:00
Volker Lendecke
f23567fcb9 Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idx
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-07-21 14:36:28 +02:00
Kai Blin
255bdb2602 net: Rename functable3 to functable, get rid of old functables
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10 09:48:21 +02:00
Kai Blin
7ba0724f80 net: Make "net dom" use functable3
(This used to be commit 11d692de7330b0d6b995fae62746df2ef7830e38)
2008-06-10 09:46:37 +02:00
Kai Blin
0210f7af91 net: The top level help function for net cmd is always net_cmd_usage
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20 14:28:12 +02:00
Günther Deschner
9530c26c4c net: use the netapi_ctx from the net_context struct.
Guenther
(This used to be commit ff8a9655ccd40bc2ca3ef0403308193d956c4adf)
2008-05-16 11:58:24 +02:00
Kai Blin
f576910944 net: Remove globals
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10 09:22:27 +02:00
Günther Deschner
0a362a94c8 net/libnetapi: Include netapi headers early and free on exit.
Guenther
(This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c)
2008-04-16 02:16:08 +02:00
Günther Deschner
4a8e6c9a91 Use libnetapi_get_error_string() in "net dom" commands.
Guenther
(This used to be commit 58048f0c575d6ac5b770873e308d4a1a9ce68123)
2008-02-28 17:05:38 +01:00
Günther Deschner
efcf285e27 Fix libnetapi error string callers.
Guenther
(This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
2008-01-11 15:28:24 +01:00
Günther Deschner
9fc2c21fa6 Fix net_dom_join & net_dom_unjoin.
Guenther
(This used to be commit 6dd17e4840ee6c4bf0df3c3f76f9b232b3674d55)
2007-12-22 00:37:02 +01:00
Günther Deschner
dab660b9dc Move NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.
Guenther
(This used to be commit e640c3a4a7695613e9e619516befbaf3d44ecb10)
2007-12-21 15:29:10 +01:00
Günther Deschner
10f1cdc797 Some cleanups for "net dom join".
Guenther
(This used to be commit 3f426f394f3b1454c52d92331c14f41dd1474516)
2007-12-12 00:58:58 +01:00
Günther Deschner
e9e182feda Actually implement reboot feature for net dom join/unjoin.
Guenther
(This used to be commit bbbeeba163f173d774937103a36560a4a4f49d4b)
2007-12-03 11:17:57 +01:00
Günther Deschner
c88263ab9e Add "net dom unjoin" code.
Guenther
(This used to be commit 58d49023b9bc7d27e770f18a25cc6cebdc95b300)
2007-11-30 22:25:01 +01:00
Günther Deschner
4b60045066 Add "net dom join" code.
Guenther
(This used to be commit 177dab0ce31970c851531ffd2a6c5946e329a048)
2007-11-30 22:25:01 +01:00