summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:torture/test_smb2: test path based calls during reauth in SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-3/+51
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 07:23:14 CET 2012 on sn-devel-104
* s3:torture/test_smb2: test handle based calls during reauth in ↵Stefan Metzmacher2012-02-291-0/+18
| | | | | | SMB2-MULTI-CHANNEL metze
* s3:torture/test_smb2: do a reauth over multiple channels in SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-0/+100
| | | | metze
* s3:torture/test_smb2: add a 3rd channel to SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-1/+154
| | | | metze
* s3:torture/test_smb2: expect FILE_CLOSED on invalid handles in ↵Stefan Metzmacher2012-02-291-2/+4
| | | | | | SMB2-MULTI-CHANNEL metze
* lib/crypto: add aes_cmac_128* (rfc 4493)Stefan Metzmacher2012-02-291-1/+2
| | | | | | Thanks to Jeremy, Michael and Volker for the debugging! metze
* s3: Introduce "req" helper var in reply_lockingX_successVolker Lendecke2012-02-291-3/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 03:08:53 CET 2012 on sn-devel-104
* s3: Fix a const warningVolker Lendecke2012-02-291-1/+1
|
* s3: Add a test that makes a chained open break an oplockVolker Lendecke2012-02-296-0/+299
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
* s3: More fix for smbd -iVolker Lendecke2012-02-281-1/+1
| | | | | We need a full re-initialize, otherwise we don't re-init the USR1 signal handler
* Fix problem reported by Tom Lee <tlee2951@gmail.com> - when calculatingJeremy Allison2012-02-281-3/+28
| | | | | | | | the share security mask, take priviliges into account for the connecting user. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 28 20:21:26 CET 2012 on sn-devel-104
* smbd: detect EOF on stdin in --foreground modeAndrew Tridgell2012-02-281-0/+25
| | | | if EOF is detected on stdin then exit
* s3:torture/test_smb2: test a tree_connect during reauthStefan Metzmacher2012-02-281-0/+17
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 28 06:58:44 CET 2012 on sn-devel-104
* s3:torture/test_smb2: check directory listing during reauthStefan Metzmacher2012-02-281-0/+72
| | | | metze
* s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam2012-02-284-16/+12
| | | | | We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...).
* s3-winbindd: Close netlogon connection if the status returned by the ↵Matthieu Patou2012-02-271-1/+20
| | | | | | | | | | | | | NetrSamLogonEx call is timeout in the pam_auth_crap path If not the child process would hang for quite a long time up to the moment when the connection is cleaned by the kernel (took ~ 20 minutes) in my tests. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 27 23:10:03 CET 2012 on sn-devel-104
* s3:torture/test_smb2: show that a session is not valid for path based calls ↵Stefan Metzmacher2012-02-271-0/+16
| | | | | | | | | during reauth metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 27 16:29:02 CET 2012 on sn-devel-104
* s3:torture/test_smb2: show that a session is valid during a multi-leg reauthStefan Metzmacher2012-02-271-0/+6
| | | | metze
* s3:torture/test_smb2: fix missleading file name in reauth testStefan Metzmacher2012-02-271-1/+1
| | | | metze
* libcli/smb/smb2_signing: pass down 'protocol' to smb2_signing_[sign|check]_pdu()Stefan Metzmacher2012-02-271-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 27 14:26:32 CET 2012 on sn-devel-104
* libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher2012-02-272-12/+12
| | | | | | | | | | | | | | | signing_key The signing_key is fix across all channels and is used for session setups on a channel binding. Note: - the last session setup response is signed with the new channel signing key. - the reauth session setups are signed with the channel signing key. It's also not needed to remember the main session key. metze
* s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()Stefan Metzmacher2012-02-271-6/+0
| | | | | | | smb2cli_session_set_session_key() already checks the signature and that function really knows the signing key. metze
* s3:torture/test_smb2: a reauth doesn't update the session/signing keyStefan Metzmacher2012-02-271-17/+0
| | | | metze
* dbwrap: changed log level for information about lock orderAndrew Tridgell2012-02-271-1/+1
| | | | | | | | | we were filling our logs with lock ordering debug lines Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 27 12:50:29 CET 2012 on sn-devel-104
* s3-selftest: avoid running LOCAL- tests twiceAndrew Bartlett2012-02-271-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 27 09:07:59 CET 2012 on sn-devel-104
* s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett2012-02-276-24/+45
| | | | | | | | | | This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett
* s3: Remove pointless parenthesesVolker Lendecke2012-02-261-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 26 11:10:15 CET 2012 on sn-devel-104
* s3-configure: Add CFLAGS_APPEND variableVolker Lendecke2012-02-261-1/+1
| | | | | | | | This makes it possible to add some CFLAGS to the end of the CFLAGS list. I use it for adding -Wno-unused-value when compiling with clang. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 26 01:21:49 CET 2012 on sn-devel-104
* s3: Use the correct enum valuesVolker Lendecke2012-02-251-3/+3
| | | | | | | wbcIdType and id_type have the same values, but different names Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Feb 25 23:46:36 CET 2012 on sn-devel-104
* s3: Fix a typoVolker Lendecke2012-02-251-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Feb 25 11:16:41 CET 2012 on sn-devel-104
* s3: Fix bug 8777, sys_statvfs() wrapper support for OpenBSD/FreeBSD/DragonFlyBrad Smith2012-02-253-5/+50
|
* s3-auth rename vuid_serverinfo to session_infoAndrew Bartlett2012-02-251-8/+8
| | | | | | | | | This matches the name used elsewhere in the code. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Feb 25 05:24:19 CET 2012 on sn-devel-104
* Move dptr code over to TALLOC.Jeremy Allison2012-02-251-18/+9
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 25 03:50:24 CET 2012 on sn-devel-104
* Make dptr_path() and dptr_wcard() const.Jeremy Allison2012-02-243-7/+5
|
* Fix const warnings.Jeremy Allison2012-02-241-2/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 24 23:10:56 CET 2012 on sn-devel-104
* Remove unused function.Jeremy Allison2012-02-241-21/+0
|
* s3: Simplify smb_splice_chainVolker Lendecke2012-02-241-16/+13
| | | | | | | | No code change, just remove a {} block left over as the else branch from the previous commit Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Feb 24 18:07:48 CET 2012 on sn-devel-104
* s3: Simplify smb_splice_chainVolker Lendecke2012-02-241-12/+2
| | | | | first_request won't be true anymore, we always splice fully existing records in smbd
* s3: Simplify smb_splice_chainVolker Lendecke2012-02-241-13/+2
| | | | With the last commit, bytes_padding is not set anymore
* s3: Simplify smb_splice_chainVolker Lendecke2012-02-241-7/+1
| | | | | bytes_alignment used to be used in libsmb, which uses different code now
* s3: Simplify smb_splice_chainVolker Lendecke2012-02-241-25/+11
| | | | | | We use it in smbd/process.c only now. This only splices in finished buffers, both callers used the same arguments. Pull that into the routine itself.
* s3: Turn some SMB_ASSERTS into proper returnVolker Lendecke2012-02-241-2/+6
| | | | We deal with the error properly further up
* s3: Fix a DEBUG msgVolker Lendecke2012-02-241-1/+1
|
* s3-libsmb: Remove unused spnego_parse_auth_and_micAndrew Bartlett2012-02-242-42/+0
|
* s3-selftest: Verify GK and GF flag behaviourAndrew Bartlett2012-02-241-0/+26
| | | | | | | | | | At least this ensures that the helper has not crashed, it will require a little more to ensure that the values are correct. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 24 03:53:38 CET 2012 on sn-devel-104
* s3-selftest: run ntlm_auth against winbindd in make testAndrew Bartlett2012-02-243-6/+15
|
* s3-libsmb: Remove unused ntlmssp_server_start()Andrew Bartlett2012-02-241-121/+0
|
* s3-ntlm_auth: Convert ntlm_auth to use gensec_ntlmssp server-sideAndrew Bartlett2012-02-241-99/+327
| | | | | | | This uses the common gensec_ntlmssp server code for ntlm_auth, removing the last non-gensec use of the NTLMSSP server. Andrew Bartlett
* s3-auth: Provide helper routine to check password and return session_infoAndrew Bartlett2012-02-242-0/+31
|
* auth: Rename some elements of auth4_contextAndrew Bartlett2012-02-241-3/+3
| | | | | | These operate on NTLM authentication, so make that clear. Andrew Bartlett