summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-29s4-samba-tool: improved exception handling in samba-toolAndrew Tridgell1-5/+44
we now do reasonable printing on a wide range of common exception classes, and always force a backtrace on an exception if the debug level is >= 3 Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-29s4-join: fixed exception handling in join commandAndrew Tridgell1-9/+10
2010-11-29s4-ldapcmp: make ldapcmp a samba-tool commandAndrew Tridgell2-91/+105
The ldapcmp tool is very useful, and should be available to Samba admins, not just developers. This makes it a samba-tool command, which also gives it the nicer command line handling that samba-tool has
2010-11-29s4-ldapcmp: fixed exception handlingAndrew Tridgell1-19/+17
This pattern, which is common in our code, is wrong: except LdbError, (ERR_NO_SUCH_OBJECT, _): what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT to be equal to whatever ldb error occurred! This led to some really bizarre behavior
2010-11-29s4-pyglue: added get_debug_level() methodAndrew Tridgell2-0/+8
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-29s4-loadparm: use loadparm_init_global() instead of loadparm_init()Andrew Tridgell4-24/+17
this prevents us having two lp_ctx contexts in these tools which leads to bizarre behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-29s4-loadparm: added loadparm_init_global()Andrew Tridgell2-0/+28
This ensures we use the same loadparm_context in all our command line tools. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-29s4-gpo: started on samba-tool gpo list commandAndrew Tridgell1-0/+99
2010-11-29s4-dsdb: give full error message for operational failuresAndrew Tridgell1-2/+2
2010-11-29s4-pydsdb: two more GPO related flagsAndrew Tridgell1-0/+2
2010-11-29s4-samba-tool: started on gpo subcommands in pythonAndrew Tridgell2-0/+122
this adds the listall GPO command. Currently the python variants are available as "samba-tool gpo2 SUBCOMMAND". These will replace the "samba-tool gpo" commands when complete
2010-11-29s4-pydsdb: added GPO policy flagsAndrew Tridgell1-0/+7
2010-11-28samba.tests.hostconfig: Fix import.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 28 18:08:33 CET 2010 on sn-devel-104
2010-11-28s4-python: Some reformatting for the purpose of pydoctor.Jelmer Vernooij11-64/+105
2010-11-28samba.upgradehelpers: Simplify code a bit.Jelmer Vernooij1-21/+17
2010-11-28samba.hostconfig: Move samba.shares into samba.hostconfig.Jelmer Vernooij4-69/+58
2010-11-28samba.getopt: Fix missing import of sys.Jelmer Vernooij1-8/+14
2010-11-28chgtdcpass: Fix program name in usage message.Jelmer Vernooij1-5/+4
2010-11-28s4:torture/smb2/acls.c - remove two unused variablesMatthias Dieter Wallnöfer1-2/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 17:22:54 CET 2010 on sn-devel-104
2010-11-28s4:introduce casts before outputs of "time_t" variablesMatthias Dieter Wallnöfer2-2/+2
Otherwise we are getting warnings on "NetBSD".
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-1/+1
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-28build: update gdb_backtrace to make it search for gdb66 as it work on freebsdMatthieu Patou1-0/+17
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104
2010-11-28fix bad shellMatthieu Patou1-0/+1
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104
2010-11-28s3: Properly print binary values "net cache"Volker Lendecke1-7/+21
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 28 15:03:26 CET 2010 on sn-devel-104
2010-11-28s3: Add gencache_iterate_blobsVolker Lendecke2-57/+90
2010-11-28s3: Convert gencache_get_data_blob to gencache_parseVolker Lendecke1-59/+38
2010-11-28s3: Add gencache_parseVolker Lendecke2-0/+63
2010-11-28Revert "s4:netcmd/drs.py - use "objectClass" for discovering the server and ↵Matthias Dieter Wallnöfer1-2/+2
it's NTDS settings object" This reverts commit b87c3703cf890bd55340a201536073bd2be1e1d8. Andrew Bartlett told me that exactly the opposite is true - the "objectCategory" lookup is performing better. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 14:18:41 CET 2010 on sn-devel-104
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-2/+2
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-28add handling for solarisMatthieu Patou1-1/+11
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 28 13:32:21 CET 2010 on sn-devel-104
2010-11-28s4:dsdb/repl/drepl* - move "lib/messaging/irpc.h" include into "drepl_service.h"Matthias Dieter Wallnöfer8-9/+1
This is needed to fix a Tru64 "cc" warning regarding "enum drepl_role_master". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 12:46:19 CET 2010 on sn-devel-104
2010-11-28s4-selftest: Ignore broken pipe error from grep.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
2010-11-28samba.provision: Fix setup_path.Jelmer Vernooij3-72/+73
2010-11-28samba.provision: Add package with provision and backend modules.Jelmer Vernooij3-323/+337
2010-11-28s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij7-108/+120
2010-11-28Makefile: Add rule for pydoctor.Jelmer Vernooij1-0/+3
2010-11-28samba.tests: Fix formatting.Jelmer Vernooij1-22/+25
2010-11-28s4-tests/bind.py: Use samba.tests.connect_samdb() instead of directly using ↵Kamen Mazdrashki1-7/+10
SamDB class connect_samdb() functino will correctly handle things like: - session_info param - it will create system_session() using supplied LoadParm parameter and thus avoiding creation of multiple LoadParm instances (LoadParm() will mask certain command line supplied options) - host url will be prefixed with ldap:// automatically Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Nov 28 03:00:41 CET 2010 on sn-devel-104
2010-11-28s4-samba-tool: support help, and show description of commandsAndrew Tridgell1-7/+7
when you don't specify a subcommand, show the description of the subcommands in the list of available subcommands. Also show the list of subcommands when you use 'help', '--help' or '-h' as a subcommand Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 28 01:56:46 CET 2010 on sn-devel-104
2010-11-28s4-drs: fixed credit for C versionAndrew Tridgell1-0/+2
2010-11-27s4:netcmd/drs.py - use "objectClass" for discovering the server and it's ↵Matthias Dieter Wallnöfer1-2/+2
NTDS settings object Small optimisation: we don't need to look for "nTDSDSARO" since it's a subclass of "ntDSDSA". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 27 23:35:13 CET 2010 on sn-devel-104
2010-11-27tdb:common/open.c - use "discard_const_p" for certain "tdb->name" assignmentsMatthias Dieter Wallnöfer1-2/+2
In order to suppress compiler warnings.
2010-11-27s4:dsdb/repl/drepl_service.c - return the correct WERR resultMatthias Dieter Wallnöfer1-1/+1
2010-11-27s4:drepl_service.c - fix error macro (use "_werr" and not "werr")Matthias Dieter Wallnöfer1-1/+1
Detected by Tru64 "cc".
2010-11-27s4:dsdb/repl/drepl_out_helpers.c - print out the correct error message (werr)Matthias Dieter Wallnöfer1-1/+1
Also detected by Tru64 "cc".
2010-11-27s4:lib/registry/rpc.c - remove a duplicate assignmentMatthias Dieter Wallnöfer1-1/+0
2010-11-27s4:torture/rpc/samr.c - fix uninitialised "status" variablesMatthias Dieter Wallnöfer1-0/+4
Detected by Tru64. I wonder how this tests even worked.
2010-11-27s4:torture/rpc/samsync.c - remove uninitialised "nt_status" checkMatthias Dieter Wallnöfer1-8/+1
Found by Tru64 compiler.