summaryrefslogtreecommitdiff
path: root/source4/utils/net/net.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r10316: More dynconfig fixesJelmer Vernooij1-1/+0
(This used to be commit 0963ab9c148772b961f17ec779213b0eb861e1dd)
2007-10-10r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinkingJelmer Vernooij1-2/+2
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m! (This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
2007-10-10r8752: With all the infrustructure done, details like a SamSync migrationAndrew Bartlett1-0/+1
into LDB are actually quite easy. This brings us the users, and sets basic domain information. You are expected to have provisioned with the settings for the target domain, and have joined the domain as a BDC. Then simply 'net samsync'. Now we just need to flesh out the delta types. Andrew Bartlett (This used to be commit 1e0f7792bb29b17c23197a5e42ee8cabb0cf17d0)
2007-10-10r7525: Unify lp_load(), load_interfaces and logging setup into popt().Andrew Bartlett1-6/+1
There is now a new --debug-stderr option to enable debug to STDERR. popt isn't perfect, but the callbacks are used in all the main Samba binaries, and should be used in the rest. This avoids duplicated code, and ensures every binary is setup correctly. This also ensures the setup happens early enough to have -s function, and have a correct impact on the credentials code. (Fixing a bug that frustrated tridge earlier today). The only 'subtle' aspect of all this is that I'm pretty sure that the SAMBA_COMMON popt code must be above the CREDENTIALS code, in the popt tables. Andrew Bartlett (This used to be commit 50f3c2b3a22971f40e0d3a88127b5120bfc47591)
2007-10-10r6573: Start on my project to implement an NT4 compatible BDC in Samba4.Andrew Bartlett1-0/+1
This brings in a compatability layer for Samba3 in Samba4 - where we will start to define file formats and similar details. The 'net samdump' command uses 'password server = ' for now, and performs a similar task to Samba3's 'net rpc samsync'. Andrew Bartlett (This used to be commit 550f17f9924fe783917318753de7d1a388423908)
2007-10-10r5917: First step in using the new cli_credentials structure. This patchJelmer Vernooij1-3/+1
puts support for it into popt_common, adds a few utility functions (in lib/credentials.c) and the callback functions for the command-line (lib/cmdline/credentials.c). Comments are welcome :-) (This used to be commit 1d49b57c50fe8c2683ea23e9df41ce8ad774db98)
2007-10-10r5424: Automatically generate basic help display on basis of nameRafal Szczesniak1-50/+31
and description from function table. rafal (This used to be commit 24f7a3860e82bf632ebd6b3416e5e874e832be5f)
2007-10-10r5381: Added net_user.c with net tool interface for managing user accounts.Rafal Szczesniak1-0/+1
rafal (This used to be commit 3005f0408c647fcab65c11de9bf680f7f5831492)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-2/+2
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4722: Start to add 'net join' to Samba4.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit a9b960609142e15ba5950eb1b22944eb6df18d9c)
2007-10-10r4201: Remove duplicate const.Tim Potter1-1/+1
(This used to be commit 1d96717843a9b60a757548a24967bbb553775fa3)