summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libcli/smb: maintain smb2.should_sign on smbXcli_req_stateStefan Metzmacher2012-07-231-26/+11
| | | | metze
* libcli/smb: make use of SMB2_HDR_BODY as header sizeStefan Metzmacher2012-07-231-1/+1
| | | | metze
* libcli/smb: parse the SMB2_TRANSFORM header and decrypt the SMB2 pduStefan Metzmacher2012-07-231-0/+63
| | | | metze
* libcli/smb: create 4 iovecs per request in smb2cli_inbuf_parse_compound()Stefan Metzmacher2012-07-231-16/+25
| | | | | | The first one might hold the SMB2_TRANSFORM Header later. metze
* libcli/smb: prepare [en|de]cryption_key for SMB3Stefan Metzmacher2012-07-231-0/+65
| | | | metze
* libcli/smb: copy the application_key in smb2cli_session_create_channel()Stefan Metzmacher2012-07-231-0/+6
| | | | metze
* libcli/smb: check the buffer length in smbXcli_negprot_dispatch_incoming()Stefan Metzmacher2012-07-231-1/+8
| | | | metze
* libcli/smb: only pass the smb2 buffer to smb2cli_inbuf_parse_compound()Stefan Metzmacher2012-07-231-12/+12
| | | | | | We should hide the transport as much as possible. metze
* libcli/smb: add smb2_signing_[en|e]crypt_pdu()Stefan Metzmacher2012-07-232-0/+141
| | | | metze
* libcli/smb: construct the signing_key before forming the messageStefan Metzmacher2012-07-231-31/+31
| | | | metze
* lib/crypto: add aes_ccm_128Stefan Metzmacher2012-07-235-2/+227
| | | | metze
* libcli/smb: add SMB2_SESSION_FLAG_ENCRYPT_DATAStefan Metzmacher2012-07-231-0/+1
| | | | metze
* libcli/smb: add SMB2_TRANSFORM macrosStefan Metzmacher2012-07-231-0/+15
| | | | metze
* s3:test_smb2: copy the session_channel from the primary channel.Stefan Metzmacher2012-07-231-1/+1
| | | | metze
* s3:smb2_tcon: reject access to shares mark as "smb encrypt = required"Stefan Metzmacher2012-07-231-0/+8
| | | | | | We do not support SMB2 transport encryption yet. metze
* s3-winbind: Fix idmap initialization debug message.Guenther Deschner2012-07-232-2/+2
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jul 23 18:19:00 CEST 2012 on sn-devel-104
* s3:smbd: if a fsp has fsp->deferred_close, clients shouldn't be able to use itStefan Metzmacher2012-07-231-2/+18
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jul 23 16:22:03 CEST 2012 on sn-devel-104
* s4-classicupgrade: Add unix attributes during upgradeGeza Gemes2012-07-221-1/+108
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Jul 22 13:20:20 CEST 2012 on sn-devel-104
* s4 rfc2307 gids mapping fixSergey Urushkin2012-07-221-7/+8
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Use ippGet/ippSet (accessors) for IPP API.Jiri Popelka2012-07-202-176/+259
| | | | | | | | | | | | | | CUPS 1.6 makes various structures private and introduces these ippGet and ippSet functions for all of the fields in these structures. http://www.cups.org/str.php?L3928 We define our own accessors when CUPS < 1.6. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 22:35:55 CEST 2012 on sn-devel-104
* Remove source3/lib/pidfile.cJeremy Allison2012-07-204-101/+1
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 03:57:20 CEST 2012 on sn-devel-104
* Move everything to use the common pidfile functions.Jeremy Allison2012-07-198-13/+20
| | | | The extra code in source3/lib/pidfile.c is no longer needed.
* Fix the configure build - add lib/util/pidfile.o into UTIL_OBJ.Jeremy Allison2012-07-191-1/+1
|
* Make the s3 pidfile use the common code inside lib/util/pidfile.cJeremy Allison2012-07-195-141/+31
|
* Add debugs to functions. Add pidfile_unlink().Jeremy Allison2012-07-192-0/+25
|
* Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison2012-07-1915-29/+49
|
* s3-param: Remove special case for lp_ctdbd_socket(), set CTDB_PATH as defaultAndrew Bartlett2012-07-192-13/+6
| | | | | | | | | | | | | | | This changes the default based on the #ifdef rather than an override on a parameter value of "" The less special override functions we have the easier it is to merge the loadparm tables. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 09:56:01 CEST 2012 on sn-devel-104
* lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett2012-07-195-26/+14
|
* s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2012-07-198-41/+32
| | | | | | | | | This allows this parameter, one of the few with differing declarations between the loadparm systems, to be brought into common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s4-param: Remove unused "idmap trusted only"Andrew Bartlett2012-07-192-18/+0
| | | | | | | | | When we revamp the idmap layer, we will end up just following the s3 options, and this option is not used there either. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Add my copyrightAndrew Bartlett2012-07-191-0/+1
|
* lib/param: bring lp_time_server() into commonAndrew Bartlett2012-07-193-2/+1
|
* s3-auth Use correct RID for domain guests primary groupAndrew Bartlett2012-07-191-1/+1
| | | | | | | | | | | This was incorrect in commit 9dd7e7fc2d6d1aa7f3c3b741ac134e087ce808fd as the RID was from the BUILTIN domain, but this creates a guest account token for the real domain. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 05:56:28 CEST 2012 on sn-devel-104
* s3-rpc_server: Remove make_server_info_info3() call from ↵Andrew Bartlett2012-07-191-52/+3
| | | | | | | | | | | | | make_server_pipes_struct() This codepath would only be executed if we provided a partial session_info token across the named pipe forwarding code. The smbd file server always fills this in, and if the ntvfs file server ever wants to use an smbd hosted pipe, it can do the same. Calling create_local_token is always the wrong thing to do. Andrew Bartlett
* auth/credentials: Remove extra newlineAndrew Bartlett2012-07-191-1/+1
|
* selftest: Run unix.whomai against the machine acccount as wellAndrew Bartlett2012-07-191-0/+2
| | | | | | This shows that the machine account got an extra SID in the token for domain users. Andrew Bartlett
* Revert "s3:auth make sure the primary group sid is usable"Andrew Bartlett2012-07-191-30/+13
| | | | | | | | | | | | | | | This reverts commit 00089fd74af740f832573d904312854e494a869e. The issue with this patch, which I did sign off on, is that for the domain member case, we already know that the SID is reasonable and valid, and we indeed rely on that, because we keep it as an additonal group anyway. The primary group is not so special that we need to do extra validation. Calling this function may put a user into the domain 'domain users' group, even if they are not in that group to start with. Andrew Bartlett
* s4-torture: Move check of map-to-guest above SID list checkAndrew Bartlett2012-07-191-13/+13
| | | | | | This makes it easier to interpret failing output. Andrew Bartlett
* s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett2012-07-193-16/+63
| | | | | | | | | | | This compares only the domain SIDs betwen the two servers, rather than the full token, as well known and other SIDs may be added locally in both cases. This also expands the test environments this is run against to verify this between our AD server and domain members. Andrew Bartlett
* s4-torture: Also print GID values in whoami testAndrew Bartlett2012-07-191-0/+3
|
* torture: Print SIDs as additional debug output in unix.whoamiChristof Schmitt2012-07-191-0/+4
|
* s3-aio: Panic if we try to close a fsp with outstanding aio requestsVolker Lendecke2012-07-193-18/+15
| | | | | | | | | | | The core smbd must have taken care of this. If we don't do this properly, we have a race of the close(2) against a pwrite(2). We might end up writing to the wrong file. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jul 19 03:40:17 CEST 2012 on sn-devel-104
* s3-smb2: Postpone close_file until all aio is handledVolker Lendecke2012-07-181-0/+52
| | | | | | Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-smb1: Postpone close_file until all aio is handledVolker Lendecke2012-07-183-1/+95
| | | | | | Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add tevent_wait_send/recvVolker Lendecke2012-07-184-0/+122
| | | | | | | To me it seems that we might have this functionality already somewere... I just can't find it. Metze, do you have an idea? Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Slightly simplify reply_close()Volker Lendecke2012-07-181-25/+13
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Compile with pthreadpool by defaultVolker Lendecke2012-07-182-6/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* config: The AIO engine is indepent of HAVE_AIO nowVolker Lendecke2012-07-183-30/+31
| | | | | | | | | Compile the basic aio engine always, it works via libasys/pthreadpool_sync in a sync fashion even if no pthreads are around. Everything else (linux aio, posix aio, aio fork) is now compiled as modules based on specific system capabilities Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add aio_fsync to the aio_linux moduleVolker Lendecke2012-07-181-0/+44
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add aio_fsync to the aio_fork moduleVolker Lendecke2012-07-181-1/+112
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>