summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_find.cStefan Metzmacher2011-09-071-13/+5
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_create.cStefan Metzmacher2011-09-071-11/+4
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_close.cStefan Metzmacher2011-09-071-12/+3
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_break.cStefan Metzmacher2011-09-071-12/+4
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_tcon.cStefan Metzmacher2011-09-071-24/+8
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_sesssetup.cStefan Metzmacher2011-09-071-26/+9
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_negprot.cStefan Metzmacher2011-09-071-10/+4
| | | | metze
* s3:smb2_server: add smbd_smb2_request_verify_sizes()Stefan Metzmacher2011-09-072-0/+45
| | | | metze
* s3:torture: relax TRANS2 midmight time checkingStefan Metzmacher2011-09-071-2/+4
| | | | | | | | It's possible that the test runs on a full hour, e.g. Tue Sep 6 03:00:00 2011. So better check that the a_time is different from the current time. metze
* s3:smb2cli: fix marshalling of smb2_create_blobs in smb2cli_create()Stefan Metzmacher2011-09-071-3/+5
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 10:21:55 CEST 2011 on sn-devel-104
* s3:smb2cli: don't terminate the pathname in smb2cli_query_directory()Stefan Metzmacher2011-09-071-1/+6
| | | | | | Windows generates NT_STATUS_OBJECT_NAME_INVALID otherwise. metze
* s3:smb2cli: don't terminate the pathname in smb2cli_create()Stefan Metzmacher2011-09-071-3/+10
| | | | | | Windows generates NT_STATUS_OBJECT_NAME_INVALID otherwise. metze
* s3:smb2cli: don't terminate the pathname in smb2cli_tcon()Stefan Metzmacher2011-09-071-1/+6
| | | | | | Windows generates NT_STATUS_BAD_NETWORK_NAME otherwise. metze
* s3:smb2cli: SMB2_TCON needs one dyn byte to that the structure size check works.Stefan Metzmacher2011-09-071-0/+6
| | | | | | Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* s3:smb2cli: SMB2_WRITE needs one dyn byte to that the structure size check ↵Stefan Metzmacher2011-09-071-1/+12
| | | | | | | | works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* s3:smb2cli: SMB2_READ needs one dyn byte to that the structure size check works.Stefan Metzmacher2011-09-071-1/+2
| | | | | | Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* s3:smb2cli: SMB2_QUERY_DIRECTORY needs one dyn byte to that the structure ↵Stefan Metzmacher2011-09-071-0/+6
| | | | | | | | size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* s3:smb2cli: SMB2_CREATE needs one dyn byte to that the structure size check ↵Stefan Metzmacher2011-09-071-1/+1
| | | | | | | | works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* s3:smb2cli: SMB2_SESSION_SETUP needs one dyn byte to that the structure size ↵Stefan Metzmacher2011-09-071-1/+12
| | | | | | | | check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* Revert "Part 5 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid ↵Jeremy Allison2011-09-071-21/+4
| | | | | | | | | | | | for set (Invalid argument)" This reverts commit 17f6e0272370f764d4a0053c8e74f20b0444c721. Using the existing default permissions for group access is incorrect when no such permissions are given in the incoming ACL. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 7 03:50:21 CEST 2011 on sn-devel-104
* s3: Make winbindd_lookup_names staticVolker Lendecke2011-09-062-14/+14
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 6 20:03:56 CEST 2011 on sn-devel-104
* s3:smb2_server: make use of SMB2_WRITEFLAG_WRITE_THROUGHStefan Metzmacher2011-09-061-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 6 16:59:50 CEST 2011 on sn-devel-104
* waf: install pam modules in PAMMODULESDIR.Günther Deschner2011-09-061-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Sep 6 11:09:45 CEST 2011 on sn-devel-104
* s3:smb2_server: add basic support for SMB 2.1Stefan Metzmacher2011-09-054-5/+67
| | | | | | | | | | | | | | This adds support for the 2 stage negprot, from SMB 1 to SMB 2.1. Support for this of for now and "max protocol = SMB2" still maps to "max protocol = SMB2_02" PROTOCOL_SMB2_02. In order to activate smb2.1, you need to use "max protocol = SMB2_10". metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 5 19:30:58 CEST 2011 on sn-devel-104
* s3:smb2_server: return NOT_SUPPORTED if we don't find a common dialect with ↵Stefan Metzmacher2011-09-051-6/+8
| | | | | | the client metze
* s3:smb2_server: max_trans, max_read and max_write are limited to 64 kilobytesStefan Metzmacher2011-09-051-3/+17
| | | | | | Only if SMB2_CAP_LARGE_MTU is supported we should announce larger limits. metze
* s3:smb2cli: make sure we don't try to send requests on a disconnected cli_stateStefan Metzmacher2011-09-051-0/+5
| | | | metze
* s3:smb2cli: make sure requests are not finished, when we send when to the ↵Stefan Metzmacher2011-09-051-0/+4
| | | | | | network metze
* s3:smb2cli: disconnect the connection, if we're out of message idsStefan Metzmacher2011-09-051-1/+15
| | | | metze
* s3:smb2cli: don't use state->cli->smb2.mid++ as macro argumentStefan Metzmacher2011-09-051-1/+5
| | | | | | It gets expanded multiple times. metze
* s3-smbd: Rename reload_printers() and add documentation.Andreas Schneider2011-09-055-11/+22
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 5 17:59:47 CEST 2011 on sn-devel-104
* s3: Fix smbcontrol smbd idmap kill S-1-5-21-...Volker Lendecke2011-09-051-6/+20
| | | | | | | | | The calls to sid_to_gid and sid_to_uid create id mapping entries themselves, which makes it pretty difficult to reliably delete id mapping entries everywhere just using a SID. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 5 16:30:41 CEST 2011 on sn-devel-104
* s3: Reformat msg_idmap.c to match Samba codingVolker Lendecke2011-09-051-13/+19
|
* s3:smbd: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+1
| | | | metze
* libcli/smb: move smb2_signing.c to the toplevelStefan Metzmacher2011-09-054-145/+1
| | | | metze
* s3-spoolssd: Remove stale printers only on a valid pcap update.Andreas Schneider2011-09-051-2/+2
| | | | | | | | | load_printers() removes stale printers and we should only remove them if we have a CUPS connection and talked to cups. Else we will remove every configured printer if cups is not available. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 5 11:18:23 CEST 2011 on sn-devel-104
* s3:smb2cli: ask for a session key in smb2cli_sesssetup_send()Stefan Metzmacher2011-09-031-0/+3
| | | | | | | | | This is needed if we want to support SMB2 signing later. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 3 16:21:35 CEST 2011 on sn-devel-104
* s3-spoolss: Fix bug #8236 empty notify servername.Andreas Schneider2011-09-031-0/+9
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Sep 3 02:58:42 CEST 2011 on sn-devel-104
* Part 5 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-031-4/+21
| | | | | | | | | | (Invalid argument) Be smarter about setting default permissions when a ACL_GROUP_OBJ isn't given. Use the principle of least surprises for the user. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Sep 3 00:16:05 CEST 2011 on sn-devel-104
* Part 4 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-8/+11
| | | | | | | (Invalid argument) Be smarter about setting default permissions when a ACL_USER_OBJ isn't given. Use the principle of least surprises for the user.
* Part 3 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-7/+6
| | | | | | | | (Invalid argument) Don't call check_owning_objs() to convert ACL_USER->ACL_USER_OBJ and AC_GROUP->ACL_GROUP_OBJ for default (directory) ACLs, we do this separately inside ensure_canon_entry_valid().
* Part 2 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-0/+38
| | | | | | | (Invalid argument) Only map CREATOR_OWNER/CREATOR_GROUP to ACL_USER_OBJ/ACL_GROUP_OBJ in a default(directory) ACL set.
* Part 1 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-72/+0
| | | | | | | (Invalid argument) Remove the code I added for bug "6878 - Cannot change ACL's inherit flag". It is incorrect and causes the POSIX ACL ACL_USER_OBJ duplication.
* s3:registry: fix a debug message typoMichael Adam2011-09-021-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Sep 2 11:47:11 CEST 2011 on sn-devel-104
* s3:registry: introduce a define REGDB_CODE_VERSION and use it in regdb code.Michael Adam2011-09-022-9/+9
| | | | | This is to not use the precise code version REGDB_VERSION_V3 explicitly in the code.
* s3:registry: rename REGVE_Vx toREGDB_VERSION_Vx for consistencyMichael Adam2011-09-022-15/+15
|
* s3:registry: implement regdb_set_secdesc() with regdb_trans_do()Michael Adam2011-09-021-22/+43
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Sep 2 00:51:40 CEST 2011 on sn-devel-104
* s3:registry: implement regdb_store_values() with regdb_trans_do()Michael Adam2011-09-011-1/+26
| | | | This adds the runtime check for changed regdb format version to store_values
* s3:registry: change regdb_store_values_internal() from bool to NTSTATUS ↵Michael Adam2011-09-011-11/+15
| | | | return code
* s3:registry: use the regdb_trans_do wrapper instead of using dbwrap_trans_do ↵Michael Adam2011-09-011-18/+18
| | | | | | directly in the registry db code. This verifies the regdb format version number before the corresponding write operations.