summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s3-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider2012-02-013-2/+3
| | | | | | This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
* libcli/smb: Convert struct smb_trans_enc_state to tallocAndrew Bartlett2012-01-311-25/+7
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Remove unused enum smb_trans_enc_typeAndrew Bartlett2012-01-311-4/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Use gensec_spnego in smb seal clientAndrew Bartlett2012-01-311-41/+6
| | | | | | | | | This is intead of the inline, manual spnego code currently in use. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb/auth_generic: make use of gensec_spnego in the clientStefan Metzmacher2012-01-311-4/+9
| | | | metze
* s3-libsmb Do not limit read replies to NBT packet sizesAndrew Bartlett2012-01-271-1/+1
| | | | | | | | | | With the posix extensions, we can read 16MB at a time, so we need to check the full size of the packet, not the size rounded down to the old NBT limit. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-libsmb: use struct gensec_security directlyAndrew Bartlett2012-01-201-4/+4
| | | | | | | | This is rather than via a now one-element union. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libcli Change krb5 smb sealing to call via gensec and gensec_gseAndrew Bartlett2012-01-201-96/+50
| | | | | | | | | This also fixes the support for smb sealing with krb5 in make test, as this now relies on secrets.tdb rather than /etc/krb5.keytab. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc: pass struct ndr_interface_table down to ↵Andrew Bartlett2012-01-181-1/+1
| | | | | | | | | | | cli_pipe_open_generic/spnego() This allows the target service (as determined from the IDL) to be passed to GSSAPI (rather than the current, incorrect, "cifs"). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>