summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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.
2010-11-27s4:drsuapi RPC server - fix "enum security_user_level" warning on Tru64Matthias Dieter Wallnöfer6-10/+9
2010-11-27s4:param/secrets.h - fix "enum netr_SchannelType" include correctlyMatthias Dieter Wallnöfer5-5/+2
2010-11-27s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.cMatthias Dieter Wallnöfer2-1/+2
Reworked version of commit 7e710c4de92c310897817acc06d229cce763d2d7
2010-11-27Revert "s4:rpc_server/common/common.h - introduce two forward declarations ↵Matthias Dieter Wallnöfer1-3/+0
to suppress parameter declaration warnings" This reverts commit 7e710c4de92c310897817acc06d229cce763d2d7. This causes more noise than it's useful.
2010-11-27s4:libcli/security/session.h - fix include ordering for "enum ↵Matthias Dieter Wallnöfer1-2/+2
security_user_level"
2010-11-27s4:dsdb/samdb/samdb.h - fix include ordering in order to prevent warnings on ↵Matthias Dieter Wallnöfer1-1/+1
Tru64
2010-11-27build: change compile flags on mac os x if we face pb with common symbolsMatthieu Patou1-2/+4
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 27 18:02:41 CET 2010 on sn-devel-104
2010-11-27show_test_time: Move to root scripting directory as it's useful for s3Jelmer Vernooij1-19/+0
and s4. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 27 17:17:29 CET 2010 on sn-devel-104
2010-11-27s4:role transfer - use always type "enum drepl_role_master" for role ↵Matthias Dieter Wallnöfer4-5/+6
specifications Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 27 16:03:43 CET 2010 on sn-devel-104
2010-11-27s4:samba3sam LDB module - correctly print out an unsigned valueMatthias Dieter Wallnöfer1-1/+2
Here we can print it out as unsigned since we are generating a string attribute.
2010-11-27s4:samba3sam LDB module - make the "pw_uid"/"pw_gid" conversion a bit clearerMatthias Dieter Wallnöfer1-2/+6
And remove the "long" specifier since at least on the major platforms (Linux, BSD and Solaris) these types are defined as "uint32_t".
2010-11-27s4:dsdb tests - make use of "ldb.get_domain_sid()"Matthias Dieter Wallnöfer4-22/+5
2010-11-27s4:dsdb/tests/python/sam.py - we don't need the domain SIDMatthias Dieter Wallnöfer1-5/+0
2010-11-27s4:torture/drs/python/fsmo.py - fix comments and an error messageMatthias Dieter Wallnöfer1-3/+3