summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-09Check error returns from strupper_m() (in all reasonable places).Jeremy Allison1-1/+3
2012-08-04s3:libsmb: add EXTENDED_SIGNATURE support in cli_tcon_andx*()Stefan Metzmacher1-0/+5
metze
2012-08-01s3:libsmb: add a optional_support helper variableStefan Metzmacher1-1/+6
metze
2012-08-01s3:libsmb: add a tcon_flags helper variableStefan Metzmacher1-1/+4
metze
2012-08-01s3:libsmb: remove unused cli_state->user_session_keyStefan Metzmacher1-19/+0
metze
2012-08-01s3:libsmb: make use of smb1cli_session_set_session_key()Stefan Metzmacher1-0/+24
metze
2012-07-24s3:libsmb: make use of cli_state_[g|s]et_tid()Stefan Metzmacher1-3/+4
metze
2012-06-12s3: Add cli_state->pw_nt_hashVolker Lendecke1-1/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-06s3-libsmb: Fix error messages to correctly mention PLAINTEXT not LMAndrew Bartlett1-6/+6
Also make all the message say the same thing. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 6 10:17:55 CEST 2012 on sn-devel-104
2012-06-05s3:libsmb: change cli_sesssetup_blob_* to use uint8_t instead of char for inbufStefan Metzmacher1-8/+8
metze
2012-06-05s3:libsmb: use inhdr instead of inbuf in tree connect related functionsStefan Metzmacher1-5/+5
metze
2012-06-05s3:libsmb: use inhdr instead of inbuf in session setup related functionsStefan Metzmacher1-34/+36
metze
2012-06-03s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes1-2/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104
2012-05-30s3:libsmb: use cli_tree_connect() instead of cli_tcon_andx()Stefan Metzmacher1-2/+2
cli_tree_connect() is more generic and uses what the server supports metze
2012-05-30s3:libsmb: fallback to SMBtcon for old serversStefan Metzmacher1-1/+15
metze
2012-05-28s3:libsmb: get rid of cli_ucs2Luk Claes1-25/+25
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
2012-05-28s3:libsmb: get rid of clisigning routinesLuk Claes1-7/+7
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_has_async_callsLuk Claes1-9/+9
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_negprotLuk Claes1-22/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_security_modeLuk Claes1-3/+3
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_gss_blobLuk Claes1-1/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_challengeLuk Claes1-5/+5
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_session_keyLuk Claes1-4/+4
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_capabilitiesLuk Claes1-2/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_protocolLuk Claes1-14/+14
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_remote_nameLuk Claes1-2/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-23Make krb5 wrapper library common so they can be used all overSimo Sorce1-1/+2
2012-04-17s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous()Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
2012-04-16s3:libsmb: fix anonymous session setups against windows serversStefan Metzmacher1-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
2012-02-28s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam1-1/+1
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...).
2012-02-27libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher1-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
2012-02-01s3-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider1-1/+1
This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
2012-01-05s3-libads Factor out a new routine ↵Andrew Bartlett1-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-20s3: Fix some False/NULL hickupsVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104
2011-11-24s3:libsmb: add cli_tree_connect() for a generic tree connectStefan Metzmacher1-0/+15
metze
2011-11-24s3:libsmb: add SMB2 support to cli_session_setup()Stefan Metzmacher1-20/+122
metze
2011-11-24s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher1-443/+7
smbXcli_conn/smbXcli_req metze
2011-11-21s3:libsmb: close fd on error in cli_connect_nb()Stefan Metzmacher1-0/+2
metze
2011-11-16Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵Stefan Metzmacher1-13/+0
for legacy dialects" This reverts commit f261ac1932ecdae925b27301aa3e907757845a85. We now handle that in cli_state_create(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 15:44:05 CET 2011 on sn-devel-104
2011-11-08s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher1-4/+30
metze
2011-11-08s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher1-1/+1
metze
2011-11-04s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher1-2/+23
W2K (at least sp4) and higher also send the server name. metze
2011-11-04s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵Stefan Metzmacher1-2/+5
(#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze
2011-11-03s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher1-1/+1
metze
2011-10-24libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
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-10-14Fix const warning.Jeremy Allison1-1/+1
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-09-28s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher1-5/+0
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
2011-09-28s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher1-3/+2
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze