summaryrefslogtreecommitdiffstats
path: root/source4/utils
Commit message (Collapse)AuthorAgeFilesLines
* net: Fix python 2.4 compatibility.Jelmer Vernooij2010-02-031-0/+5
|
* s4: Include Python.h early to avoid double definition errors.Jelmer Vernooij2010-01-211-1/+1
|
* s4: utils recreate in python setntacl and getntaclMatthieu Patou2010-01-213-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.
* net: Allow Python commands to return None instead of 0.Jelmer Vernooij2009-12-311-1/+8
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Allow python subcommands to provide commands that are not recognized byJelmer Vernooij2009-12-311-22/+27
| | | | | | net itself. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Make arguments available to python commands as sys.argv.Jelmer Vernooij2009-12-291-0/+1
|
* s4/net: Allow options before arguments for Python commands.Jelmer Vernooij2009-12-291-2/+2
|
* s4/net: Pass all arguments through to the Python commands.Jelmer Vernooij2009-12-291-12/+14
|
* s4/net: Use d_printf consistently when reporting errors.Jelmer Vernooij2009-12-291-3/+4
|
* s4/net: Support parsing arguments in Python commands.Jelmer Vernooij2009-12-291-14/+51
|
* net: Support usage/help of subcommands implemented in Python.Jelmer Vernooij2009-12-291-14/+56
|
* net: Support implementing subcommands in python.Jelmer Vernooij2009-12-291-3/+68
|
* s4:utils/oLschema2ldif.c - remove (now) unused variablesMatthias Dieter Wallnöfer2009-12-111-2/+0
|
* s4-drs: Using dsdb_msg_add_guid() utility functionFernando J V da Silva2009-11-301-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>
* s4:net utility - add a notice for the "help" operation and format it's ↵Matthias Dieter Wallnöfer2009-11-271-1/+6
| | | | output of the command list better
* s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata2009-11-161-4/+56
|
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-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
* s4:utils Remove typo...Andrew Bartlett2009-09-191-1/+0
|
* s4:utils Explian fix for testparm -vAndrew Bartlett2009-09-191-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
* s4-testparm: fixed -v optionAndrew Tridgell2009-09-191-1/+1
| | | | never pass a bool pointer to popt
* s4:kerberos Add 'net export keytab' command for wireshark decryptionAndrew Bartlett2009-07-283-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
* Revert "s4:kerberos Add 'net export keytab' command for wireshark decryption"Stefan Metzmacher2009-07-273-114/+3
| | | | | | | | | | This reverts commit a40ce5d0d9d06f592a8885162bbaf644006b9f0f. This breaks the build... Andrew, please repush it, when it's fixed:-) metze
* s4:kerberos Add 'net export keytab' command for wireshark decryptionAndrew Bartlett2009-07-273-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
* s4:net Move net_vampire() to net_vampire.cAndrew Bartlett2009-07-062-66/+68
|
* Fixed some uninitialised variablesMatthias Dieter Wallnöfer2009-06-191-2/+11
| | | | I tried hard to not change the program logic. Should fix bug #6439.
* Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett2009-04-141-1/+0
| | | | | | | For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
* Remove ad2oLschema, insted call it directly from provision-backendAndrew Bartlett2009-03-052-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
* fixed the event context for net vampireAndrew Tridgell2009-02-241-1/+1
|
* added a missing linefeedAndrew Tridgell2009-02-241-1/+1
|
* Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett2009-02-131-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
* s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher2009-02-032-9/+13
| | | | metze
* s4:ntlm_auth: s/private/private1Stefan Metzmacher2009-02-021-16/+16
| | | | metze
* Fix the mess with ldb includes.Simo Sorce2009-01-303-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.
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-294-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
* Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij2008-12-241-1/+1
| | | | warnings.
* Fix more compiler warnings in various places.Jelmer Vernooij2008-12-231-2/+2
|
* Use the direct pointer to the syntaxAndrew Bartlett2008-12-021-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
* fix the buildVolker Lendecke2008-11-231-1/+1
|
* Add "net machinepw"Volker Lendecke2008-11-223-0/+94
| | | | Provide a C-based alternative to the python script "mymachinepw"
* s4:dsdb/schema: add a function to generate the "extendedClassInfo" valuesStefan Metzmacher2008-11-161-1/+2
| | | | metze
* s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" valuesStefan Metzmacher2008-11-161-1/+4
| | | | metze
* Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij2008-11-021-1/+1
|
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-021-2/+4
| | | | should in the future only contain some settings required for gensec.
* Remove use of lp_*() from ntlm_check.c.Jelmer Vernooij2008-11-011-1/+2
|
* Fix includes.Jelmer Vernooij2008-10-241-0/+1
|
* Repel pstring to nsswitch/.Jelmer Vernooij2008-10-221-1/+0
|
* Remove pstring usages.Jelmer Vernooij2008-10-221-14/+10
|
* Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij2008-10-181-3/+3
| | | | 3.
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-1/+1
| | | | | | Conflicts: source4/Makefile
* Remove duplicate copy of manual page.Jelmer Vernooij2008-10-081-83/+0
|