summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifsinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2011-12-22s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett1-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-24s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher1-10/+5
smbXcli_conn/smbXcli_req metze
2011-10-21libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher1-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-21s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing codeAndrew Bartlett1-9/+15
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_want_feature()Andrew Bartlett1-2/+2
We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_update wrapperAndrew Bartlett1-2/+3
We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18s3-ntlmssp split auth_ntlmssp_client_start() into two partsAndrew Bartlett1-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-18ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett1-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-03s3-ntlmssp Remove auth_ntlmssp_or_flagsAndrew Bartlett1-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-03s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_updateAndrew Bartlett1-1/+2
This clarifies the lifetime of the returned token. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03s3-ntlmssp Use auth_ntlmssp_*() functions in more placesAndrew Bartlett1-8/+9
This allows auth_ntlmssp_get_ntlmssp_state() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-02Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share ↵Alban Browaeys1-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-22s3:libsmb/clifsinfo: make use of cli_state_remote_name()Stefan Metzmacher1-1/+1
metze
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()Stefan Metzmacher1-6/+26
metze
2011-07-06s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytesStefan Metzmacher1-1/+1
metze
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-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-19s3: Do central cli_set_errorVolker Lendecke1-9/+0
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison1-1/+1
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-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-30s3-trans2: only include trans2.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-16s3-libsmb: move smb encryption structs into own header.Günther Deschner1-0/+1
Guenther
2011-01-09s3: Convert enc_blob_send_receive to cli_trans()Volker Lendecke1-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-14s3: Convert cli_get_posix_fs_info() to cli_trans()Volker Lendecke1-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-04s3: Remove the use of cli_send_trans from cli_get_fs_full_size_infoVolker Lendecke1-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-20s3-build: only include async headers where needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3: Save the received trans2 from the inbuf in cli_transVolker Lendecke1-4/+5
2010-07-20Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵Jeremy Allison1-1/+1
contexts. Jeremy.
2010-07-20Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵Jeremy Allison1-6/+7
context tallocs. Jeremy.
2010-07-20Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, ↵Jeremy Allison1-1/+1
but a TokenInit one. Move to using spnego_gen_negTokenInit() instead. Jeremy
2010-05-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett1-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-13Don't set "requested_posix_capabilities" in the sync code, already done in ↵Jeremy Allison1-2/+0
the async. Jeremy.
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison1-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-24s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store themStefan Metzmacher1-1/+5
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-02-07s3: Make cli_get_fs_volume_info() use cli_trans()Volker Lendecke1-38/+21
2010-02-07s3: Remove some unused codeVolker Lendecke1-57/+0
2010-02-07s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2009-12-22s3:ntlmssp: only include ntlmssp.h where actually neededAndrew Bartlett1-0/+1
Andrew Bartlett
2009-11-21s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke1-39/+84
2009-11-17s3: Fix the build on SolarisVolker Lendecke1-1/+1
2009-11-16s3:libsmb: avoid passing a function call as function parameterStefan Metzmacher1-3/+3
Using a helper variable makes it easier to "step" into the desired function within gdb. metze
2009-11-14s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke1-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-14s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke1-37/+79
2009-11-13s3: Convert cli_unix_extensions_version to asyncVolker Lendecke1-41/+123
2009-09-17spnego: share spnego_parse.Günther Deschner1-0/+1
Guenther
2009-02-12[Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman1-0/+145
- port functionality from v3_3_test to master Derrell
2009-01-26Decouple clistr_pull from struct cli_state->inbufVolker Lendecke1-2/+4
2008-08-08Add Derrick Schommer's <dschommer@F5.com> kerberos delegation patch. SomeJeremy Allison1-1/+1
work by me and advice by Love. Jeremy. (This used to be commit ecc3838e4cb5d0c0769ec6d9a34a877ca584ffcc)
2008-02-28Fix the build - don't use SMB_TRANS_ENC_GSS withoutJeremy Allison1-6/+2
KRB5. Jeremy. (This used to be commit d16c295642c3df49be02440427ded0cd9b4179f5)
2008-02-25Fix some warningsVolker Lendecke1-2/+1
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result (This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)