summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* samba.tests.source: Verify that only executable python files (and only ↵Jelmer Vernooij2012-03-151-1/+20
| | | | executable files) have a shebang line.
* wafsamba: Remove shebang lines from non-executable files.Jelmer Vernooij2012-03-154-5/+0
|
* Make reinit_after_fork_pipe_handler code with reads being interrupted by a ↵Jeremy Allison2012-03-151-1/+1
| | | | | | | signal. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 15 23:29:47 CET 2012 on sn-devel-104
* s3:smbd: call file_close_user() before removing tree connects in ↵Stefan Metzmacher2012-03-152-0/+6
| | | | | | | | | | | | conn_close_all() This will help later if we have to handle a SMB2TreeDisconnect different compared to a SMB2SessionLogoff and a TCPDisconnect. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 15 21:56:09 CET 2012 on sn-devel-104
* s4:selftest: make the use of writetimeupdatedelay consistent across all testsMichael Adam2012-03-151-3/+3
| | | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 20:20:13 CET 2012 on sn-devel-104
* s3:selftest: reactivate the writetimeupdatedelay speed-upMichael Adam2012-03-152-2/+3
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent ↵Michael Adam2012-03-155-0/+92
| | | | | | | | | | | process died. This applies to all child processes making use of reinit_after_fork(). It is implemented by establishing a pipe between parent and child. The child watches for EOF on the read end of the pipe, indidcating an exited parent. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* idl: add offload data transfer ioctl typesDavid Disseldorp2012-03-151-0/+57
| | | | | | | | | | | | | | | | | For future use in handling FSCTL_OFFLOAD_READ, FSCTL_OFFLOAD_WRITE and IOCTL_STORAGE_QUERY_PROPERTY requests new to Windows 8. Based on preliminary data structure documentation from: http://msdn.microsoft.com/en-us/library/windows/hardware/hh451101%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/hardware/hh451122%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/hh449428%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/hardware/hh451469%28v=vs.85%29.aspx Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Lars Müller <lars@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Mar 15 18:40:11 CET 2012 on sn-devel-104
* s4:selftest: remove python shebang accidentially re-added to the "samba-tool ↵Michael Adam2012-03-151-2/+0
| | | | | | | user" test Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 16:17:54 CET 2012 on sn-devel-104
* s4:selftest: fix message typo in test for "samba-tool user list"Michael Adam2012-03-151-1/+3
| | | | | | | Spotted by kukks - thanks. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 14:24:29 CET 2012 on sn-devel-104
* s3: Use talloc_tos() in notify_send()Volker Lendecke2012-03-151-6/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 15 12:43:41 CET 2012 on sn-devel-104
* s3: Fix lock ordering in notify_addVolker Lendecke2012-03-151-13/+15
| | | | | | | It's not necessary to keep the global notify record locked during the inotify and notify_onelevel.tdb operations. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: properly free the notify_onelevel recordVolker Lendecke2012-03-151-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Replace some callers of cluster_id_equalVolker Lendecke2012-03-151-4/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Remove the separate server_id arg to notify_initVolker Lendecke2012-03-153-4/+3
| | | | | | The server_id is tied to the messaging_context Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Fix blank line endingsVolker Lendecke2012-03-151-13/+13
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 15 10:59:46 CET 2012 on sn-devel-104
* auth/gensec_gssapi: gss_krb5_lucid_context_v1_t is not shared with the gse ↵Stefan Metzmacher2012-03-151-1/+1
| | | | | | | | | code anymore metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 15 09:16:16 CET 2012 on sn-devel-104
* s4:librpc/rpc: avoid an unused talloc_reference() from dcerpc_request_send()Stefan Metzmacher2012-03-151-4/+1
| | | | metze
* s4:librpc/rpc: pass a mem_ctx to dcerpc_request_send()Stefan Metzmacher2012-03-151-4/+7
| | | | metze
* s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_alter_context_*Stefan Metzmacher2012-03-151-0/+29
| | | | metze
* s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_bind_*Stefan Metzmacher2012-03-151-0/+29
| | | | metze
* s4:librpc/rpc: convert dcerpc_alter_context_send/recv to tevent_reqStefan Metzmacher2012-03-152-114/+161
| | | | | | | | | Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze
* s4:librpc/rpc: convert dcerpc_bind_send/recv to tevent_reqStefan Metzmacher2012-03-152-111/+169
| | | | | | | | | Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze
* s4:librpc/rpc: also notify requests which are not shipped about a dead ↵Stefan Metzmacher2012-03-151-0/+11
| | | | | | connection metze
* s4:librpc/rpc: ship requests via an immediate eventStefan Metzmacher2012-03-152-7/+56
| | | | | | | | Deep inside dcerpc_ship_next_request() some code path could trigger dcerpc_connection_dead(), which means it's not safe to do any processing after calling dcerpc_ship_next_request(). metze
* s4:librpc/rpc: if the connecion is dead we're doneStefan Metzmacher2012-03-151-0/+1
| | | | | | | There's no point in doing anymore processing, it can just lead to crashes. metze
* s4:librpc/rpc: if the connection is dead we don't want to be called recursivly.Stefan Metzmacher2012-03-151-0/+2
| | | | metze
* s3: Update waf build to include missed dependancy on Lion.Ira Cooper2012-03-151-1/+1
| | | | | Autobuild-User: Ira Cooper <ira@samba.org> Autobuild-Date: Thu Mar 15 07:34:43 CET 2012 on sn-devel-104
* util: Add --disable-fault-handling.Ira Cooper2012-03-155-0/+16
| | | | | | On some platforms you can not debug coredumps after the default signal handler gets done dumping core. This allows waf to have an option to disable our default signal handler.
* libsmbclient-raw: Install smb_composite.h.Jelmer Vernooij2012-03-152-2/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104
* build: Do not build with utmp when we do not have utmp.hAndrew Bartlett2012-03-151-1/+4
| | | | | | | | | This matches the autoconf build, and should partially address bug #8709. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 15 01:12:15 CET 2012 on sn-devel-104
* build: param must require cups to get the cups headers path in -IAndrew Bartlett2012-03-151-1/+1
|
* s3-krb5: Remove GSS_WRAP_IOV conditionalAndrew Bartlett2012-03-154-5/+5
| | | | | | | We already confirm that we have this functionality before we set HAVE_KRB5 at configure time. Andrew Bartlett
* wintest: test wbinfo --krb5authAndrew Bartlett2012-03-151-0/+3
| | | | | | | This will ensure that this functionality is tested with MIT krb5, as the make test system only reaches this code with Heimdal. Andrew Bartlett
* selftest: test wbinfo --authenticate and --krb5authAndrew Bartlett2012-03-151-0/+5
|
* build: Ensure that we clean build objects from auth/ as wellAndrew Bartlett2012-03-151-1/+1
|
* selftest/flapping: mark ↵Stefan Metzmacher2012-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | ^samba3.rpc.spoolss.*printserver.enum_printers_servername as flakey I got this: [370/1371 in 21m20s] samba3.rpc.spoolss.printserver (s3dc) Testing servername behaviour in EnumPrinters and GetPrinters Testing EnumPrinters(\\127.0.0.2) level 2 Testing OpenPrinterEx() WARNING!: ../source4/torture/rpc/spoolss.c:5907: r.out.result was WERR_INVALID_PARAM, expected WERR_OK: OpenPrinterEx failed WARNING!: ../source4/torture/rpc/spoolss.c:6417: Expression `call_OpenPrinterEx(tctx, p, short_name, ((void *)0), &handle)' failed: failed to open printer UNEXPECTED(failure): samba3.rpc.spoolss.printserver .printserver.enum_printers_servername REASON: _StringException: _StringException: ../source4/torture/rpc/spoolss.c:6499: Expression `test_OnePrinter_servername(tctx, p, b, servername, info[i].info2.printername)' failed: failed to check printer metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 14 23:02:46 CET 2012 on sn-devel-104
* selftest/flapping: mark ↵Stefan Metzmacher2012-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ^samba3.rpc.spoolss.*printserver.openprinter_badnamelist as flakey I saw this a few times today: [370/528 in 19m28s] samba3.rpc.spoolss.printserver (s3dc) Using seed 1331739572 Testing OpenPrinter(\\127.0.0.2) Testing GetPrinterData(Architecture) Testing OpenPrinter(__INVALID_PRINTER__) with bad name Testing OpenPrinterEx(__INVALID_PRINTER__) with bad name Testing OpenPrinter(\\__INVALID_HOST__) with bad name Testing OpenPrinterEx(\\__INVALID_HOST__) with bad name Testing OpenPrinter() with bad name Testing OpenPrinterEx() with bad name Testing OpenPrinter(\\\) with bad name Testing OpenPrinterEx(\\\) with bad name Testing OpenPrinter(\\\__INVALID_PRINTER__) with bad name Testing OpenPrinterEx(\\\__INVALID_PRINTER__) with bad name Testing OpenPrinter(\\127.0.0.2\) with bad name WARNING!: ../source4/torture/rpc/spoolss.c:5765: op.out.result was WERR_OK, expected WERR_INVALID_PRINTER_NAME: unexpected result UNEXPECTED(failure): samba3.rpc.spoolss.printserver .printserver.openprinter_badnamelist REASON: _StringException: _StringException: ../source4/torture/rpc/spoolss.c:5821: Expression `test_OpenPrinter_badname(tctx, b, badname)' failed: metze
* selftest/flapping: mark samba4.blackbox.gentest as flakeyStefan Metzmacher2012-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | https://git.samba.org/autobuild.flakey/2012-03-14-1307/samba4.stdout [1228/1371 in 1h19s] samba4.blackbox.gentest(dc) UNEXPECTED(failure): samba4.blackbox.gentest(dc).gentest REASON: _StringException: _StringException: seed=1 Connecting to \localdcest1 as Administrator - instance 0 Connecting to \localdcest1est1 as Administrator - instance 1 Connecting to \localdcest1est2 as Administrator - instance 0 Connecting to \localdcest1est2 as Administrator - instance 1 0 OPEN num_open_handles=1 h=0 (gentest oo4) Notify count inconsistent 1 0 Failed at operation 88 - MKDIR gentest failed I saw this more than 10 times in the last year already. metze
* s3:selftest: add support for 'make test FAIL_IMMEDIATELY=1'Stefan Metzmacher2012-03-141-0/+4
| | | | | | | This is what autobuild uses in order to let the build abort on the first failure. metze
* s4:selftest: fix a message-typo in the "samba-tool user" testsuite.Michael Adam2012-03-141-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 14 21:19:11 CET 2012 on sn-devel-104
* s4:selftest: add a new test for "samba-tool user list"Michael Adam2012-03-141-1/+27
|
* testtools/matchers.py: fix a comment typoMichael Adam2012-03-141-1/+1
|
* s3-spoolss: Check return type of update_dsspooler().Andreas Schneider2012-03-141-12/+18
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 14 19:38:45 CET 2012 on sn-devel-104
* s3-spoolss: Check return codes in update_dsspooler.Andreas Schneider2012-03-141-40/+170
|
* s3-printing: Check for browseable too.Andreas Schneider2012-03-141-1/+6
|
* s3-printing: Make printer a const char *.Andreas Schneider2012-03-142-3/+9
|
* s3-rpc_client: Add debug message for printer dataex errors.Andreas Schneider2012-03-141-0/+4
|
* s3-rpc_server: Increase debug level for policy handle.Andreas Schneider2012-03-141-5/+5
|
* samba3util: Add ccan to dependency list now that str_checksum() uses a ccan ↵Jelmer Vernooij2012-03-141-1/+1
| | | | | | | function. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Mar 14 17:55:51 CET 2012 on sn-devel-104