summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:libsmb/ntlmssp: improve anonymous loginsStefan Metzmacher2012-04-171-2/+3
| | | | | | | smbtorture3 (and maybe others) use fstrings for 'user' and 'password', so we need to check for empty strings. metze
* s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()Stefan Metzmacher2012-04-171-0/+15
| | | | metze
* s3:libsmb/ntlmssp: remove some indentation in ntlmssp_set_password()Stefan Metzmacher2012-04-171-18/+20
| | | | metze
* Revert "s3:libsmb/ntlmssp: an empty string should mean no password"Stefan Metzmacher2012-04-171-1/+1
| | | | This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d.
* s3:libsmb: fix anonymous session setups against windows serversStefan Metzmacher2012-04-161-0/+16
| | | | | | | | | | Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze
* s3:libsmb/ntlmssp: an empty string should mean no passwordStefan Metzmacher2012-04-161-1/+1
| | | | metze
* libcli/smb: move smb2cli_session_setup_*() prototypes to the code.Stefan Metzmacher2012-04-161-15/+0
| | | | metze
* clikrb5: Move pure krb wrapper functions from libads to clikrb5.Simo Sorce2012-04-121-0/+142
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-069-47/+47
| | | | | | | | | Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
* s3-krb5 Remove unused get_kvno_from_ap_req()Andrew Bartlett2012-04-031-13/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5 Remove unused get_enctype_from_ap_reqAndrew Bartlett2012-04-031-10/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()Andrew Bartlett2012-04-031-26/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused get_key_from_keytabAndrew Bartlett2012-04-031-59/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: remove unused unwrap_pac()Andrew Bartlett2012-04-031-48/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: remove unused get_auth_data_from_tktAndrew Bartlett2012-04-031-66/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused get_authtime_from_tktAndrew Bartlett2012-04-031-9/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused krb5_rd_req_return_keyblock_from_keytabAndrew Bartlett2012-04-031-55/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused get_principal_from_tktAndrew Bartlett2012-04-031-9/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Remove unused spnego_parse_krb5_wrap()Andrew Bartlett2012-04-031-44/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth: Order GENSEC mechs by priority, krb5 before NTLMSSPAndrew Bartlett2012-04-031-2/+4
| | | | | | | | | Otherwise, really simple clients (such as the current ntlm_auth gss-spnego client) will not select krb5. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Notifies should never time outVolker Lendecke2012-04-021-0/+8
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 2 12:31:17 CEST 2012 on sn-devel-104
* Make sure we claim that a DACL or SACL is present if the SD says soRichard Sharpe2012-03-311-2/+2
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 31 09:34:36 CEST 2012 on sn-devel-104
* smb2: Move smb2cli session setup code to cli_smb_common.Jelmer Vernooij2012-03-251-207/+0
|
* lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2012-03-242-2/+2
| | | | | | | | | The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
* s3: Add sync cli_notifyVolker Lendecke2012-03-222-0/+39
|
* s3-libsmb: Fix parsing a notify responseVolker Lendecke2012-03-221-1/+1
|
* s3: rename "len"->"next", according to wiresharkVolker Lendecke2012-03-221-3/+3
|
* s3-krb5: Remove GSS_WRAP_IOV conditionalAndrew Bartlett2012-03-151-1/+1
| | | | | | | We already confirm that we have this functionality before we set HAVE_KRB5 at configure time. Andrew Bartlett
* auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_stateAndrew Bartlett2012-03-091-3/+3
| | | | | | This just means there is one less pointer to ensure we initialise. Andrew Bartlett
* s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()Stefan Metzmacher2012-03-031-2/+7
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam2012-03-031-1/+2
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Initialise ticket to ensure we do not invalid memoryAndrew Bartlett2012-03-021-0/+1
| | | | | | | | | | | | The free is however a talloc_free(), which has additional protection against freeing the wrong thing. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 2 01:45:19 CET 2012 on sn-devel-104
* Move to talloc from malloc.Jeremy Allison2012-03-011-3/+7
|
* Fix mixup between talloc/malloc.Jeremy Allison2012-03-011-1/+1
|
* s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam2012-02-283-10/+4
| | | | | 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...).
* libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher2012-02-271-2/+2
| | | | | | | | | | | | | | | 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: 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-libsmb: Remove unused spnego_parse_auth_and_micAndrew Bartlett2012-02-241-40/+0
|
* s3-libsmb: Remove unused ntlmssp_server_start()Andrew Bartlett2012-02-241-121/+0
|
* s3-libsmb: Remove unused spnego functionsAndrew Bartlett2012-02-231-109/+0
|
* Fix a bunch of "unused variable" warnings.Jeremy Allison2012-02-181-4/+3
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 18 06:22:40 CET 2012 on sn-devel-104
* auth: Make more of the ntlmssp code private or staticAndrew Bartlett2012-02-171-0/+1
| | | | | | | | | | Now that there is only one gensec_ntlmssp server, some of these functions can be static For the rest, put the implemtnation of the gensec_ntlmssp code into ntlmssp_private.h Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* auth: Move the rest of the source4 gensec_ntlmssp code to the top levelAndrew Bartlett2012-02-171-6/+6
| | | | | | | | | | The ntlmssp_server code will be in common shortly, and aside from a symbol name or two, moving the client code causes no harm and makes less mess. We will also get the client code in common very soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Rename obscure defined constants.Christopher R. Hertel (crh)2012-02-162-8/+8
| | | | | | | | | | | | | | | Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
* s3-libsmb: Remove unused kerberos_set_creds_enctype()Andrew Bartlett2012-02-101-11/+0
| | | | | | | | Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-libsmb: Remove unused kerberos_compatible_enctypesAndrew Bartlett2012-02-101-10/+0
| | | | | | | | Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-libsmb: Remove unused smb_krb5_mk_error()Andrew Bartlett2012-02-101-37/+0
| | | | | | | | Also remove now-unused configure checks for krb5_mk_error(). Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-libsmb: Remove obsolete smb_krb5_locate_kdc.Andreas Schneider2012-02-091-89/+0
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 9 14:58:57 CET 2012 on sn-devel-104
* Allow a SACL to be sent in cli_set_secdesc().Jeremy Allison2012-02-021-0/+2
|
* s3-libsmb: Remove dead gssapi code.Andreas Schneider2012-02-011-112/+0
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 1 23:29:44 CET 2012 on sn-devel-104