summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-10-16s4: check that the xattr are supported in the folder where we want to provisionMatthieu Patou2-2/+9
By default we were checking this on the default folder for tempfile.NamedTemporaryFile (usualy /tmp) but this folder can be mounted on tmpfs (which didn't support xattr currently). Now we should check on the filesystem where the provision will be done.
2011-10-14Fix printf warning.Jeremy Allison1-1/+1
2011-10-14samba-tool: Add test to make sure all commands have a short description set.Jelmer Vernooij1-0/+11
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 14 01:53:45 CEST 2011 on sn-devel-104
2011-10-14samba-tool: Add test to make sure all commands have a synopsis set.Jelmer Vernooij3-3/+26
2011-10-14samba-tool: Move main command implementation to samba.netcmd.main, so it is ↵Jelmer Vernooij3-61/+79
accessible by the testsuite.
2011-10-14samba-tool: Don't require full prog line to be in synopsis.Jelmer Vernooij17-98/+80
2011-10-14samba.netcmd: Reintroduce Command.name.Jelmer Vernooij2-0/+13
2011-10-14samba-tool: Determine long option from docstring.Jelmer Vernooij3-17/+25
2011-10-14creds: Remove unnecessary calls to credopts.get_credentials.Jelmer Vernooij1-2/+0
2011-10-14python: Remove extra newlines.Jelmer Vernooij1-3/+0
2011-10-14s4:selftest: flakey test samba4.drs.delete_object.python should go into skipMichael Adam2-1/+1
not knownfail, which will render it flakey again, just the other way round. Thanks Jelmer for pointing that out... Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 14 00:21:26 CEST 2011 on sn-devel-104
2011-10-13lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett6-7/+17
This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
2011-10-13s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett13-32/+35
This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
2011-10-13libcli/auth: Provide a struct loadparm_context to schannel callsAndrew Bartlett3-5/+5
This will allow us to pass this down to the tdb_wrap layer. Andrew Bartlett
2011-10-13samba-tool: Use self.outf in a few more places.Jelmer Vernooij13-88/+104
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
2011-10-13samba-tool delegation: Use self.outf, simplify some code.Jelmer Vernooij1-14/+8
2011-10-13samba.getopt: Refactor parsing of --kerberos argument into separate function.Jelmer Vernooij1-13/+16
2011-10-13s4:torture/smb2: we only support 64KB reads/writes for nowStefan Metzmacher2-8/+8
We don't have multi-credit support yet. metze
2011-10-13samba-tools/testparm: Add really basic unit test, demonstrating how to write ↵Jelmer Vernooij1-0/+29
unit tests for samba-tool in Python. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 01:56:20 CEST 2011 on sn-devel-104
2011-10-13netcmd: Add Command.get_logger() method.Jelmer Vernooij3-5/+8
2011-10-13netcmd: Add errf stream to command instances.Jelmer Vernooij2-8/+9
2011-10-13samba-tool/testparm: Fix traceback when checking client name/ip against ↵Jelmer Vernooij1-2/+2
hosts allowed.
2011-10-13samba-tool/testparm: Fix handling of command-line options.Jelmer Vernooij1-26/+29
2011-10-13selftest: mark samba4.drs.delete_object.python knownfailMichael Adam1-0/+1
this currently prevents autobuild from succeeding intermittently Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Oct 13 00:22:18 CEST 2011 on sn-devel-104
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck3-5/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12samba.upgrade: Use list comprehension.Jelmer Vernooij1-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 22:44:40 CEST 2011 on sn-devel-104
2011-10-12samba.getopt: Allow --kerberos=auto, and fix exception name if an unknownJelmer Vernooij1-1/+4
value is specified. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 02:12:21 CEST 2011 on sn-devel-104
2011-10-11s4:ldap_backend.c/"map_ldb_error" - handle errors similar to "PyErr_SetLdbError"Matthias Dieter Wallnöfer1-6/+2
If the call was done using an error string ("add_err_string"), then use that one without an additional "ldb_strerror()" for the definitive LDAP output. Otherwise generate one using "ldb_strerror()". This omits redundancies in the error string generation (twice the same information by "ldb_strerror()"). Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-11auth: move gensec_start.c to the top levelAndrew Bartlett7-972/+66
This does not change who uses gensec for now, but makes it possible to write new gensec modules outside source4/ Andrew Bartlett
2011-10-11auth: move credentials layer to the top levelAndrew Bartlett16-3658/+6
This will allow gensec_start.c to move to the top level. This does not change what code uses the cli_credentials code, but allows the gensec code to be more broadly. Andrew Bartlett
2011-10-11s4-s3-upgrade: Allow import (just without a uid mapping) where getpwnam failsAndrew Bartlett1-1/+1
This allows the tests to pass on systems without a jelmer user :-) Andrew Bartlett
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett15-4820/+14
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
2011-10-11pac: Fix wrong memory allocation checkSimo Sorce1-1/+1
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Oct 11 01:18:22 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher7-15/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: pass tevent_context to cldap_search_send()Stefan Metzmacher1-1/+1
metze
2011-10-10libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher4-4/+8
metze
2011-10-10libcli/cldap: pass tevent_context to cldap_set_incoming_handler()Stefan Metzmacher1-1/+2
metze
2011-10-09Remove pointless exception catching in tests.Jelmer Vernooij2-10/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 9 00:00:26 CEST 2011 on sn-devel-104
2011-10-08netcmd/domain: Remove unused imports.Jelmer Vernooij1-2/+2
2011-10-08netcmd: Avoid catching all exceptions, avoid using ';' at the end of lines.Jelmer Vernooij1-9/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 8 15:46:46 CEST 2011 on sn-devel-104
2011-10-08upgrade: Avoid catching all exceptions, just catch the ones we care about.Jelmer Vernooij1-11/+9
2011-10-08s4:findprovisionusnranges - the default python path is detected over "env"Matthias Dieter Wallnöfer1-1/+1
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 8 13:06:20 CEST 2011 on sn-devel-104
2011-10-08s4:torture/smb2: avoid '//' commentsStefan Metzmacher1-1/+1
The compiler on openindiana doesn't like them. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 08:56:10 CEST 2011 on sn-devel-104
2011-10-08s4:torture/drs: avoid '//' commentsStefan Metzmacher1-2/+2
The compiler on openindiana doesn't like them. metze
2011-10-08s4:lib/wmi: avoid '//' commentsStefan Metzmacher1-8/+8
The compiler on openindiana doesn't like them. metze
2011-10-08build: build wbinfo only once in the waf buildAndrew Bartlett1-4/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 8 04:52:03 CEST 2011 on sn-devel-104
2011-10-08selftest: run dfs tests on plugin_s4_dcStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 03:18:54 CEST 2011 on sn-devel-104
2011-10-08s4:smb_server: implement dfs referral handing on top of ↵Stefan Metzmacher2-812/+54
dfs_server_ad_get_referrals() metze
2011-10-07s4:dsdb/password_hash: add DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OIDStefan Metzmacher3-1/+42
Which allows the caller to pass a given 'pwdLastSet' value (every useful for migrations). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 7 15:28:13 CEST 2011 on sn-devel-104
2011-10-07s4:dbchecker: make use of local_oid controls for dsdb.DSDB_CONTROL_DBCHECKStefan Metzmacher1-1/+1
metze