Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-15 | Ensure we correctly calculate reply credits over all returned | Jeremy Allison | 1 | -4/+13 | |
SMB2 replies, and do as Windows does and return the total in the last SMB2 reply. Fixes an issue found by Christian M Ambach <christian.ambach@de.ibm.com> (and thanks to Christian for the initial patch this was based on). | |||||
2011-11-15 | Remove unneeded NULL check. | Jeremy Allison | 1 | -4/+0 | |
2011-11-15 | s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULL | Stefan Metzmacher | 1 | -0/+5 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104 | |||||
2011-11-15 | s3:smbd/aio: pass ECANCELED to the smb2 aio handlers | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2011-11-15 | s3:smb2_read: make it possible to cancel aio reads | Stefan Metzmacher | 1 | -1/+16 | |
metze | |||||
2011-11-15 | s3:smb2_write: make it possible to cancel aio writes | Stefan Metzmacher | 1 | -1/+16 | |
metze | |||||
2011-11-15 | s3:smbd/aio: add cancel_smb2_aio() | Stefan Metzmacher | 2 | -0/+39 | |
metze | |||||
2011-11-15 | s3:smb2_ioctl: STATUS_PENDING is defered by 1 millisecond for SMB2_IOCTL | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-11-15 | s3:smb2_create: defer STATUS_PENDING for 2 seconds as before | Stefan Metzmacher | 1 | -1/+7 | |
metze | |||||
2011-11-15 | s3:smb2_server: pass explicit defer_times to smbd_smb2_request_pending_queue() | Stefan Metzmacher | 13 | -14/+15 | |
metze | |||||
2011-11-15 | s3:smb2_server: always send STATUS_PENDING responses, but delayed by 0.5 ↵ | Stefan Metzmacher | 5 | -152/+125 | |
milliseconds In future we'll pass the delay from the caller. metze | |||||
2011-11-15 | s3-winbind: Don't fail on users without a uid. | Andreas Schneider | 1 | -1/+19 | |
This fixes bug #8608. If you join samba with idmap_ad backend to an AD. When you try to enumerate users with 'getent passwd' and the user doesn't have a uid set, then getent is aborted cause of NT_STATUS_NONE_MAPPED. If we can't map a user we should not stop but continue enumerating users. This normally happens with the default user 'krbtgt' with idmap_ad but could also happen with other backends. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Nov 15 16:52:04 CET 2011 on sn-devel-104 | |||||
2011-11-15 | s3-winbind: Make sure the map is clean. | Andreas Schneider | 1 | -1/+5 | |
2011-11-15 | s3-winbind: Increase the negative cache entry timout. | Andreas Schneider | 1 | -1/+1 | |
The timout for the cache entry of a negative connection should be the double of a connect timeout (which is 30 seconds). | |||||
2011-11-14 | s3-modules: remove the last "init_module" traces. | Günther Deschner | 2 | -4/+0 | |
Guenther | |||||
2011-11-14 | s3:smb2_flush: outbody only needs 4 bytes | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104 | |||||
2011-11-11 | py_passdb: Cannot steal an item pointer from an array | Amitay Isaacs | 1 | -4/+9 | |
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 11 12:04:33 CET 2011 on sn-devel-104 | |||||
2011-11-10 | s3: server_id.pid has turned 64 (bits, that is) | Volker Lendecke | 1 | -4/+11 | |
Fix ctdb_processes_exist protocol. The socket expects pid_t which is 32 bits on 32 bit machines. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 10 18:57:01 CET 2011 on sn-devel-104 | |||||
2011-11-10 | s3: Avoid a race with the async echo handler | Volker Lendecke | 1 | -33/+28 | |
We can not read from the echo handler socket when we have the main socket locked. This leads to the echo responder to lock up sitting in the fcntl lock while the parent wants to read the remainder of a large packet. | |||||
2011-11-10 | s3:smbd: don't limit the number of open dptrs for smb2 (bug #8592) | Stefan Metzmacher | 1 | -3/+12 | |
This fixes a crash bug that is triggered, when a client has more than 256 directory handles with searches. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 10 14:08:14 CET 2011 on sn-devel-104 | |||||
2011-11-10 | s3:smbd: fully construct the dptr before allocating a dnum in the bitmap | Stefan Metzmacher | 1 | -27/+29 | |
metze | |||||
2011-11-10 | s3:smbd: avoid string_set() in dir.c | Stefan Metzmacher | 1 | -2/+9 | |
And do some more error checks. metze | |||||
2011-11-09 | s3-py_passdb Ensure that group mapping list input is initailised | Andrew Bartlett | 1 | -1/+2 | |
This may help to ensure we consistantly crash on an incorrect de-reference. Andrew Bartlett | |||||
2011-11-09 | s3-passdb Initialise the correct level of pointer dereference | Andrew Bartlett | 1 | -1/+1 | |
*pp_rmap may be NULL or un-initialised data. This was introduced by 995d1567265be178b4e45f79ea4562a7041ffa52. Andrew Bartlett | |||||
2011-11-09 | s3:registry: prevent unnecessary transactions in regdb_init | Michael Adam | 1 | -0/+4 | |
Skip the transaction for the upgrade code, if the database is already at code-level. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 15:06:59 CET 2011 on sn-devel-104 | |||||
2011-11-09 | s3: Use autotools to set the winbind socket directory. | Andreas Schneider | 1 | -5/+7 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 9 13:31:27 CET 2011 on sn-devel-104 | |||||
2011-11-09 | s3:smb2_server: grant credits in async interim responses (bug #8357) | Stefan Metzmacher | 1 | -1/+3 | |
The first fix for bug #8357 intruduced a regression, so that we no longer grant credits for real async interim responses with STATUS_PENDING. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 11:56:29 CET 2011 on sn-devel-104 | |||||
2011-11-09 | s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326) | Stefan Metzmacher | 1 | -1/+1 | |
Otherwise we may get unexpected results. This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8 (s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104 | |||||
2011-11-08 | s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326) | Stefan Metzmacher | 1 | -4/+15 | |
Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated by the file server part. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104 | |||||
2011-11-08 | s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584) | Stefan Metzmacher | 1 | -4/+30 | |
metze | |||||
2011-11-08 | s3:libsmb: key_len is 8bit only in the NT1 case | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-11-08 | s3: Remove two unused variables | Volker Lendecke | 1 | -2/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 8 10:14:36 CET 2011 on sn-devel-104 | |||||
2011-11-07 | Add the SEC_DIR_LIST check to dptr_create(). | Jeremy Allison | 1 | -0/+27 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 7 21:11:03 CET 2011 on sn-devel-104 | |||||
2011-11-07 | s3-wafbuild: Fix inotify detection (bug 8580) | Björn Baumbach | 1 | -2/+3 | |
Enable inotify if sys or kernel inotify is available. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 16:28:38 CET 2011 on sn-devel-104 | |||||
2011-11-07 | s3-build: Fix inotify detection (bug 8580) | Björn Baumbach | 1 | -2/+4 | |
Enable inotify if sys or kernel inotify is available. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-07 | s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chain | Stefan Metzmacher | 1 | -0/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104 | |||||
2011-11-07 | s3:libsmb: make sure have_andx_command() returns false for non AndX commands | Stefan Metzmacher | 1 | -3/+7 | |
metze | |||||
2011-11-07 | s3:libsmb: remember the seqnum on all chained requests | Stefan Metzmacher | 1 | -0/+6 | |
This is needed in order to verify the incoming signature correctly. metze | |||||
2011-11-07 | s3:libsmb: get cmd of the chained request before changing wct_ofs | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2011-11-06 | s3:smb2cli: ignore the NBT/Length header in smb2cli_inbuf_parse_compound() | Stefan Metzmacher | 1 | -7/+7 | |
This is not needed and in future we want to support SMBDirect, which add a different header. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 6 17:17:04 CET 2011 on sn-devel-104 | |||||
2011-11-05 | Move the SEC_DIR_LIST check into dptr_create for SMB2 and now for SMB1. | Jeremy Allison | 2 | -5/+6 | |
The pathname check still needs fixing. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Nov 5 01:38:00 CET 2011 on sn-devel-104 | |||||
2011-11-04 | can_write_to_file() does now take share permissions into account. Fix comment. | Jeremy Allison | 1 | -1/+0 | |
2011-11-04 | No longer do the pre-check on DELETE_ACCESS - we're correctly checking the ↵ | Jeremy Allison | 1 | -22/+0 | |
ACL every time now. | |||||
2011-11-04 | Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!). | Jeremy Allison | 4 | -56/+9 | |
2011-11-04 | Remove can_access_file_data() - make it use the standard ↵ | Jeremy Allison | 3 | -60/+7 | |
smbd_check_access_rights() instead. | |||||
2011-11-04 | Add const to the smb_filename argument of smbd_check_access_rights(). | Jeremy Allison | 3 | -17/+9 | |
2011-11-04 | Expose smbd_check_access_rights() to other modules. | Jeremy Allison | 2 | -1/+4 | |
2011-11-04 | Rename smbd_check_open_rights() to smbd_check_access_rights() as we're going ↵ | Jeremy Allison | 1 | -15/+15 | |
to remove the static from this. | |||||
2011-11-04 | Replace smb1_file_se_access_check() with just se_access_check(). | Jeremy Allison | 1 | -30/+21 | |
2011-11-04 | Move root check out of smb1_file_se_access_check() in preparation for ↵ | Jeremy Allison | 1 | -13/+25 | |
deleting this function. |