summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
AgeCommit message (Collapse)AuthorFilesLines
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-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-03-24s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* ↵Stefan Metzmacher1-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>
2010-02-22s3: Explicitly handle inbuf in cli_negprot_doneVolker Lendecke1-2/+3
2010-02-22s3: Explicitly handle inbuf in cli_tcon_andx_doneVolker Lendecke1-3/+6
2010-02-22s3: Explicitly handle inbuf in cli_sesssetup_blob_doneVolker Lendecke1-5/+4
2010-02-22s3: Explicitly handle inbuf in cli_session_setup_guest_doneVolker Lendecke1-5/+4
2010-02-22s3: Add a talloc_move for the inbuf to cli_smb_recvVolker Lendecke1-6/+10
2010-01-30Fix bug #7079 - cliconnect gets realm wrong with trusted domains.Jeremy Allison1-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.
2010-01-24s3: Add CLI_FULL_CONNECTION_USE_CCACHEVolker Lendecke1-0/+3
2010-01-24s3: Add ccache use to cli_session_setup_ntlmsspVolker Lendecke1-0/+4
2010-01-07s3 torture: Prevent smbcli segfault when running smbtorture3 against an smbd ↵Tim Prouty1-0/+5
with security=share
2010-01-03s3: Convert cli_ulogoff to the async APIVolker Lendecke1-14/+77
2010-01-03s3: Convert cli_tdis to the async APIVolker Lendecke1-13/+72
2010-01-03s3: Fix some nonempty blank linesVolker Lendecke1-14/+14
2010-01-03s3: Remove some unused codeVolker Lendecke1-95/+0
2010-01-03s3: Convert cli_sesssetup_ntlmssp to the async APIVolker Lendecke1-92/+196
2010-01-03s3: Convert cli_session_setup_kerberos to the async APIVolker Lendecke1-83/+285
This is still cheated, acquiring the ticket is not async yet, but the SMB part is
2009-12-22s3:ntlmssp: only include ntlmssp.h where actually neededAndrew Bartlett1-0/+1
Andrew Bartlett
2009-12-20s3: Fix an error case in cli_negprotVolker Lendecke1-0/+1
2009-11-27s3-kerberos: only use krb5 headers where required.Günther Deschner1-0/+1
This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
2009-09-17spnego: share spnego_parse.Günther Deschner1-0/+1
Guenther
2009-09-03s3:libsmb: Attempt to fix bug 6665Volker Lendecke1-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.
2009-08-26s3/debug: make SPENGO OID list appear under one debug headerSteven Danneman1-1/+4
2009-06-01Fix bug #6419 - smbclient -L 127.0.0.1" displays "netbios name" instead of ↵Jeremy Allison1-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.
2009-05-13s3: return proper error code in cli_smb_req_sendBo Yang1-4/+15
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-12Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison1-2/+2
should quieten some warnings with picky compilers on the buildfarm. Jeremy.
2009-05-07Make cli_tcon_andx chainableVolker Lendecke1-15/+42
2009-05-07Make cli_session_setup_guest chainableVolker Lendecke1-9/+31
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett1-1/+1
2009-04-16When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.Jeremy Allison1-1/+1
Jeremy.
2009-04-14More work to adapt to merged libcli/auth function prototypesAndrew Bartlett1-4/+5
2009-04-06Add a bad hack to enable level 2 oplocks in torture_open_connection_shareVolker Lendecke1-0/+4
2009-04-06Convert cli_tcon_andx to tevent_reqVolker Lendecke1-54/+69
2009-04-06Convert cli_negprot to tevent_reqVolker Lendecke1-36/+68
2009-04-06Convert cli_session_setup_guest to tevent_reqVolker Lendecke1-39/+69
2009-03-23s3:libsmb: use new simplified smb_signing code for the client sideStefan Metzmacher1-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
2009-03-23Fix connect to port 139 only -- thanks gd for bugging me :-)Volker Lendecke1-4/+3
2009-03-16Convert open_socket_out_defer to tevent_reqVolker Lendecke1-22/+37
2009-03-13Remove pwd_cache.c, it was doing nothing. Make user_name, domain, andJeremy Allison1-7/+28
password talloc'ed strings within the cli_struct. Jeremy.
2009-03-07Fix a smbclient segfault against security=share serversVolker Lendecke1-3/+10
2009-03-06s3:libsmb: remove cli_setup_signing_state() and add struct cli_state ↵Stefan Metzmacher1-3/+1
*cli_initialise_ex() This prepares the next changes. metze
2009-03-06s3:libsmb: smb signing works the same for extented and non-extended securityStefan Metzmacher1-5/+18
This is only cosmetic, but it makes it easier to understand. metze
2009-02-24Convert name_mangle() to use tallocVolker Lendecke1-4/+21
2009-02-10Do not use strlen if not necessary... :-)Volker Lendecke1-4/+2
2009-02-03Fix Coverity ID 870Volker Lendecke1-0/+4
2009-02-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke1-4/+4
2009-01-30Make cli_tcon_andx asyncVolker Lendecke1-50/+147
2009-01-30Make cli_session_setup_guest asyncVolker Lendecke1-37/+103
2009-01-29Add the strlen to push to smb_bytes_push_str, return the converted sizeVolker Lendecke1-1/+4
The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing.