summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/cliconnect.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store themStefan Metzmacher2010-03-241-1/+5
| | | | | | | | Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* ↵Stefan Metzmacher2010-03-241-1/+1
| | | | | | | | | | fields also for the client Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Explicitly handle inbuf in cli_negprot_doneVolker Lendecke2010-02-221-2/+3
|
* s3: Explicitly handle inbuf in cli_tcon_andx_doneVolker Lendecke2010-02-221-3/+6
|
* s3: Explicitly handle inbuf in cli_sesssetup_blob_doneVolker Lendecke2010-02-221-5/+4
|
* s3: Explicitly handle inbuf in cli_session_setup_guest_doneVolker Lendecke2010-02-221-5/+4
|
* s3: Add a talloc_move for the inbuf to cli_smb_recvVolker Lendecke2010-02-221-6/+10
|
* Fix bug #7079 - cliconnect gets realm wrong with trusted domains.Jeremy Allison2010-01-301-3/+22
| | | | | | | | | | | Passing NULL as dest_realm for cli_session_setup_spnego() was always using our own realm (as for a NetBIOS name). Change this to look for the mapped realm using krb5_get_host_realm() if the destination machine name is a DNS name (contains a '.'). Could get fancier with DNS name detection (length, etc.) but this will do for now. Jeremy.
* s3: Add CLI_FULL_CONNECTION_USE_CCACHEVolker Lendecke2010-01-241-0/+3
|
* s3: Add ccache use to cli_session_setup_ntlmsspVolker Lendecke2010-01-241-0/+4
|
* s3 torture: Prevent smbcli segfault when running smbtorture3 against an smbd ↵Tim Prouty2010-01-071-0/+5
| | | | with security=share
* s3: Convert cli_ulogoff to the async APIVolker Lendecke2010-01-031-14/+77
|
* s3: Convert cli_tdis to the async APIVolker Lendecke2010-01-031-13/+72
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-01-031-14/+14
|
* s3: Remove some unused codeVolker Lendecke2010-01-031-95/+0
|
* s3: Convert cli_sesssetup_ntlmssp to the async APIVolker Lendecke2010-01-031-92/+196
|
* s3: Convert cli_session_setup_kerberos to the async APIVolker Lendecke2010-01-031-83/+285
| | | | | This is still cheated, acquiring the ticket is not async yet, but the SMB part is
* s3:ntlmssp: only include ntlmssp.h where actually neededAndrew Bartlett2009-12-221-0/+1
| | | | Andrew Bartlett
* s3: Fix an error case in cli_negprotVolker Lendecke2009-12-201-0/+1
|
* s3-kerberos: only use krb5 headers where required.Günther Deschner2009-11-271-0/+1
| | | | | | | This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
* spnego: share spnego_parse.Günther Deschner2009-09-171-0/+1
| | | | Guenther
* s3:libsmb: Attempt to fix bug 6665Volker Lendecke2009-09-031-0/+6
| | | | | | Before the async libsmb rewrites, we sent tid==0 on negprot. With the rewrite, we send 0xffff. This *should* not matter, but this is one difference in the sniffs I see.
* s3/debug: make SPENGO OID list appear under one debug headerSteven Danneman2009-08-261-1/+4
|
* Fix bug #6419 - smbclient -L 127.0.0.1" displays "netbios name" instead of ↵Jeremy Allison2009-06-011-3/+26
| | | | | | | | "workgroup" Unify the handling of the sessionsetup parsing so we don't get different results when parsing a guest reply than an ntlmssp reply. Jeremy.
* s3: return proper error code in cli_smb_req_sendBo Yang2009-05-131-4/+15
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison2009-05-121-2/+2
| | | | | | should quieten some warnings with picky compilers on the buildfarm. Jeremy.
* Make cli_tcon_andx chainableVolker Lendecke2009-05-071-15/+42
|
* Make cli_session_setup_guest chainableVolker Lendecke2009-05-071-9/+31
|
* Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett2009-04-201-1/+1
|\
| * When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.Jeremy Allison2009-04-161-1/+1
| | | | | | | | Jeremy.
* | More work to adapt to merged libcli/auth function prototypesAndrew Bartlett2009-04-141-4/+5
|/
* Add a bad hack to enable level 2 oplocks in torture_open_connection_shareVolker Lendecke2009-04-061-0/+4
|
* Convert cli_tcon_andx to tevent_reqVolker Lendecke2009-04-061-54/+69
|
* Convert cli_negprot to tevent_reqVolker Lendecke2009-04-061-36/+68
|
* Convert cli_session_setup_guest to tevent_reqVolker Lendecke2009-04-061-39/+69
|
* s3:libsmb: use new simplified smb_signing code for the client sideStefan Metzmacher2009-03-231-23/+16
| | | | | | | | | | We store the seqnum/mid mapping in the cli_request structure for async requests and in the cli_state structure for sync calls. We skip the signing check for oplock requests while waiting for async requests coming in. metze
* Fix connect to port 139 only -- thanks gd for bugging me :-)Volker Lendecke2009-03-231-4/+3
|
* Convert open_socket_out_defer to tevent_reqVolker Lendecke2009-03-161-22/+37
|
* Remove pwd_cache.c, it was doing nothing. Make user_name, domain, andJeremy Allison2009-03-131-7/+28
| | | | | password talloc'ed strings within the cli_struct. Jeremy.
* Fix a smbclient segfault against security=share serversVolker Lendecke2009-03-071-3/+10
|
* s3:libsmb: remove cli_setup_signing_state() and add struct cli_state ↵Stefan Metzmacher2009-03-061-3/+1
| | | | | | | | *cli_initialise_ex() This prepares the next changes. metze
* s3:libsmb: smb signing works the same for extented and non-extended securityStefan Metzmacher2009-03-061-5/+18
| | | | | | This is only cosmetic, but it makes it easier to understand. metze
* Convert name_mangle() to use tallocVolker Lendecke2009-02-241-4/+21
|
* Do not use strlen if not necessary... :-)Volker Lendecke2009-02-101-4/+2
|
* Fix Coverity ID 870Volker Lendecke2009-02-031-0/+4
|
* Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke2009-02-011-4/+4
|
* Make cli_tcon_andx asyncVolker Lendecke2009-01-301-50/+147
|
* Make cli_session_setup_guest asyncVolker Lendecke2009-01-301-37/+103
|
* Add the strlen to push to smb_bytes_push_str, return the converted sizeVolker Lendecke2009-01-291-1/+4
| | | | | The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing.
* Decouple clistr_pull from struct cli_state->inbufVolker Lendecke2009-01-261-13/+25
|