summaryrefslogtreecommitdiff
path: root/source4/utils
AgeCommit message (Collapse)AuthorFilesLines
2010-02-24s4/drs_util: 'net drs replicate' command implementationKamen Mazdrashki3-4/+254
2010-02-24s4/drs_util: Add public function for binding to a DCKamen Mazdrashki1-0/+48
2010-02-24s4/drs_util: Refactor code to use net_drs_connection object for DRSUAPI ↵Kamen Mazdrashki3-34/+44
connecitons
2010-02-24s4/drs_util: Move DRSUAPI connection data into separate objectKamen Mazdrashki1-8/+18
We need this so we can create independent DRS connections to different DCs.
2010-02-24s4/net_drs: Utility macros for conditions checkingKamen Mazdrashki1-0/+20
2010-02-22Various source4 spelling fixes.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-12s4:net_drs_bind: make some more stuff staticStefan Metzmacher1-2/+2
metze
2010-02-12s4:net/drs: use the full path to "utils/net/drs/net_drs*.h"Stefan Metzmacher5-5/+5
This fixes the build with automatic dependecies. metze
2010-02-11s4-net-drs: fix some coding style issuesAndrew Tridgell2-3/+2
We should use the system/*.h headers for system includes. We also try to avoid C++ comments. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11s4/net_drs: 'net drs kcc' command implementationKamen Mazdrashki3-2/+177
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11s4/net_drs: 'net drs bind' command implementationKamen Mazdrashki2-1/+138
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11s4/net_drs: 'net drs' utility initial creationKamen Mazdrashki4-1/+377
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
2010-01-21s4: utils recreate in python setntacl and getntaclMatthieu Patou3-175/+0
setntacl is able to set NTACL attribute from command line getntacl now use getopt for parsing command line option and is also able to dump the acl in the SDDL format.
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-12-11s4:utils/oLschema2ldif.c - remove (now) unused variablesMatthias Dieter Wallnöfer1-2/+0
2009-11-30s4-drs: Using dsdb_msg_add_guid() utility functionFernando J V da Silva1-8/+1
Uses the dsdb_msg_add_guid() to add any kind of GUID attribute to a ldb_message in several places of samba4 code. Signed-off-by: Andrew Tridgell <tridge@samba.org>
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-11-16s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata1-4/+56
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell1-1/+1
This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
2009-09-19s4:utils Remove typo...Andrew Bartlett1-1/+0
2009-09-19s4:utils Explian fix for testparm -vAndrew Bartlett1-2/+6
The problem here was that we take an address of a bool, and then (via a void*) cast it to a int *, so put this in a comment. Andrew Bartlett
2009-09-19s4-testparm: fixed -v optionAndrew Tridgell1-1/+1
never pass a bool pointer to popt
2009-07-28s4:kerberos Add 'net export keytab' command for wireshark decryptionAndrew Bartlett3-3/+114
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 Metzmacher3-114/+3
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 Bartlett3-3/+114
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-06s4:net Move net_vampire() to net_vampire.cAndrew Bartlett2-66/+68
2009-06-19Fixed some uninitialised variablesMatthias Dieter Wallnöfer1-2/+11
I tried hard to not change the program logic. Should fix bug #6439.
2009-04-14Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett1-1/+0
For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
2009-03-05Remove ad2oLschema, insted call it directly from provision-backendAndrew Bartlett2-455/+0
This removes a level of indirection via external binaries in the provision-backend code, and also makes better use of our internal code for loading schema from an LDIF file. Remaining to do: Sort the output again, as the load from LDIF is unsorted (also needed because the normal LDB load from sorted input is too slow anyway, and is only needed here). Andrew Bartlett
2009-02-24fixed the event context for net vampireAndrew Tridgell1-1/+1
2009-02-24added a missing linefeedAndrew Tridgell1-1/+1
2009-02-13Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett1-2/+19
When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
2009-02-03s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher2-9/+13
metze
2009-02-02s4:ntlm_auth: s/private/private1Stefan Metzmacher1-16/+16
metze
2009-01-30Fix the mess with ldb includes.Simo Sorce3-3/+3
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher4-4/+4
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-12-24Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij1-1/+1
warnings.
2008-12-23Fix more compiler warnings in various places.Jelmer Vernooij1-2/+2
2008-12-02Use the direct pointer to the syntaxAndrew Bartlett1-5/+4
This rather than manually searching for it, and is inspired by a similar commit in dsdb/schema/schema_description.c by metze Andrew Bartlett
2008-11-23fix the buildVolker Lendecke1-1/+1