summaryrefslogtreecommitdiff
path: root/source4/utils/net/net.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-15s4-net: exit with a failure when a command is unknownAndrew Tridgell1-1/+1
this ensures we don't pass bad tests in 'make test' if they call unknown net commands
2010-10-15s4-net: fix the dependence on command line orderingAndrew Tridgell1-8/+10
this fixes python net commands where you use a '-' option before the command name Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23s4-net: moved the net join command to pythonAndrew Tridgell1-1/+0
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-06-20Created net gpo and new libgpo for samba 4. This adds the init function ↵Wilco Baan Hofman1-0/+1
which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC. Aborted earlier attempt at reconciliation with samba 3. Did not work out due to lack of ldb support in samba 3, also the different registry libraries and different libnet did not help.. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-31s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij1-1/+0
longer supported.
2010-05-09s4:net utility - make outprinted description comments more consistentMatthias Dieter Wallnöfer1-2/+2
I've added a [server connection needed] when commands won't work on the local SamDB.
2010-04-20s4-net: show a list of commands when someone runs "net" with no argumentsAndrew Tridgell1-1/+1
2010-04-09s4-net: Convert machinepw command to python.Jelmer Vernooij1-1/+0
2010-04-09s4-net: Convert vampire command over to Python.Jelmer Vernooij1-1/+0
2010-04-09s4-net: Convert user subcommand to Python.Jelmer Vernooij1-1/+0
2010-04-08s4-net: Convert 'net time' to python.Jelmer Vernooij1-1/+0
2010-04-08Migrate 'net export keytab' to python.Jelmer Vernooij1-1/+0
2010-04-06s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warningMatthias Dieter Wallnöfer1-1/+1
2010-02-12s4:net/drs: use the full path to "utils/net/drs/net_drs*.h"Stefan Metzmacher1-1/+1
This fixes the build with automatic dependecies. metze
2010-02-11s4/net_drs: 'net drs' utility initial creationKamen Mazdrashki1-0/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-03net: Fix python 2.4 compatibility.Jelmer Vernooij1-0/+5
2010-01-21s4: Include Python.h early to avoid double definition errors.Jelmer Vernooij1-1/+1
2009-12-31net: Allow Python commands to return None instead of 0.Jelmer Vernooij1-1/+8
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31net: Allow python subcommands to provide commands that are not recognized byJelmer Vernooij1-22/+27
net itself. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-29net: Make arguments available to python commands as sys.argv.Jelmer Vernooij1-0/+1
2009-12-29s4/net: Allow options before arguments for Python commands.Jelmer Vernooij1-2/+2
2009-12-29s4/net: Pass all arguments through to the Python commands.Jelmer Vernooij1-12/+14
2009-12-29s4/net: Use d_printf consistently when reporting errors.Jelmer Vernooij1-3/+4
2009-12-29s4/net: Support parsing arguments in Python commands.Jelmer Vernooij1-14/+51
2009-12-29net: Support usage/help of subcommands implemented in Python.Jelmer Vernooij1-14/+56
2009-12-29net: Support implementing subcommands in python.Jelmer Vernooij1-3/+68
2009-11-27s4:net utility - add a notice for the "help" operation and format it's ↵Matthias Dieter Wallnöfer1-1/+6
output of the command list better
2009-07-28s4:kerberos Add 'net export keytab' command for wireshark decryptionAndrew Bartlett1-2/+2
It is much easier to do decryption with wireshark when the keytab is available for every host in the domain. Running 'net export keytab <keytab name>' will export the current (as pointed to by the supplied smb.conf) local Samba4 doamin. (This uses Heimdal's 'hdb' keytab and then the existing hdb-samba4, and so has a good chance of keeping working in the long term). Andrew Bartlett
2009-07-27Revert "s4:kerberos Add 'net export keytab' command for wireshark decryption"Stefan Metzmacher1-2/+2
This reverts commit a40ce5d0d9d06f592a8885162bbaf644006b9f0f. This breaks the build... Andrew, please repush it, when it's fixed:-) metze
2009-07-27s4:kerberos Add 'net export keytab' command for wireshark decryptionAndrew Bartlett1-2/+2
It is much easier to do decryption with wireshark when the keytab is available for every host in the domain. Running 'net export keytab <keytab name>' will export the current (as pointed to by the supplied smb.conf) local Samba4 doamin. (This uses Heimdal's 'hdb' keytab and then the existing hdb-samba4, and so has a good chance of keeping working in the long term). Andrew Bartlett
2009-02-24added a missing linefeedAndrew Tridgell1-1/+1
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-11-22Add "net machinepw"Volker Lendecke1-0/+2
Provide a C-based alternative to the python script "mymachinepw"
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij1-1/+1
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce1-1/+1
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-04-17Remove event context tracking from the credentials struct.Jelmer Vernooij1-1/+0
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-16Avoid event_find_context() when the event context is already availableJelmer Vernooij1-0/+1
in the net utility. (This used to be commit d40804777edf41889bd461f63f7a07cc1cc60e27)
2008-04-14Fix problems with event context not being the parent.Simo Sorce1-6/+12
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-04-09Link the new vampire code togeather.Andrew Bartlett1-1/+2
This adds in the newly attached secrets handling, as well as an interface to the command line 'net' tool. Andrew Bartlett (This used to be commit 1282e3c39479aa580124206814b493370d10690a)
2008-02-20Fix static module list generation for ldb.Jelmer Vernooij1-2/+0
(This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-1/+1
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26295: Remove use of global_loadparm for net and wb_pam_auth.Jelmer Vernooij1-0/+2
(This used to be commit 47696b42987ea67ae1c6c09a4bec5858e5db4542)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r18343: fixed setlinebuf() prototype, added test for it, and use it in twoAndrew Tridgell1-3/+1
places to avoid a #ifdef (This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
2007-10-10r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.Jelmer Vernooij1-1/+1
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)
2007-10-10r15490: Typo fixes and remove long forgotten commented piece.Rafal Szczesniak1-7/+2
rafal (This used to be commit a2f6dc786031aa368b0398c21baf18cf82375c46)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r13904: Make sure LDB gets initializedJelmer Vernooij1-0/+3
(This used to be commit 4339e3e7d746d2fcb16ce2662a22a880e426367b)
2007-10-10r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij1-2/+1
subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries). (This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10r12499: Move smb_build.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)