Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-18 | s3-libsmb Use the gse_krb5 gensec module as client | Andrew Bartlett | 1 | -1/+6 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-11 | s3-libsmb: split out auth_generic client functions into auth_generic.c | Andrew Bartlett | 2 | -128/+155 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-11 | s3-librpc Rename and rework cli_rpc_pipe_open_ntlmssp() to be generic | Andrew Bartlett | 1 | -7/+9 | |
This also includes renaming the helper function rpccli_ntlmssp_bind_data, and allows this function to operate on any gensec-supplied auth type. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-10 | krb5: Require krb5_set_real_time is available to build with krb5 | Andrew Bartlett | 1 | -20/+0 | |
2012-01-10 | krb5: Require krb5_get_renewed_creds be available to build with krb5 | Andrew Bartlett | 1 | -49/+4 | |
2012-01-10 | krb5: Require krb5_get_init_creds_opt_alloc/free for build with krb5 | Andrew Bartlett | 1 | -29/+0 | |
This also assumes the modern API with a krb5_context argument. Andrew Bartlett | |||||
2012-01-10 | krb5: Require krb5_fwd_tgt_creds to be available to build with krb5 | Andrew Bartlett | 1 | -3/+3 | |
2012-01-10 | krb5: Require krb5_c_enctype_compare is available to build with krb5 | Andrew Bartlett | 1 | -4/+0 | |
2012-01-09 | s3: Remove an unused label | Volker Lendecke | 1 | -3/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 9 23:07:32 CET 2012 on sn-devel-104 | |||||
2012-01-09 | s3-libsmb: Do not look up FQDN or use host/ for krb5 encrypted CIFS | Andrew Bartlett | 1 | -12/+1 | |
This is important, as we want to use exactly the same name and ticket that the libsmb session setup code used, so we do not hit the KDC twice. For the session setup to have succeded using the default 'client use spnego principal = no', the cifs/ principal must exist anyway, so looking for host/ is pointless. The case of 'client use spnego principal = yes' was never supported here. Andrew Bartlett | |||||
2012-01-09 | s3-libsmb: match the rest of Samba3 in kerberos name selection in smb sealing | Andrew Bartlett | 1 | -17/+16 | |
This mirrors 860ad734ba77238d187520f72afcbdc1c73d94ef which in turn mirrors the behaviour of the libsmb client code at session setup time. Andrew Bartlett | |||||
2012-01-06 | s3-ntlmssp Remove unused ntlmssp_set_hashes() and do not set an invalid LM hash | Andrew Bartlett | 1 | -27/+21 | |
When E_deshash() returns false, it indicates that the password is either > 14 chars in length, or could not be represented as an LM hash value for some other reason. In this case, we should not regard the LM hash being missing as an error or a no-password situation. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 6 14:59:13 CET 2012 on sn-devel-104 | |||||
2012-01-06 | ntlmssp: merge initial packet implementations | Andrew Bartlett | 1 | -8/+21 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-06 | s3-libsmb Make auth_ntlmssp client more generic | Andrew Bartlett | 2 | -22/+48 | |
As well as renaming, this allows us to start the mech by DCE/RPC auth type or OID. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-06 | s3-libsmb Use gensec_settings to set s3 ntlmssp client backend | Andrew Bartlett | 1 | -2/+10 | |
This prepares us for making the code generic to multiple mechansims Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-05 | s3-libads Factor out a new routine ↵ | Andrew Bartlett | 1 | -36/+10 | |
kerberos_get_principal_from_service_hostname() This is now used in the GSE GSSAPI client, so that when we connect to a target server at the CIFS level, we use the same name to connect at the DCE/RPC level. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-12-22 | s3-auth rename auth_ntlmssp_state -> auth_generic_state | Andrew Bartlett | 2 | -8/+8 | |
This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-12-20 | s3: Fix some False/NULL hickups | Volker Lendecke | 2 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104 | |||||
2011-12-15 | s3-libsmb: Don't duplicate kerberos service tickets. | Andreas Schneider | 1 | -5/+0 | |
This fixes bug #8628. Each time we do a client connection. Each time we call to function to get the service ticket from the cache we duplicate it. So with each connection we end up with one or three duplicated tickets. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Dec 15 19:30:42 CET 2011 on sn-devel-104 | |||||
2011-12-04 | Revert fac5c654e2fe17c2c11d150b16088e8a51f6be20 | Jeremy Allison | 1 | -68/+19 | |
s3: Add a fallback for missing open&x support in OS/X Lion This is now done inside the synchronous cli_open() wrapper function. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Dec 4 08:19:31 CET 2011 on sn-devel-104 | |||||
2011-12-03 | Move the callers that need to use the new cli_open() back to calling | Jeremy Allison | 1 | -2/+2 | |
it from cli_openx(). | |||||
2011-12-03 | Add cli_open() back as a synchronous wrapper function the calls | Jeremy Allison | 2 | -0/+116 | |
NtCreateX followed by openX() if NtCreateX is unsupported. | |||||
2011-12-03 | Rename cli_open -> cli_openx. Prelude to replacing generic cli_open() | Jeremy Allison | 3 | -25/+25 | |
with a call that uses NTCreateX in preference to OpenAndX. | |||||
2011-12-02 | s3: Use autogenerated open_files.idl | Volker Lendecke | 1 | -0/+30 | |
2011-12-02 | Ensure we map our own Samba return of ERRSRV, ERRunknownsmb | Jeremy Allison | 1 | -0/+1 | |
on an unknown SMB request to NT_STATUS_NOT_IMPLEMENTED. | |||||
2011-12-01 | After a discussion with Volker, sdd a backup_intent state to the client struct. | Jeremy Allison | 4 | -4/+20 | |
This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state. | |||||
2011-11-25 | s3: Add some const | Volker Lendecke | 1 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104 | |||||
2011-11-24 | s3:smb2cli: zero tid in smb2cli_tdis* | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2011-11-24 | s3:smb2cli: free session in smb2cli_logoff* | Stefan Metzmacher | 1 | -1/+7 | |
metze | |||||
2011-11-24 | s3:libsmb: make use of cli_tree_connect() | Stefan Metzmacher | 3 | -9/+11 | |
metze | |||||
2011-11-24 | s3:libsmb: add cli_tree_connect() for a generic tree connect | Stefan Metzmacher | 2 | -0/+17 | |
metze | |||||
2011-11-24 | s3:smb2cli: remove unused smb2cli_sesssetup_ntlmssp* | Stefan Metzmacher | 2 | -213/+0 | |
metze | |||||
2011-11-24 | s3:libsmb: add SMB2 support to cli_session_setup() | Stefan Metzmacher | 1 | -20/+122 | |
metze | |||||
2011-11-24 | s3:libsmb: implement cli_trans* on top of smb1cli_trans* | Stefan Metzmacher | 1 | -687/+120 | |
metze | |||||
2011-11-24 | s3:smb2cli: remove unused smb2cli_negprot() | Stefan Metzmacher | 2 | -32/+0 | |
metze | |||||
2011-11-24 | s3:smb2cli: pass struct smbXcli_conn directly to smb2cli_req_create/_send() | Stefan Metzmacher | 8 | -75/+15 | |
metze | |||||
2011-11-24 | s3:libsmb: implement cli_state based functions on top of ↵ | Stefan Metzmacher | 10 | -1633/+243 | |
smbXcli_conn/smbXcli_req metze | |||||
2011-11-24 | s3:smb2cli: add forward declaration for struct cli_state | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-11-24 | s3:smb2cli: make smb2cli_session_setup_send/recv non-static | Stefan Metzmacher | 2 | -5/+23 | |
metze | |||||
2011-11-24 | s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵ | Stefan Metzmacher | 9 | -65/+176 | |
signing metze | |||||
2011-11-24 | s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot() | Stefan Metzmacher | 2 | -151/+15 | |
metze | |||||
2011-11-24 | smbXcli: pass client_guid to smbXcli_conn_create() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-11-24 | s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c ↵ | Stefan Metzmacher | 2 | -780/+35 | |
code metze | |||||
2011-11-21 | s3:libsmb: close fd on error in cli_connect_nb() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-11-18 | s3:libsmb: verify num_setup for SMBnttrans in cli_pull_trans() | Stefan Metzmacher | 1 | -0/+4 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 18 15:13:52 CET 2011 on sn-devel-104 | |||||
2011-11-18 | s3:libsmb: fix compiler warning in cli_pull_trans() | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2011-11-18 | s3:libsmb: only align unicode pipe_name (bug #8586) | Stefan Metzmacher | 1 | -7/+11 | |
metze | |||||
2011-11-16 | s3-libsmb/passchange.c: remove some cli_nt_error() calls | Björn Baumbach | 1 | -2/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 20:36:11 CET 2011 on sn-devel-104 | |||||
2011-11-16 | s3-libsmb/clidfs.c: remove cli_nt_error() | Björn Baumbach | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-16 | s3-libsmb: introduce option to disable dos error mapping | Björn Baumbach | 2 | -1/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> |