summaryrefslogtreecommitdiff
path: root/source4/utils
AgeCommit message (Collapse)AuthorFilesLines
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
2008-11-22Add "net machinepw"Volker Lendecke3-0/+94
Provide a C-based alternative to the python script "mymachinepw"
2008-11-16s4:dsdb/schema: add a function to generate the "extendedClassInfo" valuesStefan Metzmacher1-1/+2
metze
2008-11-16s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" valuesStefan Metzmacher1-1/+4
metze
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij1-1/+1
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij1-2/+4
should in the future only contain some settings required for gensec.
2008-11-01Remove use of lp_*() from ntlm_check.c.Jelmer Vernooij1-1/+2
2008-10-24Fix includes.Jelmer Vernooij1-0/+1
2008-10-22Repel pstring to nsswitch/.Jelmer Vernooij1-1/+0
2008-10-22Remove pstring usages.Jelmer Vernooij1-14/+10
2008-10-18Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij1-3/+3
3.
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-1/+1
Conflicts: source4/Makefile
2008-10-08Remove duplicate copy of manual page.Jelmer Vernooij1-83/+0
2008-10-08Add manpage for nmblookup, move nmblookup closer to nbt library.Jelmer Vernooij2-398/+0
2008-10-06Remove DESCRIPTION from generated schema lines.Andrew Bartlett1-4/+10
This is not permitted in the AD aggregate schema, and more trouble than it is worth in the OpenLDAP schema due to escaping issues. Andrew Bartlett
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-6/+4
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-09-23s4-nbt: use ../libcli/nbtGünther Deschner1-1/+1
Guenther
2008-09-08Move blackbox.smbclient to test against the member server.Andrew Bartlett1-0/+39
The DC is now using smb signing, so testing for the old SMB versions won't work. Add a new test script to check 'net join' independent of blackbox.smbclient. Andrew Bartlett (This used to be commit 44ff392ffea52e89a3ac096a6d381ae540d3473c)
2008-08-18Merge the two attribute syntax tables.Andrew Bartlett2-4/+4
This merges the table once found in the oLschema2ldif tool (and moved many times) with the table used for DRSUAPI. The OpenLDAP schema map has been updated, to ensure that despite a number of attributes being declared as OIDs, they are actually used as strings (as they are actually LDAP class/attribute names). Andrew Bartlett (This used to be commit 61f2958c84beeedcf369ccdc02afed0c8055b108)
2008-08-15Fix the build, after the ad2oLschema changes.Andrew Bartlett1-2/+3
(This used to be commit 7361821b21ef78c564c41466783048606a0b6e98)