summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/cliconnect.c
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:libsmb: add a tcon_flags helper variableStefan Metzmacher2012-08-011-1/+4
| | | | metze
* s3:libsmb: remove unused cli_state->user_session_keyStefan Metzmacher2012-08-011-19/+0
| | | | metze
* s3:libsmb: make use of smb1cli_session_set_session_key()Stefan Metzmacher2012-08-011-0/+24
| | | | metze
* s3:libsmb: make use of cli_state_[g|s]et_tid()Stefan Metzmacher2012-07-241-3/+4
| | | | metze
* s3: Add cli_state->pw_nt_hashVolker Lendecke2012-06-121-1/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Fix error messages to correctly mention PLAINTEXT not LMAndrew Bartlett2012-06-061-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
* s3:libsmb: change cli_sesssetup_blob_* to use uint8_t instead of char for inbufStefan Metzmacher2012-06-051-8/+8
| | | | metze
* s3:libsmb: use inhdr instead of inbuf in tree connect related functionsStefan Metzmacher2012-06-051-5/+5
| | | | metze
* s3:libsmb: use inhdr instead of inbuf in session setup related functionsStefan Metzmacher2012-06-051-34/+36
| | | | metze
* s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes2012-06-031-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
* s3:libsmb: use cli_tree_connect() instead of cli_tcon_andx()Stefan Metzmacher2012-05-301-2/+2
| | | | | | cli_tree_connect() is more generic and uses what the server supports metze
* s3:libsmb: fallback to SMBtcon for old serversStefan Metzmacher2012-05-301-1/+15
| | | | metze
* s3:libsmb: get rid of cli_ucs2Luk Claes2012-05-281-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
* s3:libsmb: get rid of clisigning routinesLuk Claes2012-05-281-7/+7
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_has_async_callsLuk Claes2012-05-281-9/+9
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_negprotLuk Claes2012-05-281-22/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_security_modeLuk Claes2012-05-281-3/+3
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_gss_blobLuk Claes2012-05-281-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_challengeLuk Claes2012-05-281-5/+5
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_session_keyLuk Claes2012-05-281-4/+4
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_capabilitiesLuk Claes2012-05-281-2/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_protocolLuk Claes2012-05-281-14/+14
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_remote_nameLuk Claes2012-05-281-2/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Make krb5 wrapper library common so they can be used all overSimo Sorce2012-04-231-1/+2
|
* s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous()Stefan Metzmacher2012-04-171-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
* s3:libsmb: fix anonymous session setups against windows serversStefan Metzmacher2012-04-161-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
* s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam2012-02-281-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...).
* 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-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider2012-02-011-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.
* s3-libads Factor out a new routine ↵Andrew Bartlett2012-01-051-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>
* s3: Fix some False/NULL hickupsVolker Lendecke2011-12-201-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104
* s3:libsmb: add cli_tree_connect() for a generic tree connectStefan Metzmacher2011-11-241-0/+15
| | | | metze
* s3:libsmb: add SMB2 support to cli_session_setup()Stefan Metzmacher2011-11-241-20/+122
| | | | metze
* s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher2011-11-241-443/+7
| | | | | | smbXcli_conn/smbXcli_req metze
* s3:libsmb: close fd on error in cli_connect_nb()Stefan Metzmacher2011-11-211-0/+2
| | | | metze
* Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵Stefan Metzmacher2011-11-161-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
* s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher2011-11-081-4/+30
| | | | metze
* s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher2011-11-081-1/+1
| | | | metze
* s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher2011-11-041-2/+23
| | | | | | W2K (at least sp4) and higher also send the server name. metze
* s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵Stefan Metzmacher2011-11-041-2/+5
| | | | | | | | (#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze
* s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher2011-10-241-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
* ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett2011-10-181-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>
* Fix const warning.Jeremy Allison2011-10-141-1/+1
|
* s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck2011-10-121-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher2011-09-281-5/+0
| | | | | Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
* s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher2011-09-281-3/+2
| | | | | | | cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
* s3: Fix Coverity ID 2619: UNINITVolker Lendecke2011-09-221-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Sep 22 01:55:04 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2618: UNINITVolker Lendecke2011-09-221-0/+2
|
* s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher2011-09-151-8/+14
| | | | | | | | | cli->conn.smb1.server.{time_zone,system_time} metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 14:00:29 CEST 2011 on sn-devel-104