Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-20 | s3-libsmb: use struct gensec_security directly | Andrew Bartlett | 1 | -4/+4 | |
This is rather than via a now one-element union. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-20 | s3-libcli Change krb5 smb sealing to call via gensec and gensec_gse | Andrew Bartlett | 1 | -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> | |||||
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-libsmb Make auth_ntlmssp client more generic | Andrew Bartlett | 1 | -13/+14 | |
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> | |||||
2011-12-22 | s3-auth rename auth_ntlmssp_state -> auth_generic_state | Andrew Bartlett | 1 | -1/+1 | |
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-11-24 | s3:libsmb: implement cli_state based functions on top of ↵ | Stefan Metzmacher | 1 | -10/+5 | |
smbXcli_conn/smbXcli_req metze | |||||
2011-10-21 | libcli/smb: move smb_seal.c to the toplevel | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104 | |||||
2011-10-21 | s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing code | Andrew Bartlett | 1 | -9/+15 | |
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-ntlmssp Remove auth_ntlmssp_want_feature() | Andrew Bartlett | 1 | -2/+2 | |
We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-ntlmssp Remove auth_ntlmssp_update wrapper | Andrew Bartlett | 1 | -2/+3 | |
We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-18 | s3-ntlmssp split auth_ntlmssp_client_start() into two parts | Andrew Bartlett | 1 | -5/+6 | |
This will allow it to be a wrapper around a gensec module, which requires that they options be set on a context, but before the mechanism is started. This also simplfies the callers, by moving the lp_*() calls into one place. Andrew Bartlett | |||||
2011-10-18 | ntlmssp: Move ntlmssp code to auth/ntlmssp | Andrew Bartlett | 1 | -1/+1 | |
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-08-03 | s3-ntlmssp Remove auth_ntlmssp_or_flags | Andrew Bartlett | 1 | -1/+1 | |
We now just use auth_ntlmssp_want_feature to get extra flags on the NTLMSSP context Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_update | Andrew Bartlett | 1 | -1/+2 | |
This clarifies the lifetime of the returned token. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Use auth_ntlmssp_*() functions in more places | Andrew Bartlett | 1 | -8/+9 | |
This allows auth_ntlmssp_get_ntlmssp_state() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-02 | Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share ↵ | Alban Browaeys | 1 | -1/+2 | |
via an uri Fix null deref. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 2 02:58:26 CEST 2011 on sn-devel-104 | |||||
2011-07-22 | s3:libsmb/clifsinfo: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-07-06 | s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info() | Stefan Metzmacher | 1 | -6/+26 | |
metze | |||||
2011-07-06 | s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytes | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-06-09 | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 1 | -1/+1 | |
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett | |||||
2011-05-19 | s3: Do central cli_set_error | Volker Lendecke | 1 | -9/+0 | |
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 1 | -1/+1 | |
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-trans2: only include trans2.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-16 | s3-libsmb: move smb encryption structs into own header. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-01-09 | s3: Convert enc_blob_send_receive to cli_trans() | Volker Lendecke | 1 | -34/+21 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 9 11:40:04 CET 2011 on sn-devel-104 | |||||
2010-11-14 | s3: Convert cli_get_posix_fs_info() to cli_trans() | Volker Lendecke | 1 | -46/+25 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 14 10:24:02 UTC 2010 on sn-devel-104 | |||||
2010-11-04 | s3: Remove the use of cli_send_trans from cli_get_fs_full_size_info | Volker Lendecke | 1 | -43/+27 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 4 22:08:53 UTC 2010 on sn-devel-104 | |||||
2010-09-20 | s3-build: only include async headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-05 | s3: Save the received trans2 from the inbuf in cli_trans | Volker Lendecke | 1 | -4/+5 | |
2010-07-20 | Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵ | Jeremy Allison | 1 | -1/+1 | |
contexts. Jeremy. | |||||
2010-07-20 | Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵ | Jeremy Allison | 1 | -6/+7 | |
context tallocs. Jeremy. | |||||
2010-07-20 | Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, ↵ | Jeremy Allison | 1 | -1/+1 | |
but a TokenInit one. Move to using spnego_gen_negTokenInit() instead. Jeremy | |||||
2010-05-31 | ntlmssp: Make the ntlmssp.h from source3/ a common header | Andrew Bartlett | 1 | -1/+1 | |
The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-13 | Don't set "requested_posix_capabilities" in the sync code, already done in ↵ | Jeremy Allison | 1 | -2/+0 | |
the async. Jeremy. | |||||
2010-04-13 | Split out the client unix capabilities to those the server offered, and ↵ | Jeremy Allison | 1 | -3/+15 | |
those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy. | |||||
2010-03-24 | s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them | Stefan Metzmacher | 1 | -1/+5 | |
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-02-07 | s3: Make cli_get_fs_volume_info() use cli_trans() | Volker Lendecke | 1 | -38/+21 | |
2010-02-07 | s3: Remove some unused code | Volker Lendecke | 1 | -57/+0 | |
2010-02-07 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -3/+3 | |
2009-12-22 | s3:ntlmssp: only include ntlmssp.h where actually needed | Andrew Bartlett | 1 | -0/+1 | |
Andrew Bartlett | |||||
2009-11-21 | s3: Convert cli_get_fs_attr_info to the async API | Volker Lendecke | 1 | -39/+84 | |
2009-11-17 | s3: Fix the build on Solaris | Volker Lendecke | 1 | -1/+1 | |
2009-11-16 | s3:libsmb: avoid passing a function call as function parameter | Stefan Metzmacher | 1 | -3/+3 | |
Using a helper variable makes it easier to "step" into the desired function within gdb. metze | |||||
2009-11-14 | s3: Add min_setup, min_param and min_data to cli_trans_recv | Volker Lendecke | 1 | -8/+4 | |
Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus. | |||||
2009-11-14 | s3: Convert cli_set_unix_extensions_capabilities_send to async | Volker Lendecke | 1 | -37/+79 | |
2009-11-13 | s3: Convert cli_unix_extensions_version to async | Volker Lendecke | 1 | -41/+123 | |