summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Try and fix bug #8472 - Crash in asn.1 parsing code.Jeremy Allison2011-09-211-1/+6
| | | | | | | | Found by Codenomicon at the SNIA plugfest. Don't keep going in the loop when reading the OIDs fail. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 21 05:24:59 CEST 2011 on sn-devel-104
* s3: Further fix for bug 8338Volker Lendecke2011-09-211-2/+9
| | | | | | | OS/X can not deal with a 10-vwv read on normal files. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 21 00:51:08 CEST 2011 on sn-devel-104
* Fix some typosVolker Lendecke2011-09-201-5/+2
|
* s3: Fix typosVolker Lendecke2011-09-201-2/+2
|
* s4:ntvfs common - remove two outdated function prototypesMatthias Dieter Wallnöfer2011-09-202-4/+0
| | | | | | | | | The two functions don't exist anymore. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Sep 20 20:16:29 CEST 2011 on sn-devel-104
* s4:ntvfs common - add "UTIL_TDB" and "tdb-wrap" as internal build dependencyMatthias Dieter Wallnöfer2011-09-201-0/+1
| | | | | | | These modules are required for both header and source code files (see bug #8468). Reviewed-by: Jelmer
* s4:param/pyparam.c - suppress "P_SEP" compilation warningMatthias Dieter Wallnöfer2011-09-201-2/+2
| | | | Reviewed-by: Jelmer
* s3-docs: document -k switch in net manpage.Günther Deschner2011-09-201-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Sep 20 15:47:00 CEST 2011 on sn-devel-104
* s4-drs: allow replication of the GC partial attribute setAndrew Tridgell2011-09-201-5/+95
| | | | | | | | | when a DC has the GUID_DRS_GET_FILTERED_ATTRIBUTES right on a NC, we need to allow it to replicate if all the attributes it is asking for are in the GC partial attribute set Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Sep 20 13:47:38 CEST 2011 on sn-devel-104
* tdb2: allow readonly changes even while holding locks.Rusty Russell2011-09-201-10/+0
| | | | | | | | | | | | | | This happens in SAMBA with the TDB_VERSION1, presumably due to a read-only traverse nested inside a normal traverse (since it doesn't occur without TDB_VERSION1). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 24e5ddb143fb5e79112649472258f5da67cc7362) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Sep 20 09:35:10 CEST 2011 on sn-devel-104
* s3:dbwrap_ctdb: skip the internal __db_sequence_number__ key from ↵Michael Adam2011-09-201-0/+26
| | | | | | | | | (persistent) traverse and traverse_read This is is used internally in the persistent transactions and should not surface. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Sep 20 07:59:20 CEST 2011 on sn-devel-104
* s3:dbwrap_tool: add popt support and standard samba optionsMichael Adam2011-09-203-16/+49
|
* s3:g_lock: add a missing \n to a debug message in g_lock_initMichael Adam2011-09-201-1/+1
|
* lib/util/charset: remove charset module loadingAndrew Bartlett2011-09-2015-195/+121
| | | | | | | | | | | | | Now that the 'table' modules are gone, there is no reason for there to be charset modules at all. This builds the macosxfs and weird modules into the binary at the appropriate times, and changes the tests to test instead the difference between the remaining internal handlers and iconv(). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 20 06:27:06 CEST 2011 on sn-devel-104
* lib/util/charcnv: Remove broken internal CP850 and CP464 modulesAndrew Bartlett2011-09-207-381/+0
| | | | | | | | These modules are now known to be faulty, and Samba 3.6.0 didn't include support for them, so we now require a system iconv if you wish to support these character sets for the non-ASCII range. Andrew Bartlett
* s4-client: added close command in smbclientAndrew Tridgell2011-09-191-4/+62
| | | | | | | | | | this matches the existing open command, and also gives you error codes on both open and close useful for testing share mode locking Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 19 23:59:28 CEST 2011 on sn-devel-104
* s4:ntvfs/common/brlock.c - remove unnecessary include "tdb_compat.h"Matthias Dieter Wallnöfer2011-09-191-1/+0
| | | | | | | | | | Attempt to fix bug #8468 (https://bugzilla.samba.org/show_bug.cgi?id=8468). Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Sep 19 18:03:24 CEST 2011 on sn-devel-104
* s4:libnet/py_net.c - fix up includes (in order to find all "struct"s)Matthias Dieter Wallnöfer2011-09-191-3/+2
| | | | Reviewed-by: Jelmer
* s4:auth - remove unused variablesMatthias Dieter Wallnöfer2011-09-194-4/+0
| | | | Reviewed-by: Jelmer
* s4:selftest: run the nbt tests before the smb testsStefan Metzmacher2011-09-191-3/+4
| | | | | | | | | | | | | | | | | | | This hopefully avoids to run into problems with the flakey error in the samba4.nbt.winsreplication test [1071/1154 in 58m58s] samba4.nbt.winsreplication(dc) Test if we always get back the same assoc_ctx Setup wrepl connections Test one pull replication cycle Setup wrepl connections Setup wrepl conflict pull connection UNEXPECTED(error): samba4.nbt.winsreplication.replica REASON: _StringException: _StringException: Unknown error/failure metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 19 16:29:22 CEST 2011 on sn-devel-104
* s3:registry: fix a debug message in the v2_to_v3 upgrade codeMichael Adam2011-09-191-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Sep 19 10:31:45 CEST 2011 on sn-devel-104
* s3:smb2cli: remove unused struct ntlmssp_state from smb2cli_session_setup_stateStefan Metzmacher2011-09-191-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 19 06:06:46 CEST 2011 on sn-devel-104
* s3:smb2cli: s/smb2cli_sesssetup_blob/smb2cli_session_setup/Stefan Metzmacher2011-09-191-15/+15
| | | | metze
* s4-dsdb: cope with out of sync replication attributes in partition moduleAndrew Tridgell2011-09-191-1/+68
| | | | | | | | | | | | | if the @ATTRIBUTES or other objects which are replicated between partions become out of sync, then the ldb would fail to open. This changes ensures that we can always fix those records, by running the operation in the top level partition, and replicating the result to the other partitions Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 19 04:31:48 CEST 2011 on sn-devel-104
* ldb:"ldb_extended" -make the call more similar to "ldb_search"Matthias Dieter Wallnöfer2011-09-191-2/+6
| | | | | | For example NULL out the LDB result pointer on failures. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* pyldb: fixed places where we try to concatenate a Dn with a stringAndrew Tridgell2011-09-194-22/+22
| | | | you need to either use str(dn) or use %s in a format string
* s4-provision: use get_config_basedn() in DNS setupAndrew Tridgell2011-09-191-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: use get_config_basedn() to get configuration NC DNAndrew Tridgell2011-09-192-9/+7
| | | | | | this allows these commands to work for subdomains Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kdc: default kvno for inter-domain trusts to zeroAndrew Tridgell2011-09-191-1/+9
| | | | | | | | | | the exact value doesn't matter, as both Samba and windows check against the latest password, but the old default of -1 caused ASN.1 parsing errors on windows, which prevented it answering TGS requests thanks to Hongwei Sun for finding this from a ttt trace Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: use get_config_basedn() in python testsAndrew Tridgell2011-09-194-18/+18
| | | | | | | we can't just append CN=Configuration to the basedn, as that won't give the right configuration DN for a subdomain of a forest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: cope with REPL_OBJ getncchanges call for new objectAndrew Tridgell2011-09-191-5/+10
| | | | | | | | when we do a subdomain join we create a new object using a REPL_OBJ getncchanges call for the partitions DN. This has a side effect of creating that object. We need to skip the UDV update in that case Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision Add initial support for joining as a new subdomainAndrew Bartlett2011-09-192-133/+154
| | | | | | | | To do this we need to reorganise a lot of the provision code, so that we can create the framework for the inbound replicaton of the config and schema partitions and then add in the new subdomain locally. Andrew Bartlett
* Fix a typo. This is not an electromagnet pulse daemon I guess :-)Volker Lendecke2011-09-191-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 19 01:25:23 CEST 2011 on sn-devel-104
* s3: Add some const to create_local_private_krb5_conf_for_domainVolker Lendecke2011-09-182-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 23:31:28 CEST 2011 on sn-devel-104
* s3: Add some const to print_kdc_lineVolker Lendecke2011-09-181-1/+1
|
* s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/Stefan Metzmacher2011-09-183-18/+18
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 21:43:26 CEST 2011 on sn-devel-104
* s3: Fix a c++ warningVolker Lendecke2011-09-181-1/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 18:55:48 CEST 2011 on sn-devel-104
* s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke2011-09-181-3/+3
|
* swrap: Fix a c++ warningVolker Lendecke2011-09-181-1/+2
|
* s3: Fix two c++ warningsVolker Lendecke2011-09-181-2/+2
|
* pyldb: Drop unnecessary dependency on pytalloc-util.Jelmer Vernooij2011-09-182-2/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Sep 18 17:23:40 CEST 2011 on sn-devel-104
* s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher2011-09-1811-0/+25
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
* s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher2011-09-1811-17/+153
| | | | | | | | | smb2cli_req_recv() This gives the caller more control and correctly reports unexpected errors to the caller, instead of return NT_STATUS_INVALID_NETWOR_RESPONSE metze
* s3:smb2cli: only use tevent_req_defer_callback() if we have more than one ↵Stefan Metzmacher2011-09-181-1/+12
| | | | | | smb2 response metze
* s3:smb2cli: ignore async interim responses and store the async_idStefan Metzmacher2011-09-181-0/+12
| | | | metze
* s3:smb2cli: check the response has the SMB2_HDR_FLAG_REDIRECT flagStefan Metzmacher2011-09-181-0/+8
| | | | metze
* s3:smb2cli: validate the opcode from the server is as expectedStefan Metzmacher2011-09-181-3/+14
| | | | metze
* s3:smb2cli: initialize status if we got an unexpected responseStefan Metzmacher2011-09-181-0/+1
| | | | metze
* s3:libsmb: return INTERNAL_ERROR if the request is in bad state when the ↵Stefan Metzmacher2011-09-181-0/+8
| | | | | | caller ships it metze
* s3:libsmb: return if tevent_req_set_endtime() failsStefan Metzmacher2011-09-181-2/+4
| | | | | | tevent_req_set_endtime() already calls tevent_req_nomem(). metze